All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Multiple Internet Interface Issue
@ 2001-07-09 22:13 D Webster
  2001-07-13 11:45 ` D Webster
  0 siblings, 1 reply; 2+ messages in thread
From: D Webster @ 2001-07-09 22:13 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 1921 bytes --]

Okay, here's the deal, (diagram below)

I currently have 3 NIC's configured in my Linux server. 
   eth0 serving the home network
   eth2 Cable modem to internet
   ppp0 ADSL to internet (through eth1)

Connections can be established from eth0 (192.168.0.0/255) 
                           and from eth2 (24.250.85.128/128).  Because eth2
has the first default route.

However, ppp0 has a problem.
Traffic is received from ppp0 there is no return traffic through that
interface
unless the first default route is directing traffic through ppp0. Meaning
nothing goes out through eth2.

At this point, all I want is for connections able to be successfully
established through both internet interfaces (ppp0, eth2). In its present
state if someone tries to access any services(ping/telnet/ssh/etc.) via the
interface not setup as the default route, the connections timeout.




Network Diagram   

 Intranet                                   Internet's

inet addr: 192.168.0.0                            eth2   inet addr:
24.250.85.201
Bcast: 192.168.0.255    eth0                                 Bcast:
24.250.85.255
Mask: 255.255.255.0                                             Mask:
255.255.255.128

                                                               ppp0   inet
addr: 207.30.233.216    
 
P-t-P: 207.30.233.1
 
Mask: 255.255.255.255
Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
207.30.233.1    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
#note: Is host
24.250.85.128   0.0.0.0         255.255.255.128 U     0      0        0 eth2
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         24.250.85.129   0.0.0.0         UG    0      0        0 eth2
#Default Route
0.0.0.0         207.30.233.1    0.0.0.0         UG    0      0        0 ppp0
#Default Route

Thanks for any help you can offer!
-Jon

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 5100 bytes --]

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

* Re: [LARTC] Multiple Internet Interface Issue
  2001-07-09 22:13 [LARTC] Multiple Internet Interface Issue D Webster
@ 2001-07-13 11:45 ` D Webster
  0 siblings, 0 replies; 2+ messages in thread
From: D Webster @ 2001-07-13 11:45 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
209.26.145.1    0.0.0.0         255.255.255.255 UH    0      0        0
ppp0
24.250.85.128   0.0.0.0         255.255.255.128 U     0      0        0
eth2
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
eth0
0.0.0.0         24.250.85.129   0.0.0.0         UG    0      0        0
eth2 #default route
0.0.0.0         209.26.145.1    0.0.0.0         UG    0      0        0
ppp0 #default route
 
These default routes were added automatically when the interfaces are
brought up separately. The IP address for ppp0 is 209.26.145.189. If I
try to ping 209.26.145.189 from an external machine over the internet,
the packets are received, but none are sent. What configuring is needed
for data to be sent and received over both interfaces (and retain their
source/destination addresses)?
 
Assuming you don't care about sending the data down the shortest path
(which would require something like BGP4), configure your kernel for
equal cost multipath and then just set both devices as your default
route.
 

[-- Attachment #2: Type: text/html, Size: 6756 bytes --]

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

end of thread, other threads:[~2001-07-13 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-09 22:13 [LARTC] Multiple Internet Interface Issue D Webster
2001-07-13 11:45 ` D Webster

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.