Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 1999 07:19:11 -0400
From:      "Chanderpaul, Pradesh" <Pradesh_Chanderpaul@stratus.com>
To:        "'questions@freebsd.org'" <questions@freebsd.org>
Subject:   IS: Network lost after replacing NIC - suspect routing
Message-ID:  <1D1A4EF7AD4DD211A80D00A0C9D7DB667E685B@exna1.stratus.com>

next in thread | raw e-mail | index | archive | help
Hello all

I seemed to have lost network connectivity after replacing my NIC. 

My situation is this :-

- I installed FreeBSD 3-2.RELEASE with a working SMC Ultra
  ethernet NIC. No problems here

- I replaced the NIC device with a 3COM 3C509 NIC. Same network
  addresses as old NIC.

- The card is recognised at boot
    ep0 at 0x300-0x30f irq 10 on isa
  ep0: utp[*UTP*] address 00:60:08:7c:64:bd

- The card has a link light.

- I obtain similar results with and without link2 passed to ifconfig.

- The card is configured for TCP/IP (I've changed the actual addresses)
  $ ifconfig ep0
  ep0: flags=c843<UP,BROADCAST,RUNNING,SIMPLEX,LINK2,MULTICAST> mtu 1500
       inet 111.222.333.44 netmask 0xffffff00 broadcast 111.222.333.255
       ether 00:60:08:7c:64:bd

- I can ping the IP address defined on the card ok, so I deduce
  the TCP stack is loaded.
  $ ping 111.222.333.44
  --- 111.222.333.44 ping statistics ---
  3 packets transmitted, 3 packets received, 0% packet loss

- However, I cannot reach the defined gateway.
  $ ping 111.222.333.1
  ping: sendto: Host is down
  ping: sendto: Host is down
          .
          .

- The tail end of my rc.conf
  ifconfig_ep0="inet 111.222.333.44  netmask 255.255.255.0"
  defaultrouter="111.222.333.1"
  hostname="sa-bsd-srv1.MYDOMAIN.COM"
  router_enable="NO"


- I've noticed what I regard as strange (I may be wrong) routing behaviour
  Take note of the following output.

  THIS IS THE RESULT OF THE ROUTING TABLE IMMEDIATELY AFTER REBOOT
    $ netstat -nr
 
  Destination        Gateway            Flags     Refs     Use     Netif
Expire
  default            111.222.333.1       UGSc        0        0      ep0
<== OK HERE
                     ^^^^^^^^^^^^^ === > MY DEFINED GATEWAY
  127.0.0.1          127.0.0.1          UH          0        0      lo0
  111.222.333        link#2             UC          0        0      ep0
  111.222.333.1      link#2             UHLW        1        0      ep0
  *** ^^^ ****       === > SHOULD THIS BE HERE ???

  I NOW PING THE IP ADDRESS DEFINED ON THE NIC.
  $ ping 111.222.333.44
  PING 111.222.333.44 (111.222.333.44): 56 data bytes
  --- 111.222.333.44 ping statistics ---
  3 packets transmitted, 3 packets received, 0% packet loss     ===> OK

  $ netstat -nr
 
  Destination        Gateway            Flags     Refs     Use     Netif
Expire
  default            111.222.333.1      UGSc        0        0      ep0
  127.0.0.1          127.0.0.1          UH          0        0      lo0
  111.222.333        link#2             UC          0        0      ep0
  111.222.333.1      link#2             UHLW        1        0      ep0
  111.222.333.44     0:60:8:7c:64:bd    UHLW        0        6      lo0  
  ^^^^^^^^^^^^^^    === > CREATES NEW ROUTE AND USES THIS.

  TRY PINGING THE DEFINED GATEWAY NOW
  $ ping 111.222.333.1
  PING 111.222.333.1 (111.222.333.1): 56 data bytes
  ping: sendto: Host is down
  ping: sendto: Host is down
  --- 111.222.333.1 ping statistics ---
  2 packets transmitted, 0 packets received, 100% packet loss  <== 2
PACKECTS NOT OK

  LOOKING AT THE ROUTING TABLE NOW
  $ netstat -nr
  Routing tables

  Destination        Gateway            Flags     Refs     Use     Netif
Expire
  default            111.222.333.1      UGSc        0        0      ep0
  127.0.0.1          127.0.0.1          UH          0        0      lo0
  111.222.63         link#2             UC          0        0      ep0
  111.222.333.1      link#2             UHLW        1        2      ep0
               PACKETS SENT THROUGH THIS ROUTE  === >      ^^^
  111.222.333.44     0:60:8:7c:64:bd    UHLW        0        6      lo0
 
  TRY ANOTHER HOST IN THE NETWORK
  PING 111.222.333.39 (111.222.333.39): 56 data bytes
  --- 111.222.333.39 ping statistics ---
  5 packets transmitted, 0 packets received, 100% packet loss   <== 5
PACKETS NOT OK

  $ netstat -nr

  Destination        Gateway            Flags     Refs     Use     Netif
Expire
  default            111.222.333.1      UGSc        0        0      ep0
  127.0.0.1          127.0.0.1          UH          0        0      lo0
  111.222.333        link#2             UC          0        0      ep0
  111.222.333.1      link#2             UHLW        1        2      ep0
  111.222.333.39     link#2             UHLW        0        5      ep0
  ^^^ CREATED ANOTHER ROUTE INSTEAD OF USING DEFAULT
  111.222.333.44     0:60:8:7c:64:bd    UHLW        0        6      lo0


I'll appreciate any assistance. I'd also appreciate being copied
on the results as I'm not allowed newsgroup subscriptions on
this email address.

Thanking you in advance.

===============================================================
Pradesh Chanderpaul                   Phone:  +27 12 663 3260/6

Stratus Computer Systems              FAX  :  +27 12  663  3281
South Africa CAC
          Email:  Pradesh_Chanderpaul@stratus.com
<mailto:Pradesh_Chanderpaul@stratus.com> 
===============================================================



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D1A4EF7AD4DD211A80D00A0C9D7DB667E685B>