Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 11:32:49 -0500 (CDT)
From:      Nick Rogness <nick@rogness.net>
To:        Boril Yonchev <by@hibit.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: default routes from other net
Message-ID:  <Pine.BSF.4.21.0109191130590.88818-100000@cody.jharris.com>
In-Reply-To: <023101c140e7$480a6b70$1301a8c0@abyss>

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


Nick Rogness <nick@rogness.net>
 - Keep on Routing in a Free World...
  "FreeBSD: The Power to Serve!"


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?Pine.BSF.4.21.0109191130590.88818-100000>