Code: Select all
iface eth0 inet static
address 192.168.30.97
netmask 255.255.255.0
gateway 192.168.30.200
dns-nameservers 192.168.30.96
dns-domain jit.local
dns-search jit.local
Code: Select all
domain jit.local
search jit.local
nameserver 192.168.30.96
I have removed all DHCP packages
Code: Select all
aptitude purge dhcp3-client dhcp3-common isc-dhcp-client isc-dhcp-common
I would prefer to not use /etc/resolv.conf as I hear other applications can mess with the file.
No other files exists like:
/etc/dhclient.conf
/etc/dhcp/dhclient.conf
/etc/dhcp3/dhclient.conf
where statements supersede can be used.
ifup eth0 returns: "ifup: interface eth0 already configured"
I read you need to install resolvconf in order to have the dns-nameservers line processed in /etc/network/interfaces, which I don't wont to do unless I have no choice.
Any ideas on what to try next?
Thanks.