-
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
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
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
:[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
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
-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
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
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
--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
Routing Question
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
10 matches
Mail list logo