Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jul 1999 03:28:20 +0200
From:      Roelof Osinga <roelof@eboa.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: IP alias routing problem
Message-ID:  <377D6734.7658164D@eboa.com>
References:  <Pine.BSF.4.10.9907021302160.98238-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?377D6734.7658164D>