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


Groups > linux.debian.user > #174695

Re: wheezy, cannot change the address of eth1

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: wheezy, cannot change the address of eth1
Date 2016-11-14 14:40 +0100
Message-ID <sDpEm-7Av-21@gated-at.bofh.it> (permalink)
References <sCoAF-7P3-3@gated-at.bofh.it> <sCoU1-7Vj-3@gated-at.bofh.it> <sCuPL-3iv-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> > Start by showing the contents of /etc/network/interfaces.

On Fri, Nov 11, 2016 at 07:59:01PM -0500, Gene Heskett wrote:
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> auto lo
> 
> # The loopback network interface
> iface lo inet loopback
> address 127.0.0.1
> netmask 255.255.255.0
> 
> auto eth0
> 
> # regular network for coyote.den
> iface eth0 inet static
> address 192.168.71.3
> netmask 255.255.255.0
> gateway 192.168.71.1
> 
> auto eth1
> 
> # to access reset to 192.168.0.1 routers/switches on the 2nd cat5 port
> iface eth1 inet static
> address 192.168.0.25
> netmask 255.255.255.0
> gateway 192.168.0.1

Others have already pointed this out, but you have two conflicting
"gateway" lines, on two completely separate networks.  You need to
pick one.

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


Thread

wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-11 19:20 +0100
  Re: wheezy, cannot change the address of eth1 Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-11 19:40 +0100
    Re: wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-12 02:00 +0100
      Re: wheezy, cannot change the address of eth1 Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-14 14:40 +0100
        Re: wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-14 15:50 +0100
  Re: wheezy, cannot change the address of eth1 David Wright <deblis@lionunicorn.co.uk> - 2016-11-11 20:30 +0100
    Re: wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-12 04:00 +0100
  Re: wheezy, cannot change the address of eth1 Darac Marjal <mailinglist@darac.org.uk> - 2016-11-11 22:20 +0100
    Re: wheezy, cannot change the address of eth1 Andy Smith <andy@strugglers.net> - 2016-11-12 05:50 +0100
      [SOLVED]Re: wheezy, cannot change the address of eth1 Gene Heskett <gheskett@shentel.net> - 2016-11-12 11:00 +0100

csiph-web