Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 14:27:58 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        aeg@iname.com (Alexandr Gribenko)
Cc:        questions@FreeBSD.ORG (QuestionsBSD)
Subject:   Re: aliasing
Message-ID:  <200001121927.OAA11471@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <NDBBKNDPMMIMOBJEOANEGEHCCAAA.aeg@iname.com> from Alexandr Gribenko at "Jan 12, 2000 09:53:49 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Alexandr Gribenko wrote,
[Charset koi8-r unsupported, filtering to ASCII...]
> Please help...
> I have an alias on one of my ethernet interfaces 
> ifconfig ep0 looks like
> ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.117.193.194 netmask 0xfffffff8 broadcast 192.117.193.199
                                       ^^^^^^^^^^       
>         inet 192.117.193.195 netmask 0xffffff00 broadcast 192.117.193.255
>         ether 00:20:af:c4:5c:a5 

The netmask for one of these (the "alias" interface) should be
0xffffffff (255.255.255.255).

> but when I try to ping 192.117.193.195 it dooesnt work
> no like the real one 192.117.193.194 which is ok 
> my firewall is simple like this
> 00100 divert 8668 ip from any to any via ep0
> 00200 allow ip from any to any via lo0
> 00300 deny ip from any to 127.0.0.0/8
> 00400 allow ip from 192.168.0.224/27 to any
> 00500 allow ip from 192.168.1.0/24 to any via rl1
> 00600 fwd 127.0.0.1,3128 tcp from any to any 80 via rl0
> 00700 fwd 127.0.0.1,3128 tcp from any to any 8080 via rl0
> 00800 fwd 127.0.0.1,3128 tcp from any to any 3128 via rl0
> 00900 allow ip from any to any
> 65535 deny ip from any to any

Your 'netstat -rn' info would be useful if you still have the problem
once the netmask is fixed.
-- 
Crist J. Clark                           cjclark@home.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?200001121927.OAA11471>