Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-11-2007, 05:35 PM   #1
Registered: Sep 2005
Location: Canada
Distribution: Fedora 12 i386
Posts: 56

Rep: Reputation: 15
Routing table problem - can't route over ppp link

I have succesfully established a ppp link between two offices, from one linux firewall to another. In this scenario FW1 initates the connection to FW2, and the addressing is as follows:

(Workstation) <---> (FW1 ) <------------------ppp------------------> (FW2) <---> (Workstation)

After the ppp link is established, my routes on FW1 are as follows:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface * UH 0 0 0 ppp0 * U 0 0 0 eth3 * U 0 0 0 eth2 * U 0 0 0 eth3
default UG 0 0 0 eth3

Now, a client ( on the left network tries to ping the remote firewall at but it never reaches the destination. Similarly, this client can't ping any workstation on the right ( So I added the route:
route add -net netmask dev ppp0

But still not working..... So, my questions are:

1. What routes do I have to add on FW1 to enable the left network to ping/access the remote firewall (FW2) and remote workstations (172.31.244.x)
2. What routes do I have to add to FW2 to enable the reverse?
3. What is the best place to add these routes so they are added & deleted as the tunnel goes up and down? (eg: in the event of a link failure)

Old 01-12-2007, 01:07 AM   #2
Registered: Sep 2005
Location: Canada
Distribution: Fedora 12 i386
Posts: 56

Original Poster
Rep: Reputation: 15
To make things more more info:

I can ping FW2 ( from FW1. It correctly routes out FW1's ppp interface (

What's strange however, is that a workstation on the left LAN cannot ping FW2. The workstation has (FW1 internal interface) set as its default gateway, but it appears that FW1 is routing the ping from the workstation out the EXTERNAL interface ( and not out the PPP interface ( (I can't be sure, but the tracert shows it going to devices not responding to tracert - just like my ISP's network).

Why would the firewall FW1 not route the workstation's ping out the ppp interface? Is this a major bug or something conceptual I'm missing here?

The route to clearly exists in FW1's routing table, yet FW1 is not sending the packets to ppp interface if the come from the left LAN. Ideas?


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
Default route disappears from kernel routing table second after adding it eli_pack Linux - Networking 2 03-13-2006 03:39 AM
I am not able to add a new route to my route table using route command prashanth s j Linux - Networking 2 09-03-2005 04:34 AM
routing table problem RH9 John Micheal Red Hat 5 04-15-2004 01:06 PM
Does ftp have a routing table on where to route users? digital bots Linux - Networking 1 04-06-2004 05:26 PM
route table problem fdr Linux - Networking 2 02-07-2004 07:33 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:31 AM.

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