Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 19:06:43 +0200
From:      universe <universe@truemetal.org>
To:        Nick Rogness <nick@rogness.net>
Cc:        Boril Yonchev <by@hibit.net>, questions@FreeBSD.ORG
Subject:   Re: default routes from other net
Message-ID:  <3BA8D0A3.E63F8541@truemetal.org>
References:  <Pine.BSF.4.21.0109191130590.88818-100000@cody.jharris.com>

next in thread | previous in thread | raw e-mail | index | archive | help
now, assuming the scenario Boril posted, and the commands Nick gave
would result in:

su-2.05# route add default 212.212.212.212
route: writing to routing socket: Network is unreachable
add net default: gateway 212.212.212.212: Network is unreachable

does this actually only work when the router at 212.212.212.212 has
proxy-arp enabled or is there absolutely no relation to proxy-arp
here? i've trying to find out for months now, but no one seems to be
able to answer that question.


markus

Nick Rogness wrote:
> 
> On Wed, 19 Sep 2001, Boril Yonchev wrote:
> 
> >
> > my IP is 62.62.62.62 netmask 255.255.255.240 and gateway must be
> > 212.212.212.212 on interface ep0
> >
> > with Linux I can set with this in my route table
> >
> > route add -host 212.212.212.212 dev eth0
> > route add -net 0.0.0.0 netmask 0.0.0.0 gw 212.212.212.212
> >
> > but with FreeBSD I can't.
> 
>         route add -host 212.212.212.212 -iface ep0
>         route add default 212.212.212.212
> 
>         Is the freebsd equivalent.

-- 

there's the microsoft way, there's the linux way, and there's
the right way.

-- freebsd, the winner's choice. http://www.freebsd.org

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?3BA8D0A3.E63F8541>