|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Alexander Kolesnikoff 2:5020/400 20 Aug 2004 09:50:14 To : "Oleg K.V." Subject : Re: Роутинг в нуль -------------------------------------------------------------------------------- Oleg K.V. <kov@binet.com.ua> wrote: >>>> >>>discX - это конечно то, но несовсем... роут в него не дает icmp >>>ответ host unrecheble... >>> >> Какая необходимость требует наличия этих самых unreacheble ? И потом, >> > ...RFC А подумать? > >> разве кисковский Null0 генерит icmp ? >> > ...yes or no ? Фрагмент таблицы маршрутизации с киски: Gateway of last resort is 172.16.253.1 to network 0.0.0.0 169.254.0.0/24 is subnetted, 1 subnets S 169.254.0.0 is directly connected, Null0 172.16.0.0/16 is variably subnetted, 19 subnets, 4 masks C 172.16.253.0/30 is directly connected, Ethernet0/0 C 172.16.254.39/32 is directly connected, Async39 C 172.16.254.37/32 is directly connected, Async43 C 172.16.254.42/32 is directly connected, Async51 C 172.16.254.43/32 is directly connected, Async54 C 172.16.254.44/32 is directly connected, Async34 S 172.16.48.0/24 [1/0] via 172.16.32.220 S 172.16.49.0/24 [1/0] via 172.16.32.220 S 172.16.44.0/24 [1/0] via 172.16.254.44 S 172.16.45.0/24 [1/0] via 172.16.32.66 S 172.16.46.0/24 [1/0] via 172.16.32.66 S 172.16.47.0/24 [1/0] via 172.16.32.220 S 172.16.42.0/24 is directly connected, Async51 S 172.16.43.0/24 is directly connected, Async54 S 172.16.37.0/24 is directly connected, Async43 S 172.16.38.0/24 [1/0] via 172.16.32.66 S 172.16.39.0/24 is directly connected, Async39 C 172.16.32.0/22 is directly connected, Ethernet0/0 C 172.16.35.81/32 is directly connected, Async35 S 0.0.0.0/8 is directly connected, Null0 S* 0.0.0.0/0 [1/0] via 172.16.253.1 S 172.16.0.0/12 is directly connected, Null0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Конфигурация интерфейса, на который маршрутизируется вся 172.16.0.0/12 сеть: Ethernet0/0 is up, line protocol is up Internet address is 172.16.32.69/22 Broadcast address is 255.255.255.255 Directed broadcast forwarding is enabled Secondary address 172.16.253.2/30 Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is enabled IP fast switching on the same interface is disabled IP Flow switching is enabled IP CEF switching is enabled IP CEF Flow Fast switching turbo vector IP multicast fast switching is disabled IP multicast distributed fast switching is disabled IP route-cache flags are Fast, Flow, Policy, CEF, Flow Cache При попытке соединения без маршрута, подчёркнутого выше, получаем: root@hvv:~ telnet 172.29.0.1 Trying 172.29.0.1... telnet: connect to address 172.29.0.1: No route to host telnet: Unable to connect to remote host и tcpdump показывет посланный киской icmp-пакет. При наличии маршрута в Null0: root@hvv:~ telnet 172.29.0.1 Trying 172.29.0.1... telnet: connect to address 172.29.0.1: Operation timed out telnet: Unable to connect to remote host Что я делаю не так, и как заставить киску при наличии маршрута в Null0 генерить icmp unreach ? Alexander --- ifmail v.2.15dev5.3 * Origin: UKU (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/7525df4ee811.html, оценка из 5, голосов 10
|