Portál AbcLinuxu, 10. května 2025 08:08
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default xxx.xxx.xxx.xxx UGS 42 181318495 age0
10.10.10.0/24 10.10.10.2 UGS 0 4765625 tun0
10.10.10.1 link#13 UHS 0 0 lo0
10.10.10.2 link#13 UH 0 0 tun0
127.0.0.1 link#7 UH 0 596 lo0
192.168.1.0 link#10 UH 0 0 gif2 =>
192.168.1.0/24 192.168.102.5 US 0 1486427 em0
192.168.14.0/24 link#3 U 2 132659719 vge0
192.168.14.1 link#3 UHS 0 0 lo0
192.168.16.0/24 link#4 U 0 8936 vge1
192.168.16.1 link#4 UHS 0 0 lo0
192.168.72.0 link#9 UH 0 0 gif1 =>
192.168.72.0/24 192.168.102.5 US 0 604007 em0
192.168.101.0 link#8 UH 0 0 gif0 =>
192.168.101.0/24 192.168.102.5 US 0 781097 em0
192.168.102.0 link#8 UHS 3 0 lo0 =>
192.168.102.0/24 link#1 U 490 817064430 em0
192.168.102.5 link#1 UHS 0 0 lo0
192.168.105.0/24 link#5 U 489 112577595 vge2
192.168.105.1 link#5 UHS 0 0 lo0
192.168.113.0 link#11 UH 0 9 gif3 =>
192.168.113.0/24 192.168.102.5 US 0 1102856 em0
192.168.130.0/24 192.168.102.5 US 0 0 em0
192.168.200.0/24 link#6 U 0 139949174 vge3
192.168.200.1 link#6 UHS 0 0 lo0
xxx.xxx.xxx.xxx/29 link#2 U 0 2028084 age0
xxx.xxx.xxx.xxx link#2 UHS 0 0 lo0
xxx.xxx.xxx.xxx link#2 UHS 0 898 lo0
xxx.xxx.xxx.xxx/28 link#2 U 0 19 age0
xxx.xxx.xxx.xxx link#2 UHS 0 0 lo0
xxx.xxx.xxx.xxx link#2 UHS 0 0 lo0
xxx.xxx.xxx.xxx link#2 UHS 0 0 lo0
xxx.xxx.xxx.xxx link#2 UHS 0 0 lo0
xxx.xxx.xxx.xxx link#2 UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%lo0/64 link#7 U lo0
fe80::1%lo0 link#7 UHS lo0
ff01:7::/32 fe80::1%lo0 U lo0
ff02::%lo0/32 fe80::1%lo0 U lo0
Inac tu je vypis z MAC OS X (Lion) kde sa objavuje tiez ICMP redirect ale tam to bez problemov chodi.
ping 192.168.1.35
PING 192.168.1.35 (192.168.1.35): 56 data bytes
36 bytes from 192.168.102.5: Redirect Host(New addr: 192.168.1.35)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 6ac1 0 0000 40 01 26d3 192.168.102.161 192.168.1.35
64 bytes from 192.168.1.35: icmp_seq=0 ttl=60 time=12.667 ms
36 bytes from 192.168.102.5: Redirect Host(New addr: 192.168.1.35)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 52d5 0 0000 40 01 3ebf 192.168.102.161 192.168.1.35
64 bytes from 192.168.1.35: icmp_seq=1 ttl=60 time=35.038 ms
36 bytes from 192.168.102.5: Redirect Host(New addr: 192.168.1.35)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 f8d7 0 0000 40 01 98bc 192.168.102.161 192.168.1.35
64 bytes from 192.168.1.35: icmp_seq=2 ttl=60 time=12.057 ms
36 bytes from 192.168.102.5: Redirect Host(New addr: 192.168.1.35)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 e7ac 0 0000 40 01 a9e7 192.168.102.161 192.168.1.35
64 bytes from 192.168.1.35: icmp_seq=3 ttl=60 time=11.623 ms
36 bytes from 192.168.102.5: Redirect Host(New addr: 192.168.1.35)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 9bb0 0 0000 40 01 f5e3 192.168.102.161 192.168.1.35
64 bytes from 192.168.1.35: icmp_seq=4 ttl=60 time=12.027 ms
36 bytes from 192.168.102.5: Redirect Host(New addr: 192.168.1.35)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 ecc0 0 0000 40 01 a4d3 192.168.102.161 192.168.1.35
64 bytes from 192.168.1.35: icmp_seq=5 ttl=60 time=13.516 ms
36 bytes from 192.168.102.5: Redirect Host(New addr: 192.168.1.35)
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 0054 f6db 0 0000 40 01 9ab8 192.168.102.161 192.168.1.35
64 bytes from 192.168.1.35: icmp_seq=6 ttl=60 time=11.471 ms
^C
--- 192.168.1.35 ping statistics ---
7 packets transmitted, 7 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.471/15.486/35.038/8.008 ms
route get 192.168.1.35
?
Kam to má skutečně směrovat? Zdá se mi to, nebo na těch gif interfacech používáš IP adresu xxx.xxx.xxx.0?
Nemohl bys přiložit nákres sítě?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.