Solved

ip source routing

Posted on 2002-05-28
5
198 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

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…
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

939 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now