Review your favorite Linux distribution.
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, 04: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 05:24 PM
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 05:22 PM
How to make a specific command(s) work in a specific shell only naren_0101bits Linux - Newbie 3 08-28-2005 01:24 PM
Kernel programming - rerouting packets to a specific interface Solemn Phoenix Linux - Networking 2 08-16-2004 12:15 PM
limiting bandwidth on a specific network interface. Passive Linux - Networking 3 05-01-2002 04:20 AM > Forums > Linux Forums > Linux - Software

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