Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #166068

Re: restarting network

From Tony van der Hoff <tony@vanderhoff.org>
Newsgroups linux.debian.user
Subject Re: restarting network
Date 2016-03-29 16:50 +0200
Message-ID <ri37Y-7Fn-13@gated-at.bofh.it> (permalink)
References (2 earlier) <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> <ri2Yi-7C8-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 29/03/16 15:34, Reco wrote:
> 	Hi.
>
> On Tue, Mar 29, 2016 at 02:10:08PM +0100, Tony van der Hoff wrote:
>
>>> Mar 29 10:15:06 tony-lx networking[21563]: Configuring network
>>> interfaces...RTNETLINK answers: File exists
>>> Mar 29 10:15:06 tony-lx networking[21563]: Failed to bring up eth1.
>>> Mar 29 10:15:06 tony-lx networking[21563]: done.
>
> Lines above are something to be expected, because your
> /etc/network/interfaces tells the kernel to do the impossible:
>
>
>> 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
>
> You have default gateway for eth0. All is good so far.
>
>
>> 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
>
> And - you have yet another default gateway for eth1.
> No wonder that the kernel refuses to add the same route second time.
>
> Reco
>

Thanks, Reco.
I've now commented out that line for eth1, but I still get

Mar 29 15:37:47 tony-lx networking[24921]: Failed to bring up eth1.
Mar 29 15:37:47 tony-lx networking[24921]: done.


-- 
Tony van der Hoff        | mailto:tony@vanderhoff.org
Buckinghamshire, England |

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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