Re: IP Routing Question

2006-02-15 Thread Steve Douville
- From: Drew Tomlinson [EMAIL PROTECTED] To: Steve Douville [EMAIL PROTECTED] Cc: FreeBSD Questions freebsd-questions@freebsd.org Sent: Tuesday, February 14, 2006 2:57 PM Subject: Re: IP Routing Question On 2/14/2006 11:43 AM Steve Douville wrote: By default, it sets the netif to em0 OK

IP Routing Question

2006-02-14 Thread Steve Douville
I'm trying to set up the routing table to force requests to certain IP addresses to use a particular ethernet card. I've used the route command in a number of ways, but still can't come up with how to force to use em1 instead of em0, with the right gateway. em0 is aaa.bbb.ccc.207 em1 is

Re: IP Routing Question

2006-02-14 Thread Goran Gajic
Hi, You can try using ipf filter to impose source-policy routing: cat ipf.example pass in quick on em1 to em1:192.168.1.2 from 10.1.0.0/16 to a.b.c.d/32 ^d ipf -f ipf.example This way you will re-route all packets coming from source 10.1/16 to destination a.b.c.d to go to address

RE: IP Routing Question

2006-02-14 Thread fbsd_user
:[EMAIL PROTECTED] Behalf Of Goran Gajic Sent: Tuesday, February 14, 2006 9:44 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: IP Routing Question Hi, You can try using ipf filter to impose source-policy routing: cat ipf.example pass in quick on em1 to em1:192.168.1.2 from

Re: IP Routing Question

2006-02-14 Thread Drew Tomlinson
On 2/14/2006 5:44 AM Steve Douville wrote: I'm trying to set up the routing table to force requests to certain IP addresses to use a particular ethernet card. I've used the route command in a number of ways, but still can't come up with how to force to use em1 instead of em0, with the right

Re: IP Routing Question

2006-02-14 Thread Drew Tomlinson
-questions@freebsd.org Sent: Tuesday, February 14, 2006 1:45 PM Subject: Re: IP Routing Question What happens with a simple 'route add certain ip address aaa.bbb.ccc.196? Or am I misinterpreting what you wish to achieve? HTH, Drew ___ freebsd-questions

Re: IP Routing Question

2006-02-14 Thread Steve Douville
By default, it sets the netif to em0 - Original Message - From: Drew Tomlinson [EMAIL PROTECTED] To: Steve Douville [EMAIL PROTECTED] Cc: FreeBSD Questions freebsd-questions@freebsd.org Sent: Tuesday, February 14, 2006 2:40 PM Subject: Re: IP Routing Question On 2/14/2006 11:17 AM Steve

Re: IP Routing Question

2006-02-14 Thread Drew Tomlinson
Message - From: Drew Tomlinson [EMAIL PROTECTED] To: Steve Douville [EMAIL PROTECTED] Cc: FreeBSD Questions freebsd-questions@freebsd.org Sent: Tuesday, February 14, 2006 2:40 PM Subject: Re: IP Routing Question On 2/14/2006 11:17 AM Steve Douville wrote: Weird stuff... route add -host

Re: IP Routing Question

2006-02-14 Thread John Webster
--On Tuesday, February 14, 2006 11:40:45 -0800 Drew Tomlinson [EMAIL PROTECTED] wrote: On 2/14/2006 11:17 AM Steve Douville wrote: Weird stuff... route add -host aaa.bbb.ccc.209 aaa.bbb.ccc.196 -ifp em1 Shouldn't this be: route add -host aaa.bbb.ccc.ddd aaa.bbb.ccc.209 Where

Re: IP Routing Question

2006-02-14 Thread Steve Douville
Routing Question ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]