Здравейте колеги.

Не мога да си обесня следното: защо, когато пусна tcptraceroute към хост,
който трябва да се вижда директно от рутера пътя минава през междинен хост,
който е част от вътрешната мрежа 192.168.1.0/24 на eth0? Или защо, когато не
съм указал интерфейса в командата tcptraceroute се опитва да го търси на
ppp0?

r...@backup:/var/spool/mqueue# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.10.10   0.0.0.0         255.255.255.255 UH    0      0        0 eth0
10.0.0.1        192.168.1.249   255.255.255.255 UGH   0      0        0 eth0
192.168.10.13   0.0.0.0         255.255.255.255 UH    0      0        0 eth0
192.168.1.101   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.42    0.0.0.0         255.255.255.255 UH    0      0        0 eth2
84.xxx.xxx.xxx    0.0.0.0         255.255.255.248 U     0      0        0
eth0
192.168.10.0    0.0.0.0         255.255.255.240 U     0      0        0 eth2
192.168.2.0     0.0.0.0         255.255.255.192 U     0      0        0 eth2
10.10.0.0       192.168.1.210   255.255.255.0   UG    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
84.xxx.xxx.0     0.0.0.0         255.255.248.0   U     0      0        0
eth1
0.0.0.0         84.xxx.xxx.xxx     0.0.0.0         UG    0      0        0
eth1

r...@backup:/var/spool/mqueue# traceroute -n 192.168.1.138
traceroute to 192.168.1.138 (192.168.1.138), 30 hops max, 38 byte packets
 1  192.168.1.138  0.642 ms  0.491 ms  0.760 ms

r...@backup:/var/spool/mqueue# tcptraceroute -i eth0 192.168.1.138 2322
Selected device eth0, address 192.168.1.253, port 34500 for outgoing packets
Tracing the path to 192.168.1.138 on TCP port 2322, 30 hops max
 1  192.168.1.22 (192.168.1.22) [unknown] 0.029 ms
    192.168.1.138 (192.168.1.138) [open]  0.887 ms  0.016 ms

r...@backup:/var/spool/mqueue# tcptraceroute 192.168.1.138 2322
Selected device ppp0, address 192.168.1.253, port 34506 for outgoing packets
Tracing the path to 192.168.1.138 on TCP port 2322, 30 hops max
 1  * * *
 2  *
r...@backup:/var/spool/mqueue#


Поздрави,
Мартин Колев


_______________________________________________
Lug-bg mailing list
[email protected]
http://linux-bulgaria.org/mailman/listinfo/lug-bg

Reply via email to