LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-04-2003, 05:53 AM   #1
LQ Newbie
Registered: Nov 2002
Posts: 2

Rep: Reputation: 0
Unhappy Traffi forcing on a specific interface

Hi everyBody .. I am building my own "ping" program I did almost everything ..but there is this one option i don't know how to do .
I want to force the packets to go through a specific ethernet interface without consulting the rounting table i.e If the Rounting table says that network should be reached through eth0 ., I want to force My packets to go through eth1.

I know this is feasible cause you can do it from the usual ping command :
"ping -I eth1"

I read a lot about socket programming and till now didn't find a solution

Thanks alot guys


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
ssh forwarding : bind to a specific interface flupke Linux - Networking 9 12-09-2011 06:24 PM
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 06:22 PM
How to make a specific command(s) work in a specific shell only naren_0101bits Linux - Newbie 3 08-28-2005 02:24 PM
Kernel programming - rerouting packets to a specific interface Solemn Phoenix Linux - Networking 2 08-16-2004 01:15 PM
limiting bandwidth on a specific network interface. Passive Linux - Networking 3 05-01-2002 05:20 AM

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

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