Solved

ip source routing

Posted on 2002-05-28
5
200 Views
Last Modified: 2010-03-18

Hi,

I have a changing IP-address on a ppp-device, and I have to use that address as a source to ping another machine via the ppp-device. The machine has lots of other firewall/routing rules, and many other devices have to connect straight via eth0 to the destination so I cannot use default route. So, what options do I have to give to ip route in order to route packets from a certain source to a machine via the ppp-device, and not the eth0/ipsec0/whatever. I use ipchains/ip/route, kernel is 2.2.x

0
Comment
Question by:acidia
5 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 25 total points
ID: 7038888
if you cannot use a special route, try iproute2 (aka  http://www.lartc.org/   linux Advanced Routing & Traffic Control)
0
 
LVL 16

Assisted Solution

by:The--Captain
The--Captain earned 25 total points
ID: 7086321
hehe - I think that's what acidia was talking about when s/he said "options to ip route"...

I've got a client running a system in exactly the same way (except that there are two ethernet interfaces, instead of a ppp link and a single ethernet interface).  I also have some old PAQs in the archives here at EE that tell how to do it...  I'll get back to you soon after I get some sleep - my brain is too tired to dig through those things right now.

Cheers,
-Jon
0
 

Expert Comment

by:CleanupPing
ID: 9078481
acidia:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10004274
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: ahoffmann {http:#7038888} & The--Captain {http:#7086321}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

paullamhkg
EE Cleanup Volunteer
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question