Re: Recognizing traffic from multiple gateways
Michael Tinsay <tinsami1-/[email protected]> Sat, 2 Jul 2016 05:37:28 +0000 (UTC)
| Newsgroups | gmane.org.user-groups.linux.philippine |
|---|---|
| Message-ID | <[email protected]> |
--===============0316706086949955048==
Content-Type: multipart/alternative;
boundary="----=_Part_696650_1037788267.1467437848145"
------=_Part_696650_1037788267.1467437848145
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Thank you for the info fooler.
I get what you're saying about policy-based routing, but isn't that applica=
ble only to connections initiated by the server? =C2=A0Can policy-based rou=
ting also do "All connections initiated externally and coming through the r=
outer ip address so-and-so goes through that router"?
From: fooler mail <[email protected]>
To: Michael Tinsay <tinsami1-/[email protected]>; Philippine Linux Users' Group (PL=
UG) Technical Discussion List <[email protected]>=20
Sent: Saturday, 2 July 2016, 11:33
Subject: Re: [plug] Recognizing traffic from multiple gateways
=20
that is correct because traffic came from router A and B use the main
routing table... your solution is to use policy based routing....
create additional two routing table aside from the default or main
routing table.. for incoming traffic for A or B.... mark or tag it ...
upon out going.. your policy rule state that packet tag for A goes to
gateway of=C2=A0 A and tag for B goes to gateway of B.. non tag packets
goes to the main routing table's default gateway...
fooler.
On Thu, Jun 30, 2016 at 3:05 AM, Michael Tinsay <tinsami1-/[email protected]> wrote:
> Ooops...=C2=A0 My bad. I sent the email without putting a subject.=C2=A0 =
Please reply
> to this one instead.
>
>
> ________________________________
> From: Michael Tinsay <tinsami1-/[email protected]>
> To: "Philippine Linux Users' Group (PLUG) Technical Discussion List"
> <[email protected]>
> Sent: Thursday, 30 June 2016, 15:03
> Subject:
>
> Hi.
>
> Have a question for the tcp/ip experts here.
>
> I recently had to split my various DSL lines between 2 routers. So Router=
A
> have 3 lines connected to it while Router B has 2.=C2=A0 I now have a ser=
ver who
> will be receiving external traffic through these servers via port
> forwarding.=C2=A0 As I understand it, without any additional configuratio=
n the
> server will send outside-bound traffic through via the default route.=C2=
=A0 As
> such, if Router A is the default route for the server, even if the traffi=
c
> came from Router B the responses will be sent via Router A.
>
> If this is correct, what do I need to set up to have the server recognize
> which traffic is coming from which router and send its responses to the
> proper router accordingly?
>
> TIA!
>
>
> --- mike t.
>
>
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph
------=_Part_696650_1037788267.1467437848145
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<html><head></head><body><div style=3D"color:#000; background-color:#fff; f=
ont-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10=
px"><div>Thank you for the info fooler.</div><div id=3D"yui_3_16_0_ym19_1_1=
467426032972_39476"><br></div><div>I get what you're saying about policy-ba=
sed routing, but isn't that applicable only to connections initiated by the=
server? Can policy-based routing also do "All connections initiated =
externally and coming through the router ip address so-and-so goes through =
that router"?</div><div class=3D"qtdSeparateBR"><br><br></div><div class=3D=
"yahoo_quoted" id=3D"yui_3_16_0_ym19_1_1467426032972_39227" style=3D"displa=
y: block;"> <div style=3D"font-family: Courier New, courier, monaco, monos=
pace, sans-serif; font-size: 10px;" id=3D"yui_3_16_0_ym19_1_1467426032972_3=
9226"> <div style=3D"font-family: HelveticaNeue, Helvetica Neue, Helvetica,=
Arial, Lucida Grande, Sans-Serif; font-size: 16px;" id=3D"yui_3_16_0_ym19_=
1_1467426032972_39225"> <div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1467426032=
972_39224"> <font size=3D"2" face=3D"Arial" id=3D"yui_3_16_0_ym19_1_1467426=
032972_39223"> <hr size=3D"1"> <b><span style=3D"font-weight:bold;">From:</=
span></b> fooler mail <[email protected]><br> <b><span style=3D"f=
ont-weight: bold;">To:</span></b> Michael Tinsay <tinsami1-/[email protected]>=
; Philippine Linux Users' Group (PLUG) Technical Discussion List <plug@l=
ists.linux.org.ph> <br> <b><span style=3D"font-weight: bold;">Sent:</spa=
n></b> Saturday, 2 July 2016, 11:33<br> <b><span style=3D"font-weight: bold=
;">Subject:</span></b> Re: [plug] Recognizing traffic from multiple gateway=
s<br> </font> </div> <div class=3D"y_msg_container" id=3D"yui_3_16_0_ym19_1=
_1467426032972_39479"><br>that is correct because traffic came from router =
A and B use the main<br clear=3D"none">routing table... your solution is to=
use policy based routing....<br clear=3D"none">create additional two routi=
ng table aside from the default or main<br clear=3D"none">routing table.. f=
or incoming traffic for A or B.... mark or tag it ...<br clear=3D"none">upo=
n out going.. your policy rule state that packet tag for A goes to<br clear=
=3D"none">gateway of A and tag for B goes to gateway of B.. non tag p=
ackets<br clear=3D"none">goes to the main routing table's default gateway..=
.<br clear=3D"none"><br clear=3D"none">fooler.<br clear=3D"none"><br clear=
=3D"none"><br clear=3D"none"><div class=3D"yqt9443440303" id=3D"yqtfd55860"=
><br clear=3D"none">On Thu, Jun 30, 2016 at 3:05 AM, Michael Tinsay <<a =
shape=3D"rect" ymailto=3D"mailto:tinsami1-/[email protected]" href=3D"mailto:tinsami=
[email protected]">tinsami1-/[email protected]</a>> wrote:<br clear=3D"none">> Ooops=
... My bad. I sent the email without putting a subject. Please =
reply<br clear=3D"none">> to this one instead.<br clear=3D"none">><br=
clear=3D"none">><br clear=3D"none">> _______________________________=
_<br clear=3D"none">> From: Michael Tinsay <<a shape=3D"rect" ymailto=
=3D"mailto:tinsami1-/[email protected]" href=3D"mailto:tinsami1-/[email protected]">tinsami1@=
yahoo.com</a>><br clear=3D"none">> To: "Philippine Linux Users' Group=
(PLUG) Technical Discussion List"<br clear=3D"none">> <<a shape=3D"r=
ect" ymailto=3D"mailto:[email protected]" href=3D"mailto:[email protected]=
inux.org.ph">[email protected]</a>><br clear=3D"none">> Sent: T=
hursday, 30 June 2016, 15:03<br clear=3D"none">> Subject:<br clear=3D"no=
ne">><br clear=3D"none">> Hi.<br clear=3D"none">><br clear=3D"none=
">> Have a question for the tcp/ip experts here.<br clear=3D"none">><=
br clear=3D"none">> I recently had to split my various DSL lines between=
2 routers. So Router A<br clear=3D"none">> have 3 lines connected to it=
while Router B has 2. I now have a server who<br clear=3D"none">>=
will be receiving external traffic through these servers via port<br clear=
=3D"none">> forwarding. As I understand it, without any additional=
configuration the<br clear=3D"none">> server will send outside-bound tr=
affic through via the default route. As<br clear=3D"none">> such, =
if Router A is the default route for the server, even if the traffic<br cle=
ar=3D"none">> came from Router B the responses will be sent via Router A=
.<br clear=3D"none">><br clear=3D"none">> If this is correct, what do=
I need to set up to have the server recognize<br clear=3D"none">> which=
traffic is coming from which router and send its responses to the<br clear=
=3D"none">> proper router accordingly?<br clear=3D"none">><br clear=
=3D"none">> TIA!<br clear=3D"none">><br clear=3D"none">><br clear=
=3D"none">> --- mike t.</div><br clear=3D"none">><br clear=3D"none">&=
gt;<br clear=3D"none">><br clear=3D"none">> _________________________=
________________________<br clear=3D"none">> Philippine Linux Users' Gro=
up (PLUG) Mailing List<br clear=3D"none">> <a shape=3D"rect" href=3D"htt=
p://lists.linux.org.ph/mailman/listinfo/plug" target=3D"_blank">http://list=
s.linux.org.ph/mailman/listinfo/plug</a><br clear=3D"none">> Searchable =
Archives: <a shape=3D"rect" href=3D"http://archives.free.net.ph/" target=3D=
"_blank">http://archives.free.net.ph</a><br clear=3D"none">________________=
_________________________________<br clear=3D"none">Philippine Linux Users'=
Group (PLUG) Mailing List<br clear=3D"none"><a shape=3D"rect" href=3D"http=
://lists.linux.org.ph/mailman/listinfo/plug" target=3D"_blank">http://lists=
.linux.org.ph/mailman/listinfo/plug</a><br clear=3D"none">Searchable Archiv=
es: <a shape=3D"rect" href=3D"http://archives.free.net.ph/" target=3D"_blan=
k">http://archives.free.net.ph</a><div class=3D"yqt9443440303" id=3D"yqtfd2=
1191"><br clear=3D"none"></div><br><br></div> </div> </div> </div></div></=
body></html>
------=_Part_696650_1037788267.1467437848145--
--===============0316706086949955048==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph
--===============0316706086949955048==--