Newsgroup: it.comp.os.linux.sys
Titolo: Problemi di routing

Con il problema del thread precedente sono andato avanti
il risultato e' che le regole stanno su senza buttarmi fuori, ma posso
pingare (e quindi uscire) solo da uno dei due router alla volta... dipende
da quale delle due interfacce (eth1 e eth2) e' stata tirata su per ultima
vi posto gli output dei vari comandi IP premettendo che i due router in
questione hanno indirizzo 
80.17.101.233/29
 e 
82.190.246.169/24
, la eth0
(lan) 10.0.0.254, e che la eth1, la eth2 e i due router sono sullo stesso
switch, staccati da tutto il resto della 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

 ha scritto nel messaggio
news:cffi4d$5l7$1...@fata.cs.interbusiness.it...


> Con il problema del thread precedente sono andato avanti
Sicuramente hai fatto un pessimo quoting!
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?