Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2000 07:33:36 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        "Marinos J . Yannikos" <mjy@pobox.com>
Cc:        hackers@freebsd.org
Subject:   Re: routing bug(?) persists (PR 16318) 
Message-ID:  <200006151433.HAA01786@mass.osd.bsdi.com>
In-Reply-To: Your message of "Thu, 15 Jun 2000 13:50:39 %2B0200." <20000615135039.F24505@TK147108.telekabel.at> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 3.4-STABLE still seems to contain the annoying routing bug that prevents
> the correct initialization of a default route with the gateway being in
> a non-local network, i.e. like this:
> 
> ifconfig_vr0="195.58.183.77 netmask 255.255.255.248"
> static_routes="0 1"
> route_0="-net 195.58.161.96 -netmask 255.255.255.240 -iface vr0"
> route_1="default 195.58.161.97"
> 
> (the error message is "network unreachable" while the default route is
> being set)

The error message is correct.

> Does the bugfix break something? If not, why isn't it in 3.4-STABLE yet?
> It is necessary for the above configuration (or isn't it? I couldn't find
> another way to treat this topology).

The above network configuration is incorrect - you need a gateway that is 
directly reachable.  If you want to use the above default route, you need 
to give your machine an address on the same network as your gateway, most 
trivially by aliasing it onto the vr0 interface.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




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?200006151433.HAA01786>