[wplug] Networking Issue

Ryan Brown wplug at tblive.com
Sat Feb 21 13:02:54 EST 2004


Hopefully someone has had this problem and knows of a solution...

I have a Dell Poweredge 2650 (Gentoo) with 2 onboard gigabit nics (eth0
(192.168.0.1) and eth1 (192.168.1.1)), it also has a PCI 3com 905C TX 10/100
nic which is eth2 (192.217.247.61)

My problem... I cannot get this machine to connect to the internet via eth2.
It needs to use eth2 as 0 and 1 are onboard gigabit which I use for a local
NFS network. I know for 100 % certainty that all of my hardware is good and
functioning. I installed Gentoo using the eth2 3com nic off the Live CD with
no problem connecting to the internet. I have tried a different patch cable
which I knew was good (works fine on another server) and also other switch
ports I know for sure work with other servers).

My gateway for the internet is 192.217.247.1 (and this is set as the default
gateway on eth2). The LEDs on the nic are lite green, and the switch port is
also green and in forwarding mode (just like all the other ports on the
switch with servers connected). The port speed is set for auto (I have tried
100 full duplex and 100 half duplex as well and with and without flow
control).

Below are my attached config files and console outputs.

Thanks
Ryan

------------------------
rogue root # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:DA:84:99:A3  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:370448 errors:0 dropped:0 overruns:1 frame:0
          TX packets:14937 errors:0 dropped:0 overruns:0 carrier:21
          collisions:163 txqueuelen:1000 
          RX bytes:32532909 (31.0 Mb)  TX bytes:5314833 (5.0 Mb)
          Interrupt:16 Base address:0xdc80 

eth1      Link encap:Ethernet  HWaddr 00:0B:DB:E6:B6:B9  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2234 (2.1 Kb)  TX bytes:4576 (4.4 Kb)
          Interrupt:28 

eth2      Link encap:Ethernet  HWaddr 00:0B:DB:E6:B6:BA  
          inet addr:192.217.247.53  Bcast:192.217.247.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16510 errors:0 dropped:0 overruns:0 frame:0
          TX packets:236209 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1412966 (1.3 Mb)  TX bytes:23983875 (22.8 Mb)
          Interrupt:29 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:234501 errors:0 dropped:0 overruns:0 frame:0
          TX packets:234501 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:19691200 (18.7 Mb)  TX bytes:19691200 (18.7 Mb)

-----------------------------
rogue root # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.217.247.0   0.0.0.0         255.255.255.0   U     0      0        0 eth2
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         192.217.247.1   0.0.0.0         UG    1      0        0 eth2

------------------------------
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7
2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"
iface_eth1="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0"
iface_eth2="192.217.247.61 broadcast 192.217.247.255 netmask 255.255.255.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
gateway="eth2/192.217.247.1"

--------------------------------

rogue root # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.031 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.008 ms

--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.008/0.019/0.031/0.012 ms
rogue root # 
rogue root # 
rogue root # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.007 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.006 ms

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.006/0.015/0.032/0.012 ms
rogue root # 
rogue root # 
rogue root # ping 192.217.247.1
PING 192.217.247.1 (192.217.247.1) 56(84) bytes of data.
>From 192.217.247.53 icmp_seq=2 Destination Host Unreachable
>From 192.217.247.53 icmp_seq=3 Destination Host Unreachable
WARNING: failed to install socket filter
: Protocol not available

--- 192.217.247.1 ping statistics ---
4 packets transmitted, 0 received, +2 errors, 100% packet loss, time 3020ms

-----------------------------

This is a comparison of 2 Gentoo boxes, one works fine with 2 nics, and then
is my box in issue with 3 nics that does not work.

This one works fine
sage root # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.217.247.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         192.217.247.1   0.0.0.0         UG    1      0        0 eth0



The system that's the issue
rogue root # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.217.247.0   0.0.0.0         255.255.255.0   U     0      0        0 eth2
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         192.217.247.1   0.0.0.0         UG    1      0        0 eth2










More information about the wplug mailing list