Страница 1 из 1
Падает routed
Добавлено: 2009-04-21 8:47:05
cxpoh
Добрый день, стоит сервер FreeBSD 7 STABLE
имеется другая сеть, связанная оптоволокном, чтобы машинки друг друга видели пишу /sbin/routed -s
Маршрутизация поднимается, пишу netstat -rn все в порядке, указано все. Через 5-10 минут связь падает, смотрю в таблицу маршрутизации - нету.
В память через sockstat -4clu routed сидит. В логах /var/logs/message ничего нету.
Куда может пропадать? Поотключал там arp и arpwatch которые я поднял для привязки ип к мак, та же история. =(
Порылся в форуме, ничего не нашел.
Re: Падает routed
Добавлено: 2009-04-21 9:01:24
hizel
Код: Выделить всё
-t increase the debugging level, which causes more information to be
logged on the tracefile specified with -T or standard out. The
debugging level can be increased or decreased with the SIGUSR1 or
SIGUSR2 signals or with the rtquery(8) command.
-T tracefile
increases the debugging level to at least 1 and causes debugging
information to be appended to the trace file. Note that because
of security concerns, it is wisest to not run routed routinely
with tracing directed to a file.
логов побольше!
Re: Падает routed
Добавлено: 2009-04-21 9:20:30
cxpoh
Код: Выделить всё
-- 10:11:16 --
Tracing actions started
Add interface msk0 192.168.19.8 -->192.168.19.0/24
RCVBUF=61440
turn on RIP
Add interface msk1 192.168.1.2 -->192.168.1.0/24
Add interface rl0 192.168.16.8 -->192.168.16.0/24
Add interface vr0 192.168.17.8 -->192.168.17.0/24
Add interface vr0 192.168.117.8 -->192.168.117.0/24 <ALIAS|NO_RIPV1_OUT|NO_RIPV2_OUT|NO_RDISC>
Add interface lo0 127.0.0.1 -->127.0.0.1/32 <LOOPBACK> <PASSIVE>
Add 127.0.0.1/32 -->127.0.0.1 metric=0 lo0 <IF>
Add 192.168.117.0 -->192.168.117.8 metric=0 vr0 <IF>
Add 192.168.17.0 -->192.168.17.8 metric=0 vr0 <IF>
Add 192.168.16.0 -->192.168.16.8 metric=0 rl0 <IF>
Add 192.168.1.0 -->192.168.1.2 metric=0 msk1 <IF>
Add 192.168.19.0 -->192.168.19.8 metric=0 msk0 <IF>
-- 10:11:16 --
ignore RTM_NEWMADDR for AF 0
ignore RTM_NEWMADDR for AF 0
ignore RTM_NEWMADDR without dst
ignore RTM_NEWMADDR without dst
ignore RTM_NEWMADDR for AF 0
ignore RTM_NEWMADDR for AF 0
ignore RTM_NEWMADDR without dst
ignore RTM_NEWMADDR without dst
-- 10:11:16 --
Add 78.24.30.244/32 -->192.168.17.10 metric=2 vr0 10:11:16
Add 81.13.13.28/32 -->192.168.17.10 metric=2 vr0 10:11:16
Add 192.168.11.0 -->192.168.17.10 metric=2 vr0 10:11:16
Add 192.168.12.0 -->192.168.17.10 metric=2 vr0 10:11:16
Add 192.168.13.0 -->192.168.17.10 metric=2 vr0 10:11:16
Add 192.168.14.0 -->192.168.17.10 metric=4 vr0 10:11:16
Add 192.168.26.0 -->192.168.17.10 metric=4 vr0 10:11:16
Add 192.168.30.0 -->192.168.17.10 metric=2 vr0 10:11:16
Add 192.168.32.0 -->192.168.17.10 metric=2 vr0 10:11:16
Add 192.168.36.0 -->192.168.17.10 metric=4 vr0 10:11:16
Add 192.168.66.0 -->192.168.17.10 metric=4 vr0 10:11:16
Add 192.168.111.0 -->192.168.17.10 metric=2 vr0 10:11:16
Add 192.168.112.0 -->192.168.17.10 metric=2 vr0 10:11:16
Add #1 192.168.117.0 -->192.168.17.10 metric=2 vr0 10:11:16
-- 10:11:16 --
Add #1 192.168.16.0 -->192.168.17.1 metric=1 vr0 10:11:16
Add #1 192.168.17.0 -->192.168.17.1 metric=1 vr0 10:11:16
Add #2 192.168.117.0 -->192.168.17.1 metric=1 vr0 10:11:16
-- 10:11:16 --
Add 192.168.1.1/32 -->192.168.1.1 metric=1 msk1 10:11:16
Add 0.0.0.0 -->192.168.1.1 metric=2 msk1 10:11:16
Add 213.85.178.208/32-->192.168.1.1 metric=2 msk1 10:11:16
-- 10:11:25 --
send all routes and inhibit dynamic updates for 2.309 sec
-- 10:11:55 --
send all routes and inhibit dynamic updates for 2.473 sec
-- 10:12:05 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:12:10 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:12:25 --
send all routes and inhibit dynamic updates for 2.987 sec
-- 10:12:55 --
send all routes and inhibit dynamic updates for 2.719 sec
-- 10:12:55 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:13:00 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:13:25 --
send all routes and inhibit dynamic updates for 2.576 sec
-- 10:13:42 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:13:46 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:13:55 --
send all routes and inhibit dynamic updates for 2.608 sec
-- 10:14:10 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:14:20 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:14:25 --
Chg 78.24.30.244/32 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
Chg 81.13.13.28/32 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
Chg 192.168.1.1/32 -->192.168.1.1 metric=1 msk1 10:11:16
metric=16
Chg 192.168.11.0 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
Chg 192.168.12.0 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
Chg 192.168.13.0 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
Chg 192.168.14.0 -->192.168.17.10 metric=4 vr0 10:11:16
metric=16
Chg 192.168.26.0 -->192.168.17.10 metric=4 vr0 10:11:16
metric=16
Chg 192.168.30.0 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
Chg 192.168.32.0 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
Chg 192.168.36.0 -->192.168.17.10 metric=4 vr0 10:11:16
metric=16
Chg 192.168.66.0 -->192.168.17.10 metric=4 vr0 10:11:16
metric=16
Chg 192.168.111.0 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
Chg 192.168.112.0 -->192.168.17.10 metric=2 vr0 10:11:16
metric=16
send all routes and inhibit dynamic updates for 2.434 sec
-- 10:14:48 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:14:49 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:14:55 --
send all routes and inhibit dynamic updates for 3.222 sec
send all routes and inhibit dynamic updates for 3.222 sec
-- 10:15:25 --
Del 78.24.30.244/32 -->192.168.17.10 metric=16 vr0 10:11:16
Del 81.13.13.28/32 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.1.1/32 -->192.168.1.1 metric=16 msk1 10:11:16
Del 192.168.11.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.12.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.13.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.14.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.26.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.30.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.32.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.36.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.66.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.111.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del 192.168.112.0 -->192.168.17.10 metric=16 vr0 10:11:16
Del #1 192.168.117.0 -->192.168.17.10 metric=2 vr0 10:11:16
send all routes and inhibit dynamic updates for 2.843 sec
-- 10:15:25 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:15:27 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:15:55 --
send all routes and inhibit dynamic updates for 4.086 sec
-- 10:16:10 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:16:10 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:16:25 --
send all routes and inhibit dynamic updates for 3.494 sec
-- 10:16:48 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:16:51 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:16:55 --
send all routes and inhibit dynamic updates for 3.644 sec
-- 10:17:25 --
send all routes and inhibit dynamic updates for 4.333 sec
-- 10:17:25 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:17:27 --
ignore ARP RTM_ADD from pid 0: 192.168.117.177/32
-- 10:17:55 --
send all routes and inhibit dynamic updates for 4.469 sec
192.168.117.0 - алиас vr0
Игнорирует адрес 192.168.117.177/32
Это что значит?
Re: Падает routed
Добавлено: 2009-04-21 10:06:06
hizel
Код: Выделить всё
Add interface vr0 192.168.117.8 -->192.168.117.0/24 <ALIAS|NO_RIPV1_OUT|NO_RIPV2_OUT|NO_RDISC>
может из-за этого? :-/
Re: Падает routed
Добавлено: 2009-04-21 10:11:56
cxpoh
Кхм, странно
Код: Выделить всё
rc.config
ifconfig_vr0="inet 192.168.17.8 netmask 255.255.255.0" #D-link PCI
ifconfig_vr0_alias0="inet 192.168.117.8 netmask 255.255.255.0" #D-link PCI