Subject: Re: Problems with ifaliases in 1.3.3 NetBSD
To: Stanislaw Szczygiel <stanley@prof.wip.pw.edu.pl>
From: Paul Goyette <paul@whooppee.com>
List: netbsd-help
Date: 01/03/1999 10:04:34
Have you tried running tcpdump on the interface while you are sending
the pings from the outside? This will confirm that the pings are being
received, and might give a clue as to why the NetBSD system is not
responding.
Also, can you successfully ping the outside box from the NetBSD system?
On Sun, 3 Jan 1999, Stanislaw Szczygiel wrote:
> O.K, again about problems with ifaliases. This time with more
> informations about system and initialization files. Problem is in
> lack of any result of working ifaliases: they appear the same as in
> 1.3.2 (and then work very well), but in 1.3.3 - I see the effect of
> commands (see below) - the same as in working 1.3.2 NetBSD!!! But
> ping on address 148.....161, 162, 164 - gives no echo. But there is a
> little change between old system and new: now I use 100MB SMC PCI
> cards, erlier there were 10MB netcards... System works fine, speed is
> very well - so I think systemm see my cards well. But maybe there are
> some changes in drivers... I really dont know why this not work.
> Ok, lets see my parameters and effect of netstat.
> This is "ifaliases" file:
> 148.81.82.161 ep2 255.255.255.255
> 148.81.82.162 ep2 255.255.255.255
> 148.81.82.164 ep2 255.255.255.255
> This is effecy of netstat -in and netstat -nr
> Routing tables
> Internet:
> Destination Gateway Flags Refs Use Mtu Interface
> default 148.81.82.50 UGS 5 442 - ep2
> 10 link#1 UC 0 0 - ep1
> 10.1.1.1 00:60:08:9b:a7:b0 UHL 1 24 - lo0
> 10.1.1.2 00:00:c0:fe:a3:0d UHL 0 36 - ep1
> 127.0.0.1 127.0.0.1 UH 14 55 - lo0
> 148.81.82/24 link#2 UC 0 0 - ep2
> 148.81.82.34 08:00:20:80:93:86 UHL 0 42 - ep2
> 148.81.82.50 00:00:a2:0a:41:45 UHL 1 0 - ep2
> 148.81.82.161 127.0.0.1 UGHS 0 0 - lo0
> =>
> 148.81.82.161/32 link#2 UC 0 0 - ep2
> 148.81.82.162 127.0.0.1 UGHS 0 0 - lo0
> =>
> 148.81.82.162/32 link#2 UC 0 0 - ep2
> 148.81.82.164 127.0.0.1 UGHS 0 0 - lo0
> =>
> 148.81.82.164/32 link#2 UC 0 0 - ep2
> Name Mtu Network Address Ipkts Ierrs Opkts Oerrs
> Coll
> ep1 1500 <Link> 00:60:08:9b:a7:b0 51 0 38
> 0 0
> ep1 1500 10 10.1.1.1 51 0 38
> 0 0
> ep2 1500 <Link> 00:60:08:92:63:62 920 0 630
> 0 0
> ep2 1500 148.81.82/24 148.81.82.163 920 0 630
> 0 0
> ep2 1500 148.81.82.161 148.81.82.161 920 0 630
> 0 0
> ep2 1500 148.81.82.162 148.81.82.162 920 0 630
> 0 0
> ep2 1500 148.81.82.164 148.81.82.164 920 0 630
> 0 0
> ne1* 1500 <Link> 00:01:1b:09:de:63 0 0 0
> 0 0
> lo0 32976 <Link> 79 0 79
> 0 0
> lo0 32976 127 127.0.0.1 79 0 79
> 0 0
> ppp0* 1500 <Link> 0 0 0
> 0 0
> sl0* 296 <Link> 0 0 0
> 0 0
> strip 1100 <Link> 0 0 0
> 0 0
> tun0* 1500 <Link> 0 0 0
> 0 0
> This is effect of ifconfig -a
> ep1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
> address: 00:60:08:9b:a7:b0
> media: 100baseTX status: active
> inet 10.1.1.1 netmask 0xff000000 broadcast 10.255.255.255
> ep2: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
> address: 00:60:08:92:63:62
> media: 100baseTX status: active
> inet 148.81.82.163 netmask 0xffffff00 broadcast 148.81.82.255
> ne1: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
> address: 00:01:1b:09:de:63
> media: manual
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
> inet 127.0.0.1 netmask 0xff000000
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
> strip0: flags=0<> mtu 1100
> tun0: flags=10<POINTOPOINT> mtu 1500
> Ping from localhost to ifaliases adressess work fine !!!
> Ping from external hosts to this adressess is DEAD !!!!!
> I'm almost sure that problem is somewhere in netcard driver. From inside
> all addresses are visible - it means that ifalises work. But problem is
> with visibility from outside: maybe some problems with arp adresses? I
> know that there are some differenties beetwen 10MB and 100MB cards in
> ARP.... Exactly my netcards are 3C905.
> Every notice usefull in resolving this problem is necessary! Thanks in
> advance.
> Stanley
> .... and sorry for my english...
> .... Blessed be the pessimist for he hath made backups.
> --
> -----
> | TNX
> |____ BYE
> \
> |
> |____|TANLEY
>
>
-----------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| and kernel hacker | 91EB ADB1 A280 3B79 9221 | paul.goyette@ascend.com |
-----------------------------------------------------------------------------