3c905b-tx help needed

Greg Whalin gwhalin@numerix.com
Thu Aug 27 16:11:26 1998


This is a routing issue.  I will comment inline.


> The problem
> -----------
> [root@kasandral /root]#insmod 3c59x debug=3
> 3c59x.c:v0.99F 8/7/89 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortext.html
> loading device 'eth0'...
> 
> Aug 27 05:22:37 kasandral kernel: 3c59x.c:v0.99F 8/7/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortext.html
> Aug 27 05:22:37 kasandral kernel:   The PCI BIOS has not been enabled for this device!  Updating PCI command 0000->0005.
> Aug 27 05:22:37 kasandral kernel: loading device 'eth0'...
> Aug 27 05:22:37 kasandral kernel: eth0: 3Com 3c905B Cyclone 100baseTx at 0x1000, 00:10:4b:67:9e:8a, IRQ 11
> Aug 27 05:22:37 kasandral kernel:   8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
> Aug 27 05:22:37 kasandral kernel:   MII transceiver found at address 24, status 782d.
> Aug 27 05:22:37 kasandral kernel:   Enabling bus-master transmits and whole-frame receivers.
> 
> [root@kasandral /root]#ifconfig eth0 206.96.231.18
> [root@kasandral /root]#ifconfig
> eth0       Link encap:Ethernet  HWaddr 00:10:4B:67:9E:8A
>            inet addr:206.96.231.18  Bcast:206.96.231.255  Mask:255.255.255.0
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0
>            TX packets:0 errors:0 dropped:0 overruns:0
>            Interrupt:11 Base address:0x1000
> 
> [root@kasandral /root]#ping 206.96.231.18
> PING 206.96.231.18 (206.96.231.18): 56 data bytes
> ping: sendto: Network is unreachable
> ...
> 
> [root@kasandral /root]#route add 206.96.231.18 eth0
> [root@kasandral /root]#route
> Kernel IP routing table
> Destination     Gateway	    Genmask         Flags Metric Ref    Use Iface
> kasandral.drape	*	    255.255.255.255 UH    0      0        0 eth0
>

You should have done this instead ...

route add -net 127.0.0.0 dev lo
route add -net 206.96.131.0 netmask 255.255.255.0 dev eth0
route add default gw 206.96.131.xxx (if you have a route out)

Then your routing table would look like
[root@kasandral /root]#route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref Use Iface
127.0.0.0	*		255.0.0.0	U     0      0   0   lo
206.96.131.0	*		255.255.255.0	U     0      0   0   eth0
default		206.96.131.xxx	0.0.0.0		UG    0      0   0   eth0


Also, make sure you have your loopback interface up.

ifconfig lo 127.0.0.1

Greg