On Fri, Oct 22, 1999 at 02:33:59PM +0200, Graham Wheeler wrote:
> On Fri, 22 Oct 1999, you wrote:
> 
> > What does `netstat -rn | grep <myalias>' show you after each command?
> > Are you running some routing software?  GateD? routed?
> 
> Before I begin, with the link configured with
> 
>    ifconfig ar0 inet 192.96.22.18 196.7.70.1 up:
> 
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            196.7.70.1         UGSc       52        0       ar0
> 127.0.0.1          127.0.0.1          UH         17      516       lo0
> 196.7.70.1         192.96.22.18       UH         53        0       ar0
> 
> 
> 
> 
> After ifconfig ar0 inet 192.96.22.21 192.96.22.21 alias:
> 
You should be using `netmask 255.255.255.255' here, BTW.

> Routing tables
> 
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            196.7.70.1         UGSc       13        1       ar0
> 127.0.0.1          127.0.0.1          UH         15      106       lo0
> 192.96.22.21       192.96.22.21       UH          0        0       ar0
> 196.7.70.1         192.96.22.18       UH         14        0       ar0
> 
> 
> 
> After route delete -host 192.96.22.21:
> 
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            196.7.70.1         UGSc       13        1       ar0
> 127.0.0.1          127.0.0.1          UH         15      106       lo0
> 196.7.70.1         192.96.22.18       UH         14        0       ar0
> 
> 
> 
> After route add -host 192.96.22.21 127.1:
> 
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif Expire
> default            196.7.70.1         UGSc       17        1       ar0
> 127.0.0.1          127.0.0.1          UH         17      118       lo0
> 192.96.22.21       127.0.0.1          UGHS        0        0       lo0
> 196.7.70.1         192.96.22.18       UH         18        0       ar0
> 
Looks OK, the ping(8) should work.  Something wrong with ipfw(8)?

-- 
Ruslan Ermilov          Sysadmin and DBA of the
[EMAIL PROTECTED]        United Commercial Bank,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.247.647        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to