|
|
|
|
|
|
| Author |
Message |
DoN. Nichols *nix forums beginner
Joined: 20 Feb 2005
Posts: 33
|
Posted: Tue May 16, 2006 4:55 am Post subject:
Re: two external intarfaces
|
|
|
According to lost <nospam.reader@super.int.pl>:
| Quote: | It is not very clear to me what you want to do, and since you received
no other responses, this seems to be the rule.
What is your setup, IP-wise, and what does your routing table looks
like? What do you want to do with traffic?
Joachim
I have 2 interfaces connected to internet.
One of them act as default in route table as usual.
If I send eg. ping to a second interface address then icmp reply is shown
outgoing on the first interface instead of to be send out through the second
one.
The reply should be directed back through the second interface as well,
as expected result by using the option reply-to.
|
It sounds as though you have both interfaces connected to the
same subnet. What is this intended to accomplish?
You would probably have better results if the two interfaces
were connected to separate nets.
But until we have more information, all we can do is guess.
Good luck,
DoN.
--
Email: <dnichols@d-and-d.com> | Voice (all times): (703) 938-4564
(too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero --- |
|
| Back to top |
|
 |
lost *nix forums beginner
Joined: 12 Mar 2005
Posts: 15
|
Posted: Mon May 15, 2006 4:24 pm Post subject:
Re: two external intarfaces
|
|
|
| Quote: | It is not very clear to me what you want to do, and since you received
no other responses, this seems to be the rule.
What is your setup, IP-wise, and what does your routing table looks
like? What do you want to do with traffic?
Joachim
I have 2 interfaces connected to internet. |
One of them act as default in route table as usual.
If I send eg. ping to a second interface address then icmp reply is shown
outgoing on the first interface instead of to be send out through the second
one.
The reply should be directed back through the second interface as well,
as expected result by using the option reply-to. |
|
| Back to top |
|
 |
jKILLSPAM.schipper@math.u *nix forums Guru Wannabe
Joined: 13 Nov 2005
Posts: 202
|
Posted: Mon May 15, 2006 9:50 am Post subject:
Re: two external intarfaces
|
|
|
lost <nospam.reader@super.int.pl> wrote:
| Quote: | I have two external interfaces with OBSD 3.9 box.
If I try to connect to 2nd "ext_if" PF seems to direct all response packets
to the default gateway (1st ext_if).
The rules below don't make a proper job:
# pass in log on $ext_if2 reply-to ($ext_if2 $ext_gw2) inet proto tcp from
any to $ext_if2 keep state
# pass out on $ext_if2 route-to ($ext_if1 $ext_gw1) from $ext_if1 to any
# pass out on $ext_if1 route-to ($ext_if2 $ext_gw2) from $ext_if2 to any
Should I delete default route from route table?
|
It is not very clear to me what you want to do, and since you received
no other responses, this seems to be the rule.
What is your setup, IP-wise, and what does your routing table looks
like? What do you want to do with traffic?
Joachim |
|
| Back to top |
|
 |
lost *nix forums beginner
Joined: 12 Mar 2005
Posts: 15
|
Posted: Sat May 13, 2006 8:00 pm Post subject:
two external intarfaces
|
|
|
I have two external interfaces with OBSD 3.9 box.
If I try to connect to 2nd "ext_if" PF seems to direct all response packets
to the default gateway (1st ext_if).
The rules below don't make a proper job:
# pass in log on $ext_if2 reply-to ($ext_if2 $ext_gw2) inet proto tcp from
any to $ext_if2 keep state
# pass out on $ext_if2 route-to ($ext_if1 $ext_gw1) from $ext_if1 to any
# pass out on $ext_if1 route-to ($ext_if2 $ext_gw2) from $ext_if2 to any
Should I delete default route from route table?
Tnx for suggestions |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Wed Jan 07, 2009 9:21 pm | All times are GMT
|
|
Credit Card | Bankruptcy | Debt Consolidation | Loans | Xbox Mod Chip
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|