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 07-11-2005, 10:16 AM   #1
smhs
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
eth1 and ppp0, need to send UDP packets through ppp0


Hello,

My linux has eth0, and my program creates ppp0 connection through modem. I need to send UDP packets from my program so that they go through ppp0 not through eth0. How this can be done?

Thank you.
--
Roman
 
Old 07-12-2005, 04:01 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Most udp packets will go down ppp0..

The exceptions are broadcast packets and some multicast packets.
So long as the ppp0 connection is the default route, it should work ok.
Do route -n to read the routing table.
 
Old 07-12-2005, 08:54 AM   #3
smhs
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for your reply!

It was indeed a problem of routing.
 
  


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
eth0 / eth1 and ppp0 ikarus Mandriva 8 11-26-2005 08:49 PM
ppp0,eth0,eth1 question Digital_Err0r Linux - Networking 1 09-22-2005 11:41 AM
Cannot receive any packets through ppp0 !! mister_0101 Linux - Networking 1 05-06-2005 05:52 PM
Endless Loop: ppp0 Unregister Netdevice: waiting for ppp0 to be free. oberon-ken-obi Linux - Networking 1 07-20-2004 11:04 PM
eth0 eth1 ppp0 janisj Linux - Networking 2 07-06-2003 01:55 PM


All times are GMT -5. The time now is 01:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration