Add a gateway

Darryl Hoar darryl at osborne-ind.com
Thu Mar 11 14:44:54 PST 2004


> Darryl Hoar wrote:
> 
> >Greetings,
> >I am running FreeBSD 4.7-stable on a computer.  It is 
> >configured to be my firewall.  My IPS changed the
> >technology to access my DSL.  How do I define a gateway
> >for an interface ?
> >
> >thanks,
> >Darryl
> >_______________________________________________
> >freebsd-questions at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> >
> >
> >
> >  
> >
> As root:
> 
> $route add default ip.of.new.gw
> 
> HTH,
> 
> Kevin Kinsey
> DaleCo, S.P.

Yep, route add default ip.of.new.gw works like a champ.  How do I
make it perminent ?  Just add the
defaultgateway="ip.of.new.gw"  ?

thanks,
Darryl

(ah, 1.5Mb is sooo nice)


More information about the freebsd-questions mailing list