Fejl i /etc/network/interfaces ?
'# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet dhcp
auto eth0:0
iface eth0:0 inet static
address 10.0.0.2
netmask 255.255.255.0
Hvad gør jeg fejl?
Fejlmedeelse:
:~# /etc/init.d/networking restart
Reconfiguring network interfaces: /etc/network/interfaces:1: misplaced option
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:1: misplaced option
ifup: couldn't read interfaces file "/etc/network/interfaces"
done.
Det er meningen at jeg skal have en dynamisk og en statisk(lokal) ip på 1 netkort