LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-28-2011, 08:55 AM   #1
shiva2011
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Multiple gateway routing!!


Sir,

We are having 5 more internet connections in my office and i am using 2 NIC cards and bind that 5 connections in eth0 like these :
IP
eth0 1.1.4.5-------- route add default gw 1.1.4.4
eth0:1 1.1.5.6-------- route add default gw 1.1.5.5
eth0:2 1.1.6.7-------- route add default gw 1.1.6.6
like these then eth1 contain some ip address 1.1.25.1 which was my client machines gateway.
Now i want to separate these gateways for particular systems in IPTABLES using SNAT rule.

1.1.25.5 to 1.1.25.15 through this gateway 1.1.4.4
1.1.25.16 to 1.1.25.26 through this gateway 1.1.5.5

can any one help me in this regard...
 
Old 09-30-2011, 09:20 AM   #2
teodz1984
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
I would also like some recommmendations on which ditros to use as a gateway for 2 WAN (separate ISPs)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Destination Host Unreachable On Multiple eth and Multiple Gateway sangprabv Linux - Networking 7 05-28-2010 10:51 AM
Routing through a gateway Tom Douglas Linux - Networking 7 10-25-2008 10:30 AM
Red Hat 9 Multiple gateway routing configuration problem neo_kryptik Linux - Networking 4 08-29-2007 10:21 AM
Linux Routing and Gateway GavSim Linux - Networking 1 02-08-2006 02:08 PM
Routing multiple subnets to multiple wans raven1000x Linux - Networking 1 03-10-2004 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration