Re: two system eth, chooses one w/o a gateway, makes up gateway



On Tue, Dec 02, 2008 at 06:47:57PM -0500, Chuck Anderson wrote:
> # Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express
> DEVICE=eth0
> BOOTPROTO=dhcp
> HWADDR=00:13:72:74:da:15
> ONBOOT=yes
> SEARCH="WPI.EDU"
> #DNS1=130.215.32.18
> #DNS2=2001:468:616:827::10
> #DNS3=2001:468:616:820::10
> 
> # Lite-On Communications Inc LNE100TX
> DEVICE=eth1
> HWADDR=00:a0:cc:da:ed:04
> BOOTPROTO=static
> ONBOOT=yes
> IPADDR=172.27.120.22
> NETMASK=255.255.0.0
> GATEWAY=
> 
> This worked fine in Fedora 9 and Fedora 10 I think until I upgraded 
> to this:
> 
> Nov 25 11:32:08 Updated: 1:NetworkManager-glib-0.7.0-0.12.svn4326.fc10.i386
> Nov 25 11:32:10 Updated: 1:NetworkManager-0.7.0-0.12.svn4326.fc10.i386
> Nov 25 11:32:12 Updated: 1:NetworkManager-gnome-0.7.0-0.12.svn4326.fc10.i386
> 
> Now NetworkManager activates eth1 as the primary interface, and makes 
> up a default gatway.  As you can see, I specified a blank GATEWAY= in 
> the ifcfg-eth1 file.  I also tried commenting this out as #GATEWAY= so 
> no gateway was specified at all.
> 
> >netstat -nr
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 130.215.201.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
> 172.27.0.0      0.0.0.0         255.255.0.0     U         0 0          0 eth1
> 0.0.0.0         172.27.120.22   0.0.0.0         UG        0 0          0 eth1

As a followup, nm-tool shows the bogus gateway on eth1, and the 
correct gateway on eth0:

NetworkManager Tool

State: connected

- Device: eth1 
----------------------------------------------------------------
  Type:              Wired
  Driver:            tulip
  State:             connected
  Default:           yes
  HW Address:        00:A0:CC:DA:ED:04

  Capabilities:
    Supported:       yes
    Carrier Detect:  yes

  Wired Settings

  IPv4 Settings:
    Address:         172.27.120.22
    Prefix:          16 (255.255.0.0)
    Gateway:         172.27.120.22



- Device: eth0 
----------------------------------------------------------------
  Type:              Wired
  Driver:            tg3
  State:             connected
  Default:           no
  HW Address:        00:13:72:74:DA:15

  Capabilities:
    Supported:       yes
    Carrier Detect:  yes
    Speed:           1000 Mb/s

  Wired Settings

  IPv4 Settings:
    Address:         130.215.201.30
    Prefix:          24 (255.255.255.0)
    Gateway:         130.215.201.1

    DNS:             130.215.32.18
    DNS:             130.215.39.18
    DNS:             130.215.36.18
    DNS:             130.215.39.82


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]