Вывод ifconfig -a во время работы сети:
Код: Выделить всё
[root@proxy ~]# ifconfig
vr0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:24:e8:a7:65:b3
inet 178.165.65.79 netmask 0xfffffc00 broadcast 178.165.67.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vr1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:22:b0:e1:e6:cf
media: Ethernet autoselect (none)
status: no carrier
vr2: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:14:2a:94:31:cb
inet 192.168.78.254 netmask 0xffffff00 broadcast 192.168.78.255
inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
ipfw0: flags=8800<SIMPLEX,MULTICAST> metric 0 mtu 65536
pflog0: flags=100<PROMISC> metric 0 mtu 33200
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
Во время сбоя в работе сети:
Код: Выделить всё
[root@proxy ~]# ifconfig
vr0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:24:e8:a7:65:b3
inet 178.165.65.79 netmask 0xfffffc00 broadcast 178.165.67.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vr1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:22:b0:e1:e6:cf
media: Ethernet autoselect (none)
status: no carrier
vr2: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:14:2a:94:31:cb
inet 192.168.78.254 netmask 0xffffff00 broadcast 192.168.78.255
inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
ipfw0: flags=8800<SIMPLEX,MULTICAST> metric 0 mtu 65536
pflog0: flags=100<PROMISC> metric 0 mtu 33200
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
вывод dmesg (последние строки), он остается все время тем же самым:
Код: Выделить всё
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/ad4s1a
vr0: promiscuous mode enabled
Последний вывод tcpdump перед пропаданием сети:
Код: Выделить всё
01:45:35.396923 IP ns.maxnet.ua.domain > undef-gukov-kh.maxnet.ua.13863: 8339 NXDomain[|domain]
01:45:35.397208 IP undef-gukov-kh.maxnet.ua.45921 > ns.maxnet.ua.domain: 8340+ PTR? 92.101.221.95.in-addr.arpa. (44)
01:45:35.399077 IP ednikdk1.la.net.ua.50497 > 178.165.66.95.44307: Flags [S], seq 2540192321, win 8192, options [mss 1460,nop,nop,sackOK], length 0
01:45:35.399347 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.401494 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.404144 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.405765 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.407738 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.409731 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.417249 IP n122z172l103.bb122100.ctm.net.14575 > undef-gukov-kh.maxnet.ua.6881: UDP, length 14
01:45:35.422621 IP 101.106.32.95.dsl-dynamic.vsi.ru.58779 > undef-gukov-kh.maxnet.ua.31892: UDP, length 103
01:45:35.435538 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.435555 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 188
01:45:35.436636 IP 64.34.22.229.42020 > 178.165.66.56.19791: UDP, length 103
01:45:35.448715 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.449300 IP dsl-189-134-184-24-dyn.prod-infinitum.com.mx.17737 > 178.165.66.56.19791: UDP, length 103
01:45:35.450346 ARP, Request who-has undef-gukov-kh.maxnet.ua tell gw-gukov-kh.maxnet.ua, length 46
01:45:35.453133 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.457200 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.460303 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.465822 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.468781 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.471492 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.473568 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.475768 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.478652 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.479112 IP 221-51-124-92.pppoe.irtel.ru.21686 > 178.165.66.141.54398: UDP, length 106
01:45:35.479939 IP 93-80-229-212.broadband.corbina.ru.20849 > 178.165.66.95.44307: UDP, length 67
01:45:35.480711 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.482698 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.484672 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.487362 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.489126 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.489187 IP ns.maxnet.ua.domain > undef-gukov-kh.maxnet.ua.45921: 8340 1/2/2 (159)
01:45:35.489504 IP undef-gukov-kh.maxnet.ua.58260 > ns.maxnet.ua.domain: 8341+ PTR? 169.125.171.79.in-addr.arpa. (45)
01:45:35.490145 IP ns.maxnet.ua.domain > undef-gukov-kh.maxnet.ua.58260: 8341* 1/2/4 (201)
01:45:35.490348 IP undef-gukov-kh.maxnet.ua.27942 > ns.maxnet.ua.domain: 8342+ PTR? 47.222.122.178.in-addr.arpa. (45)
01:45:35.490501 IP ntt9-ppp1862.osaka.sannet.ne.jp.25229 > 178.165.66.169.23579: UDP, length 98
01:45:35.491451 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.493381 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.506597 IP DCRP-curs00141.dhcp.unc.edu.https > undef-gukov-kh.maxnet.ua.57634: Flags [.], ack 16, win 64154, options [nop,nop,TS val 304006 ecr 378625177], length 0
01:45:35.515238 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.518404 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.523533 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.526799 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.529604 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.531358 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.533332 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.535327 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.537730 IP ns.maxnet.ua.domain > undef-gukov-kh.maxnet.ua.27942: 8342 NXDomain 0/1/0 (105)
01:45:35.538122 IP undef-gukov-kh.maxnet.ua.14494 > ns.maxnet.ua.domain: 8343+ PTR? 95.142.148.78.in-addr.arpa. (44)
01:45:35.546692 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.546719 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 188
01:45:35.546732 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 188
01:45:35.550407 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.552479 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.554254 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.554540 IP pc359h3023i25.med.unc.edu.https > undef-gukov-kh.maxnet.ua.65313: Flags [.], ack 1059, win 257, options [nop,nop,TS val 80324202 ecr 378625184], length 0
01:45:35.556158 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.558320 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.559349 IP epgw.tech-club.ru.59285 > undefined.maxnet.ua.61288: Flags [S], seq 1089630007, win 8192, options [mss 1440,sackOK,eol], length 0
01:45:35.560057 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.562501 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.564711 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.566555 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.568601 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.572754 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.575285 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.579559 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.581739 IP net24.181.94-167.chel.ertelecom.ru.16184 > undefined.maxnet.ua.57756: UDP, length 30
01:45:35.582123 IP 10.101.32.137.1203 > 239.0.1.101.1234: UDP, length 1316
01:45:35.583965 IP 41.218.236.142.12902 > undef-gukov-kh.maxnet.ua.35691: UDP, length 103
После команды
Сеть начинает работать снова.
Должен заметить что команда
довольно забавная для удаленно управляемого сервера. хорошая штука. (смеется)