Subject: Problems with ifaliases in 1.3.3 NetBSD
To: NetBSD i386 <port-i386@netbsd.org>
From: Stanislaw Szczygiel <stanley@prof.wip.pw.edu.pl>
List: netbsd-help
Date: 01/01/1999 22:53:59
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.




Every notice usefull in resolving this problem is necessary! Thanks in
advance.


Stanley


.... Blessed be the pessimist for he hath made backups.

-- 
-----
|       TNX
|____     BYE
     \
     |
|____|TANLEY