From owner-freebsd-hackers Fri Oct 22 6: 8:10 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id 3AB9114DC9 for ; Fri, 22 Oct 1999 06:06:08 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id QAA69410; Fri, 22 Oct 1999 16:04:06 +0300 (EEST) (envelope-from ru) Date: Fri, 22 Oct 1999 16:04:06 +0300 From: Ruslan Ermilov To: Graham Wheeler Cc: hackers@freebsd.org Subject: Re: aliasing a point-to-point interface Message-ID: <19991022160406.A66396@relay.ucb.crimea.ua> Mail-Followup-To: Graham Wheeler , hackers@freebsd.org References: <99102118512208.17915@cequrux.com> <9910221201410E.17915@cequrux.com> <19991022133244.B10699@relay.ucb.crimea.ua> <9910221435020H.17915@cequrux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <9910221435020H.17915@cequrux.com>; from Graham Wheeler on Fri, Oct 22, 1999 at 02:33:59PM +0200 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ' 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 ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message