Всем привет.
Подскажите плз почему так ? Проблема - шлюз (gw) видит комп 10.х.х.n из другой сети (pptp) , а компы в локалке - нет. Раньше все ок было, не уверен, что что-то менялось в конфигурации.
На шлюзе:
gw:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default $provip 0.0.0.0 UG 0 0 0 eth0
10.х.х.n 10.y.y.n 255.255.255.255 UGH 0 0 0 dsl0
10.y.y.n * 255.255.255.255 UH 0 0 0 dsl0
loopback * 255.0.0.0 U 0 0 0 lo
link-local * 255.255.0.0 U 0 0 0 eth0
$provnet * 255.255.255.0 U 0 0 0 eth0
$localnet * 255.255.255.0 U 0 0 0 eth1
$ext_modemip $provip 255.255.255.255 UGH 0 0 0 eth0
gw:~ # traceroute 10.х.х.n
traceroute to 10.х.х.n (10.х.х.n), 30 hops max, 40 byte packets using UDP
1 * 10.y.y.n (10.y.y.n) 325.615 ms 324.460 ms
2 * * *
3 10.х.х.n (10.х.х.n) 319.845 ms 318.685 ms *
gw:~ # ping 10.х.х.n
PING 10.х.х.n (10.х.х.n) 56(84) bytes of data.
64 bytes from 10.х.х.n: icmp_seq=1 ttl=126 time=28.0 ms
^C
less@a:/tmp$ route
Таблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface
default gw 0.0.0.0 UG 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
$localnet * 255.255.255.0 U 1 0 0 eth0
less@a:/tmp$ traceroute 10.х.х.n
traceroute to 10.х.х.n (10.х.х.n), 30 hops max, 60 byte packets
1 gw ($gwip) 0.237 ms 0.214 ms 0.201 ms
2 gw ($gwip) 0.208 ms 0.205 ms 0.218 ms
less@a:/tmp$ ping 10.х.х.n
PING 10.х.х.n (10.х.х.n) 56(84) bytes of data.
From $gwip icmp_seq=1 Destination Protocol Unreachable
^C