LinuxQuestions.org
Register a domain and help support LQ
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 01-24-2003, 05:59 AM   #1
bakerv3
LQ Newbie
 
Registered: Jan 2003
Posts: 3

Rep: Reputation: 0
Question Advanced Routing


OK... I've got a routing problem on a Linux firewall. I'm using IPRoute2.

I'm trying to run Netmeeting between PC's 1 & 2 using both ISP connections.
(I have built Kernel with H323 module etc)
(I want the route to pass out to the Internet on one interface and in through the other. i.e. not internally through the firewall)

There is an ASCII diagram below.

PC's 1&2 have certain ports open (H323 Netmeeting stuff) statically PAT'd accross from the outside interfaces on the firewall.
PC's 1&2 access the Internet via static NAT to the outside interfaces on the firewall.
I have routing table rules in place to use 2 new routing tables depending on which PC traffic comes from. (the gateway for traffic from PC1 is via ISP1 and the gateway for traffic from PC2 is via ISP2.
Access to Netmeeting hosts on the Internet is fine from both PC's, but not to each other.

When I traceroute from PC1 to the firewall's ISP2 interface address (which is PAT'd across to PC2) it uses the local routing table and goes direct to it IGNORING it's custom routing table which says it should go via the Internet. (out through ISP1 and ISP2)

If I remove the address for ISP2's interface from the local table it
completely breaks the ISP2 connection.

Has anyone got any ideas on how to force traffic from PC1 to PC2 via the Internet????


ISP1 ISP2
| |
| |
-------------------------------
| Firewall |
-------------------------------
| |
| |
PC1 PC2



Thanks

Vince
linuxquestions@kesgrave.net
 
Old 01-24-2003, 06:04 AM   #2
bakerv3
LQ Newbie
 
Registered: Jan 2003
Posts: 3

Original Poster
Rep: Reputation: 0
OK... The diagram didn't come out right on the post... I'll try again.



ISP1...............ISP2
.....|.......................|
.....|.......................|
--------------------------
|.......Firewall...........|
--------------------------
....|........................|
....|........................|
PC1....................PC2
 
Old 01-24-2003, 07:22 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
super hint.. use a code block....
Code:
ISP1 ISP2
 |          |
 |          |
-------------------------------
 | Firewall |
-------------------------------
 |          |
 |          |
PC1 PC2
well.. you get the idea..!

Last edited by acid_kewpie; 01-24-2003 at 07:24 AM.
 
Old 01-24-2003, 07:54 AM   #4
bakerv3
LQ Newbie
 
Registered: Jan 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up

Ahhh Thanks
 
  


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
Advanced routing across multiple WAN links ? michaelsanford Linux - Networking 1 06-28-2005 10:23 PM
Routing help, a little more advanced than most howtos thebudbottle Linux - Networking 1 10-01-2004 09:14 PM
Advanced Networking - Multiple gateways, routing question/shorewall micaheli Linux - Networking 2 09-30-2004 01:05 AM
Advanced Routing Problem sirrus_linux Linux - Networking 6 09-22-2004 06:41 AM
Advanced routing questions ivanatora Linux - Networking 3 10-23-2003 05:01 AM


All times are GMT -5. The time now is 11:26 PM.

Main Menu
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