LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-28-2012, 07:36 AM   #1
switzergtr
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Firewall/Routing Rule in CentOS/Linux for this setup


Hi, i have two ethernet interfaces namely eth0 and eth1.
Now i want to implement an advance routing rule but i am totally new to firewall/routing rules in linux.

Here is what i am trying to do:

So both my interfaces are up and connected to internet. I want to be able to decide dynamically based on the type of traffic that through which interface it should go out.

for example, if it is http traffic, i want it to use eth0 and if it is ftp etc traffic, i want it to use eth1, while different type of traffic could have the SAME destination IP address.

Please tell me how can i accomplish this task,

Thanks,

Last edited by switzergtr; 11-28-2012 at 07:56 AM.
 
Old 11-28-2012, 11:16 AM   #2
adol83
Member
 
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Rep: Reputation: 1
I guess you need a dispatcher to do that.
 
Old 12-07-2012, 06:21 AM   #3
switzergtr
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by adol83 View Post
I guess you need a dispatcher to do that.
Can you provide a little more information please how can i do that?
 
Old 12-07-2012, 09:12 AM   #4
adol83
Member
 
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Rep: Reputation: 1
Look, I am sort of new to Rhel and I'm learning so someone more skilled would be a lot useful.

Dispatcher should balance network entrance traffic, unfortunately I cannot say anything more because I do not want to say wrong things.

Let's wait for someone with a better skill than me.

Try to check LVS (Linux Virtual Server) though, for further information. That is the kernel module.

I am sorry I'm so poor of useful information

Davide
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
iptables rule for routing bkcreddy17 Linux - Networking 2 08-29-2008 05:38 AM
Routing issue with two linux with firewall sajjad81 Linux - Networking 1 04-06-2007 06:41 PM
policy rule routing problem - help me pandanvn Linux - Networking 3 04-02-2007 07:24 PM
policy rule routing problem - help me pandanvn Linux - Networking 0 03-16-2007 01:03 AM
routing and ip rule mebaro Linux - Networking 4 01-03-2006 11:48 PM


All times are GMT -5. The time now is 03:24 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration