routing problem with two Internet connections
I got two ADSL lines, one without pppoe, one with. The connections are: eth0 ISP-1 61.220.121.18/248 eth1 ISP-2 61.70.213.173 eth2 free eth3 internal LAN (private address space) ifconfig shows: eth0 Link encap:Ethernet HWaddr 00:80:C8:B9:A1:A5 inet addr:61.220.121.18 Bcast:61.220.121.23 Mask:255.255.255.248 inet6 addr: fe80::280:c8ff:feb9:a1a5/10 Scope:Link inet6 addr: 2001:238:f00:9::a000/128 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14618682 errors:1 dropped:0 overruns:0 frame:0 TX packets:16239584 errors:10 dropped:0 overruns:0 carrier:10 collisions:0 txqueuelen:100 RX bytes:4197891829 (4003.4 Mb) TX bytes:3028376017 (2888.0 Mb) Interrupt:5 Base address:0xa800 eth1 Link encap:Ethernet HWaddr 00:80:C8:B9:A1:A6 inet addr:61.70.213.173 Bcast:61.255.255.255 Mask:255.255.255.0 inet6 addr: fe80::280:c8ff:feb9:a1a6/10 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:685 errors:7 dropped:0 overruns:0 frame:0 TX packets:3536 errors:21 dropped:0 overruns:0 carrier:21 collisions:0 txqueuelen:100 RX bytes:61002 (59.5 Kb) TX bytes:432531 (422.3 Kb) Interrupt:11 Base address:0xa400 eth3 Link encap:Ethernet HWaddr 00:80:C8:B9:A1:A8 inet addr:192.168.250.254 Bcast:192.168.250.255 Mask:255.255.255.0 inet6 addr: fe80::280:c8ff:feb9:a1a8/10 Scope:Link inet6 addr: 2001:238:f00:9::a003/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17057250 errors:1005 dropped:0 overruns:0 frame:1530 TX packets:14575498 errors:2666 dropped:0 overruns:0 carrier:2666 collisions:346724 txqueuelen:100 RX bytes:2543992672 (2426.1 Mb) TX bytes:2918081677 (2782.8 Mb) Interrupt:15 Base address:0x9800 ppp0 Link encap:Point-to-Point Protocol inet addr:10.255.1.171 P-t-P:203.133.3.34 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:324 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:30 (30.0 b) TX bytes:26994 (26.3 Kb) The inet addr changes on ppp0 every time I logon, but the P-t-P address remains. route shows: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface dns.elmit.com * 255.255.255.255 UH 1 0 0 dummy0 TPNOC1-ERX-BRAS * 255.255.255.255 UH 0 0 0 ppp0 NETWORK-1.ELMIT * 255.255.255.248 U 0 0 0 eth0 192.168.250.0 * 255.255.255.0 U 0 0 0 eth3 u213-0.u61-70.g * 255.255.255.0 U 0 0 0 eth1 default ADSL-1.ELMIT.CO 0.0.0.0 UG 0 0 0 eth0 default * 0.0.0.0 U 2 0 0 eth1 So far I could not see anything wrong. Watching my two ADSL ATU-R's I can ping: ping -I ppp0 www.hinet.net (the ATU-R flashes according to the ping), but 100% lost. ping -I eth1 www.hinet.net results in: (the ATU-R flashes according to the ping), but: From u213-173.u61-70.giga.net.tw (61.70.213.173) icmp_seq=xxx Destination Host Unreachable. What do I need to correct that? bye Ronald Ronald Wiplinger (ÃQ¤¯¯Ç), CEO, ELMIT - THE Internet Solution Provider Tel. +886 2 8809-7680, Fax. +886 2 2809-9158, Mobile: +886 915 653-452 Net2Phone:8869550066, ICQ: 111651169 http://www.elmit.com http://www.wiplinger.org
participants (1)
-
Ronald Wiplinger