All of lore.kernel.org
 help / color / mirror / Atom feed
* Routing via multiple active PPP devices
@ 2006-03-06  7:34 Andre Bender
  2006-03-07 16:43 ` Martijn Lievaart
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Bender @ 2006-03-06  7:34 UTC (permalink / raw)
  To: netfilter

Hi,

for a mobile application we are using multiple internet connections 
(mostly ppp) to achive a high aviability. Normaly there are at least two 
open connections (e.g. eth0 and ppp0). Assuming the default route is set 
correct for use with eth0.

The software I'm writing is opening various sockets and binding them to 
the devices. Sending via eth0 is working flawlesly but sending via ppp0 
does not send at all.


Setup:
eth0      Link encap:Ethernet  HWaddr 00:D0:93:07:D5:BE
           inet addr:192.168.255.157  Bcast:192.168.255.255  	
		Mask:255.255.252.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

ppp0      Link encap:Point-Point Protocol
           inet addr:80.187.43.97  P-t-P:192.168.202.1
		Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1

Destination     Gateway         Genmask         Flags Iface
192.168.202.1   *               255.255.255.255 UH    ppp0
192.168.252.0   *               255.255.252.0   U     eth0
default         192.168.252.1   0.0.0.0         UG    eth0

My Question is: How do to setup route/iptables so a packet sent via a 
socket bound to eth0 is sent via eth0 and a packet sent on ppp0 is sent 
there?
I guess it has something to do with source routing but I couldn't figure 
out from the examples found on the net.

TIA
Andre


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-07 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06  7:34 Routing via multiple active PPP devices Andre Bender
2006-03-07 16:43 ` Martijn Lievaart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.