LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-10-2014, 06:54 PM   #1
mrcbis
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Rep: Reputation: Disabled
Question policy routing with dinamically assigned ip address/default router with ppp


Hello all,
I have a system made with two network connection; eth1, that is a standard ethernet port, and a gprs modem. I use pppd to set up network link with the modem. I need to mirror some messages on both network link; the same message needs to be sent to the same server to different tcp port using both network link. After pppd has established connecction to the ISP I have two network card: eth1 and ppp0; I need to send the same message to the server using once the eth1 link and once the ppp0 link. The remote server has a public internet address. Suppose that I must send "1234" to port 10000 of the server using eth1 and to port 10001 of the same server using ppp0; I trued to setup a policy routing marking the packets whose destination port is 10001 and building a specific routing table with iproute2 suite. My problem is that the ppp link ha dynamically assigned ip address and default routing over the 3G link and I'm not able to manage that situation with iproute2. Moreover the ppp link has to be configured "on demand" so it is not always up (and present on the system). Can anyoune give me an help ?
Thanking you in advance

mrcbis
 
  


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
Max IP address assigned by router satimis Linux - Hardware 6 05-29-2014 11:04 PM
Tuning route cache for policy routing with two default routes royhills Linux - Networking 2 05-09-2014 03:19 AM
Setting Default Policy For Routing Server jlacroix Linux - Server 3 07-24-2013 12:28 AM
Samba System Policy, Default User Policy scooter549 Linux - General 2 02-24-2009 03:23 AM
Policy routing for multiple ppp connections paulos Linux - Networking 1 06-20-2004 03:02 AM

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

All times are GMT -5. The time now is 03:46 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