add route entries in freebsd os.

Jonathan Horne freebsd at dfwlp.com
Fri Jun 1 19:16:04 UTC 2007


On Friday 01 June 2007 13:36:42 bsenthil wrote:
> Hi,
>
> I want to add route entries in freebsd os.
>
> route [-n] command [-net | -host] destination gateway [netmask]
> route add -net 192.168.11.2 192.168.5.1 255.255.255.0
>
> Problem :: I have two interface ,I want to specify device "xlo" or "xl1"
> to route .
>
> -bsenthil.
>
>
>
> _______________________________________________
> 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"

i believe its already inteligent enough to decide which network goes to which 
interface...  unless you mean that you have 2 nics on the same subnet in the 
same switch?

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd at dfwlp.com


More information about the freebsd-questions mailing list