Routing problem that is driving me mad
From: Marco Paglioni (nospam_at_netapps.it)
Date: 08/12/04
- Next message: upro: "Re: Public internet server on DSL connection"
- Previous message: karthik bala guru: "Re: How to detect WORMS/VIRUS that send spam"
- Next in thread: Marco Paglioni: "Re: Routing problem that is driving me mad"
- Reply: Marco Paglioni: "Re: Routing problem that is driving me mad"
- Reply: P Gentry: "Re: Routing problem that is driving me mad"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 12 Aug 2004 13:04:53 +0200
Hi
i have a routing problem...
i'm trying to balance traffic between two routers (one hdsl and one adsl)
i have followed instructions on the Linux advanced routing & traffi control,
but still i haven't managed to get all working. I can ping one of the two
routers at a time... the one whose the corresponding eth was started last.
The ping to the other router gives me network unreachable.
I'll post all output from some IP commands and the ifconfig
keep in mind that the two routers have addresses 80.17.101.233/29 e
82.190.246.169/24, and the corresponding eth1 and eth2 have the next ip in
that subnet. The eth0 (lan) 10.0.0.254, and that the two external interfaces
eth1 and eth2 are on a switch on their own with the two routers, separated
from the rest of the lan.
--------->IP ROUTE
80.17.101.232/29 dev eth1 proto kernel scope link src 80.17.101.234
82.190.246.168/29 dev eth2 proto kernel scope link src 82.190.246.170
10.0.0.0/16 dev eth0 proto kernel scope link src 10.0.0.254
169.254.0.0/16 dev eth1 scope link
default via 80.17.101.233 dev eth1
--------->IP ROUTE SHOW TABLE T1
80.17.101.232/29 dev eth1 scope link src 80.17.101.234
default via 80.17.101.233 dev eth1
--------->IP ROUTE SHOW TABLE T2
82.190.246.168/29 dev eth2 scope link src 82.190.246.170
default via 82.190.246.169 dev eth2
--------->IP RULE
0: from all lookup local
32764: from 82.190.246.170/29 lookup T2
32765: from 80.17.101.234/29 lookup T1
32766: from all lookup main
32767: from all lookup default
--------->IFCONFIG
eth0 Link encap:Ethernet HWaddr 00:0E:7F:EE:4C:A1
inet addr:10.0.0.254 Bcast:10.0.255.255 Mask:255.255.0.0
inet6 addr: fe80::20e:7fff:feee:4ca1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:120824 errors:0 dropped:0 overruns:0 frame:0
TX packets:94214 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29649100 (28.2 Mb) TX bytes:65356303 (62.3 Mb)
Interrupt:193
eth1 Link encap:Ethernet HWaddr 00:0E:7F:EE:4C:A0
inet addr:80.17.101.234 Bcast:80.17.101.239 Mask:255.255.255.248
inet6 addr: fe80::20e:7fff:feee:4ca0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:76767 errors:0 dropped:0 overruns:0 frame:0
TX packets:70356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:59851011 (57.0 Mb) TX bytes:18425091 (17.5 Mb)
Interrupt:201
eth2 Link encap:Ethernet HWaddr 00:40:05:32:B5:94
inet addr:82.190.246.170 Bcast:82.190.246.175
Mask:255.255.255.248
inet6 addr: fe80::240:5ff:fe32:b594/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:12607 (12.3 Kb)
Interrupt:225 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1524410 errors:0 dropped:0 overruns:0 frame:0
TX packets:1524410 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:211889986 (202.0 Mb) TX bytes:211889986 (202.0 Mb)
----------->ip route get 10.0.0.1 from 82.190.246.169 iif lo
10.0.0.1 from 82.190.246.169 via 82.190.246.169 dev eth2 src 82.190.246.170
cache mtu 1500 advmss 1460 iif lo
----------->ip route get 82.190.246.169 from 10.0.0.1 iif eth0
82.190.246.169 from 10.0.0.1 dev eth2 src 10.0.0.254
----------->ip route get 10.0.0.1 from 80.17.101.233 iif lo
10.0.0.1 from 80.17.101.233 via 80.17.101.233 dev eth1 src 80.17.101.234
----------->ip route get 80.17.101.233 from 10.0.0.01 iif eth0
80.17.101.233 from 10.0.0.1 dev eth1 src 10.0.0.254
- Next message: upro: "Re: Public internet server on DSL connection"
- Previous message: karthik bala guru: "Re: How to detect WORMS/VIRUS that send spam"
- Next in thread: Marco Paglioni: "Re: Routing problem that is driving me mad"
- Reply: Marco Paglioni: "Re: Routing problem that is driving me mad"
- Reply: P Gentry: "Re: Routing problem that is driving me mad"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|