Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #166107
| From | Darac Marjal <mailinglist@darac.org.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: restarting network |
| Date | 2016-03-30 18:40 +0200 |
| Message-ID | <rirk0-87s-45@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <rhYUF-4CQ-5@gated-at.bofh.it> <ri0ts-5GO-11@gated-at.bofh.it> <ri16a-6dv-13@gated-at.bofh.it> <ri1zc-6Hc-11@gated-at.bofh.it> <ri1IT-6LW-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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/interfaces >> > >Ah, 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:tony@vanderhoff.org >Buckinghamshire, England | > -- For more information, please reread.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-28 11:50 +0200
Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-28 15:40 +0200
Re: restarting network Joe <joe@jretrading.com> - 2016-03-28 20:50 +0200
Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-28 21:10 +0200
Re: restarting network Joe <joe@jretrading.com> - 2016-03-28 21:50 +0200
Re: restarting network Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-03-28 23:30 +0200
Re: restarting network "Andrew M.A. Cater" <amacater@galactic.demon.co.uk> - 2016-03-29 00:10 +0200
Re: restarting network Joe <joe@jretrading.com> - 2016-03-29 09:30 +0200
Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 09:50 +0200
Re: restarting network Jörg-Volker Peetz <jvpeetz@web.de> - 2016-03-29 11:10 +0200
Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 12:20 +0200
Re: restarting network pedantsunited <ad44@cityscape.co.uk> - 2016-03-29 14:00 +0200
Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 14:40 +0200
Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-29 15:10 +0200
Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 15:20 +0200
Re: restarting network Dan Ritter <dsr@randomstring.org> - 2016-03-29 16:00 +0200
Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 16:40 +0200
Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 16:50 +0200
Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 17:30 +0200
Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 18:10 +0200
Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 18:30 +0200
Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 18:40 +0200
Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 19:20 +0200
Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-30 14:20 +0200
Re: restarting network Nemeth Gyorgy <friczy@freemail.hu> - 2016-03-29 18:50 +0200
Re: restarting network Darac Marjal <mailinglist@darac.org.uk> - 2016-03-30 18:40 +0200
Re: restarting network [SOLVED] Tony van der Hoff <tony@vanderhoff.org> - 2016-04-04 16:20 +0200
RE: restarting network [SOLVED] Bonno Bloksma <b.bloksma@tio.nl> - 2016-04-05 13:30 +0200
RE: restarting network Bonno Bloksma <b.bloksma@tio.nl> - 2016-03-29 13:20 +0200
csiph-web