Dick Thomas wrote:
> # The primary network interface
> #allow-hotplug eth0
> #iface eth0 inet dhcp
>
> allow-hotplug eth0
> iface eth0 inet static
> address 192.168.0.100
> netmask 255.255.255.0
> gateway 192.168.0.1
> dns-nameservers 8.8.8.8
> dns-nameservers 8.8.4.4
The resolvconf(8) documentation says:
To add nameserver addresses, add a single line beginning with
dns-nameservers.
dns-nameservers 192.168.1.254 8.8.8.8
Therefore you should only use a *single line* to list the nameservers.
Might work but I recommend to follow the documentation when there
isn't a reason to do something different.
> iface eth0 inet6 static
> address 2a01:348:6:xxxx::
> netmask 64
I am unfamilar with IPv6. Is that really needed?
> would changing interfaces to this work?
> ...
> # The primary network interface
> #allow-hotplug eth0
> #iface eth0 inet dhcp
>
> auto br0
> iface br0 inet static
> address 192.168.0.100
> netmask 255.255.255.0
> gateway 192.168.0.1
> dns-nameservers 8.8.8.8
> dns-nameservers 8.8.4.4
> bridge_ports eth0
> bridge_stp on
> bridge_maxwait 0
> bridge_fd 0
Here is what I am using on one of my machines:
iface eth0 inet manual
auto br0
iface br0 inet static
address 172.17.17.208
netmask 255.255.240.0
gateway 172.17.16.1
dns-search example.com
dns-nameservers 172.17.17.210 172.17.17.211
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
With the exception of changing the domain name the above is a verbatim
cut-n-paste from a working machine here.
Bob
Attachment:
signature.asc
Description: Digital signature