Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-11-2005, 10:16 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 4

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


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.
Old 07-12-2005, 04:01 AM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
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
LQ Newbie
Registered: Jul 2005
Posts: 4

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

It was indeed a problem of routing.


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 > Forums > Linux Forums > Linux - Networking

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