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 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 <[email protected]> wrote: > Ooops... My bad. I sent the email without putting a subject. Please reply > to this one instead. > > > ________________________________ > From: Michael Tinsay <[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. I now have a server who > will be receiving external traffic through these servers via port > forwarding. As I understand it, without any additional configuration the > server will send outside-bound traffic through via the default route. As > such, if Router A is the default route for the server, even if the traffic > 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

