I want to configure my eth1 connection (as static), here is the interfaces file I have written to do so
Code: Select all
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
allow-hotplug eth1
iface eth1 inet static
address 192.168.100.109
netmask 255.255.255.0
# network 192.168.100.0
# broadcast 192.168.100.255
gateway 192.168.100.1
# up route add -net 192.168.100.0 netmask 255.255.255.0 dev eth1
# up route add default gateway 192.168.100.1 dev eth1
dns-nameservers 10.10.10.7
dns-domain algerian-radio.dz
Any ideas of what I'm doing wrong ?
Thanks for any help.