Таблица маршрутизации
elpm@lin:~$ sudo route
[sudo] password for elpm:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.32.0.1 * 255.255.255.255 UH 0 0 0 ppp0
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
172.16.135.0 * 255.255.255.0 U 0 0 0 vmnet8
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.8.0 * 255.255.255.0 U 0 0 0 vmnet1
172.31.172.0 * 255.255.252.0 U 0 0 0 eth0
10.0.0.0 * 255.0.0.0 U 0 0 0 nrtap
224.0.0.0 * 240.0.0.0 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 ppp0
Результат tcpdump
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:39:05.280400 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:39:05.282160 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:39:05.283942 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:39:05.285724 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:39:05.287403 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:39:05.289311 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:39:05.290886 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:39:05.292749 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
Добавляю маршрут
elpm@lin:~$ sudo route add -net 172.20.0.128/29 dev eth0
elpm@lin:~$ sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.32.0.1 * 255.255.255.255 UH 0 0 0 ppp0
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
172.20.0.128 * 255.255.255.248 U 0 0 0 eth0
172.16.135.0 * 255.255.255.0 U 0 0 0 vmnet8
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.8.0 * 255.255.255.0 U 0 0 0 vmnet1
172.31.172.0 * 255.255.252.0 U 0 0 0 eth0
10.0.0.0 * 255.0.0.0 U 0 0 0 nrtap
224.0.0.0 * 240.0.0.0 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 ppp0
Результат tcpdump
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:47:09.809552 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:47:09.811274 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:47:09.813035 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:47:09.814817 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:47:09.816496 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
VLC не работает
Добавляю маршрут (этот маршрут мне непонятен - сеть 172.16.0.0
)
elpm@lin:~$ sudo route add -net 172.16.0.0/12 gw 172.31.175.254
elpm@lin:~$ sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.32.0.1 * 255.255.255.255 UH 0 0 0 ppp0
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
172.20.0.128 * 255.255.255.248 U 0 0 0 eth0
172.16.135.0 * 255.255.255.0 U 0 0 0 vmnet8
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.8.0 * 255.255.255.0 U 0 0 0 vmnet1
172.31.172.0 * 255.255.252.0 U 0 0 0 eth0
172.16.0.0 172.31.175.254 255.240.0.0 UG 0 0 0 eth0
10.0.0.0 * 255.0.0.0 U 0 0 0 nrtap
224.0.0.0 * 240.0.0.0 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 ppp0
Результат tcpdump
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:49:54.640498 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:49:54.642261 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:49:54.644103 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:49:54.645721 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
14:49:54.647503 IP (tos 0xa0, ttl 3, id 10, offset 0, flags [DF], proto UDP (17), length 1344)
172.20.0.133.5510 > 233.67.0.2.5510: [no cksum] UDP, length 1316
VLC не работает
Понимаю что проблема в маршрутизации. Как настроить не понимаю :-(