On Tue, Mar 29, 2016 at 02:10:08PM +0100, Tony van der Hoff wrote:
On 29/03/16 14:00, Brian wrote:On Tue 29 Mar 2016 at 13:37:19 +0100, Tony van der Hoff wrote:On 29/03/16 12:58, pedantsunited wrote:On Tue 29 Mar 2016 at 11:14:56 +0100, Tony van der Hoff wrote: Any chance of seeing /e/n/i?Not until you explain what you're talking about/etc/network/interfacesAh, OK: # The loopback network interface auto lo iface lo inet loopback # The primary network interface #allow-hotplug eth0 auto eth0 iface eth0 inet static address 192.168.1.7 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 ## up ip addr add dev eth0 2001:8b0:ff60:6a91::7 ## up ip route add default via fe80::1 dev eth0 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.1.1 2001:8b0:ff60:6a90:5a8b:f3ff:fede:839c dns-search magpieway.net auto eth1 iface eth1 inet static address 192.168.2.8 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255 gateway 192.168.1.1 up ip addr add dev eth1 2001:8b0:ff60:6a91::8 up ip route add default via fe80::1 dev eth0
The RTNETLINK message is probably related to these lines. You've told ifupdown that, when eth1 comes up, an address and route should be added. However, you've not told it to remove those when the interface is taken down. So, when you restart networking, the 'up' lines are run again and there is a conflict.
Try adding: pre-down ip addr del dev eth0 2001:8db:ff60:6a91::8/<something> pre-down ip route del default
# dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.1.1 dns-search magpieway.net -- Tony van der Hoff | mailto:t...@vanderhoff.org Buckinghamshire, England |
-- For more information, please reread.
signature.asc
Description: PGP signature