From owner-freebsd-questions Fri Jul 2 18:25:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nl.eboa.com (unknown [212.187.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 9D73415185 for ; Fri, 2 Jul 1999 18:25:33 -0700 (PDT) (envelope-from roelof@eboa.com) Received: from eboa.com (roelof [10.0.0.2]) by nl.eboa.com (8.9.2/8.9.2) with ESMTP id DAA12111; Sat, 3 Jul 1999 03:25:18 +0200 (CEST) (envelope-from roelof@eboa.com) Message-ID: <377D6734.7658164D@eboa.com> Date: Sat, 03 Jul 1999 03:28:20 +0200 From: Roelof Osinga Organization: eboa - engineering buro Office Automation X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Doug White Cc: questions@FreeBSD.ORG Subject: Re: IP alias routing problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White wrote: > > > route add -net 194.134 194.134.128.1 > > This isn't necessary, as the ifconfig command will add it automatically. > Make the above fix and you should be happy. Performed a "route change -net 0 212.187.0.1 -hopcount 2" so as to lower the priority of the default route, but alas. Happiness is not to be mine so easily. To wit: nl:/home/www/Slak/Bestuur$ traceroute 194.134.5.5 traceroute to 194.134.5.5 (194.134.5.5), 30 hops max, 40 byte packets 1 212.187.0.39 (212.187.0.39) 0.695 ms 0.406 ms 0.375 ms 2 212.187.0.39 (212.187.0.39) 0.393 ms !H 0.400 ms !H 0.384 ms !H Given the default hopcount above and this routing table: Destination Gateway Flags Refs Use Netif Expire default 212.187.0.1 UGSc 1 159001 ep1 194.134/16 194.134.128.1 UGSc 0 841 ep1 194.134.128/22 link#2 UC 0 0 ep1 194.134.128.1 0:90:6d:e4:30:0 UHLW 1 14896 ep1 1191 212.187/21 link#2 UC 0 0 ep1 212.187.0.1 0:90:6d:e4:30:0 UHLW 1 12 ep1 951 212.187.0.39 0:60:97:e4:98:db UHLW 0 48 lo0 one would've expected more bliss to be one's reward. Instead woe is mine! With a default hopcount of 0 and me having bumped the default route to a hopcount of 2 why does it insist of routing through the wrong, uhm, alias? One grovels humbly at the feets of ones masters in the hopes of becoming blessed by - surely undeserved! - enlightement from the cyberskies above. Roelof -- Home is where the (@) http://eboa.com/ is. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message