Date: Fri, 22 Oct 1999 16:04:06 +0300 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: Graham Wheeler <gram@cequrux.com> Cc: hackers@freebsd.org Subject: Re: aliasing a point-to-point interface Message-ID: <19991022160406.A66396@relay.ucb.crimea.ua> In-Reply-To: <9910221435020H.17915@cequrux.com>; from Graham Wheeler on Fri, Oct 22, 1999 at 02:33:59PM %2B0200 References: <99102118512208.17915@cequrux.com> <9910221201410E.17915@cequrux.com> <19991022133244.B10699@relay.ucb.crimea.ua> <9910221435020H.17915@cequrux.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991022160406.A66396>