From owner-freebsd-questions Wed Jan 12 11:23:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id DA95714F29 for ; Wed, 12 Jan 2000 11:23:25 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id OAA11471; Wed, 12 Jan 2000 14:27:58 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <200001121927.OAA11471@cc942873-a.ewndsr1.nj.home.com> Subject: Re: aliasing In-Reply-To: from Alexandr Gribenko at "Jan 12, 2000 09:53:49 am" To: aeg@iname.com (Alexandr Gribenko) Date: Wed, 12 Jan 2000 14:27:58 -0500 (EST) Cc: questions@FreeBSD.ORG (QuestionsBSD) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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