Re: add route entries in freebsd os.
In response to bsenthil <[EMAIL PROTECTED]>: > Thanks Horne, > > I have two interfaces > eth0 - 192.168.1.5 (gateway - 192.168.1.2) > eth1 -192.168.2.5 (gatwway - 192.168.2.2) > > and i try to add router entries in below order ... > > route add -net 192.168.100.5 192.168.4.2 255.255.255.0 (??? inteligent not > enough to decide which network goes to which > interface. which one it take eth0 / eth1) > > > route add -net 192.168.3.5 192.168.1.2 255.255.255.0 (inteligent enough to > decide which network goes to which > interface) > > > route add -net 192.168.4.5 192.168.2.2 255.255.255.0 (inteligent enough to > decide which network goes to which > interface) > > > Problem : How the freebsd os handle the first router entries. It will send it via the default router, which you didn't mention. However, there is an -interface modifier that can be used to control what you want. I don't think you're doing what you think you're doing, or at least, you're describing it poorly. Why not provide us with your existing configuration and the resultant errors? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: add route entries in freebsd os.
Written by bsenthil on 06/01/07 15:03>> Thanks Horne, I have two interfaces eth0 - 192.168.1.5 (gateway - 192.168.1.2) eth1 -192.168.2.5 (gatwway - 192.168.2.2) and i try to add router entries in below order ... route add -net 192.168.100.5 192.168.4.2 255.255.255.0 (??? inteligent not enough to decide which network goes to which interface. which one it take eth0 / eth1) You haven't laid out how to get to the 192.168.4/24 network, so the interface that is connected to the default route is the only legitimate choice the routing machinery has. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: add route entries in freebsd os.
Thanks Horne, I have two interfaces eth0 - 192.168.1.5 (gateway - 192.168.1.2) eth1 -192.168.2.5 (gatwway - 192.168.2.2) and i try to add router entries in below order ... route add -net 192.168.100.5 192.168.4.2 255.255.255.0 (??? inteligent not enough to decide which network goes to which interface. which one it take eth0 / eth1) route add -net 192.168.3.5 192.168.1.2 255.255.255.0 (inteligent enough to decide which network goes to which interface) route add -net 192.168.4.5 192.168.2.2 255.255.255.0 (inteligent enough to decide which network goes to which interface) Problem : How the freebsd os handle the first router entries. - bsenthil Jonathan Horne wrote: 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" 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, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: add route entries in freebsd os.
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" 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 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
add route entries in freebsd os.
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"