Hi there,
I *really* don't have any clue what the cause for this (simple?!)
problem is...
I'm using OBSD 3.0 as a router (pf/nat) with two 10 MBit
ethernet cards (ne3 and ne4). Yesterday I installed a new 100 MBit
network card (sis0). The new card got the IP of the old ne3
(192.168.10.2) and the old card got a new IP (192.168.10.5). I can
ping 192.168.10.2 and 192.168.10.5 from another machine. I can delete
(!) the old card with 'ifconfig ne3 delete' and everything keeps
working. Fine.
The problem: if I remove the old card physically, I'm no longer be able
to ping the new card! It seems obvious, that the ping packets are going
through the old card (ne3, which now not even have an IP!) to the new
(sis0).
How can that be? Oh, man... I need some help...
reiner
======================
Here are some facts...
$ ifconfig -a # here ne3 is not yet deleted
ne3: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
media: Ethernet autoselect (10baseT)
inet 192.168.10.5 netmask 0xffffff00 broadcast 192.168.10.255
inet6 fe80::200:b4ff:fe52:ea83%ne3 prefixlen 64 scopeid 0x1
ne4: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
media: Ethernet autoselect (10baseT)
inet 10.0.0.0 netmask 0xff000000 broadcast 10.255.255.255
inet6 fe80::200:b4ff:fe52:e937%ne4 prefixlen 64 scopeid 0x2
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
media: Ethernet 100baseTX
status: active
inet 192.168.10.2 netmask 0xffffff00 broadcast 192.168.10.255
inet6 fe80::240:f4ff:fe3b:6a0d%sis0 prefixlen 64 scopeid 0x3
[...]
$ cat /etc/hostname.ne3
inet 192.168.10.5 255.255.255.0 NONE
$ cat /etc/hostname.sis0
inet 192.168.10.2 255.255.255.0 NONE media 100baseTX
$ route -n show
Routing tables
Internet:
Destination Gateway Flags
default 212.185.255.165 UG
10.0.0.0 link#2 U
127.0.0.0 127.0.0.1 UG
127.0.0.1 127.0.0.1 UH
192.168.10.0 link#1 U
192.168.10.1 0:40:f4:34:76:3c UH
192.168.10.2 127.0.0.1 UGH
212.185.255.165 62.155.188.96 UH
224.0.0.0 127.0.0.1 U
$ netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Interface
default 212.185.255.165 UGS 3 424 1492 tun0
10/8 link#2 UC 0 0 1500 ne4
127/8 127.0.0.1 UGRS 0 0 33224 lo0
127.0.0.1 127.0.0.1 UH 4 124 33224 lo0
192.168.10/24 link#1 UC 0 0 1500 ne3
192.168.10.1 0:40:f4:34:76:3c UHL 2 833 1500 ne3
192.168.10.2 127.0.0.1 UGHS 1 267 33224 lo0
212.185.255.165 62.155.188.96 UH 1 0 1492 tun0
224/4 127.0.0.1 URS 0 0 33224 lo0