Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 12:40:09 -0400
From:      manolo valdes <admin@atenas.cult.cu>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>, becouse@atenas.cult.cu, your@atenas.cult.cu
Subject:   Re: default routes from other net
Message-ID:  <3BA8CA68.EF10756B@atenas.cult.cu>
References:  <023101c140e7$480a6b70$1301a8c0@abyss>

next in thread | previous in thread | raw e-mail | index | archive | help
> Boril Yonchev wrote:
> 
> Hi,
> I'll try to set my network but ISP gate is from one net and my Static
> IP from other for exaple
> 
> 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.
> 
> Can you help me how to set this default gateway?
> 
> Boril Yonchev


now you are in FreeBSD so put gateway not gw.

read man route carefuly

greetings
manolito

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?3BA8CA68.EF10756B>