The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
FreeBSD и мосты , !*! Chris, 22-Фев-12, 15:34  [смотреть все]
Приветствую, коллеги!

Существует следующая схема, простая донельзя:

роутер ---- мост на freebsd 9 ---- кастомеры

Мост:

bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:9b:ce:33:b9:00
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 1000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: em2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 3 priority 128 path cost 20000
        member: em1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 2 priority 128 path cost 20000

IPFW:

00001 allow ip from 192.168.5.0/24 to 192.168.5.0/24 via em0
00002 allow log logamount 10000 ip from any to any layer2
00003 allow log logamount 10000 ip from any to any out layer2
00004 allow log logamount 10000 ip from any to any layer2 mac-type 0x0806
00050 count log logamount 1000 ip from any to any mac-type 0x0806
00060 allow log logamount 10000 ip from any to any layer2
00100 allow log logamount 10000 ip from any to any layer2 not mac-type 0x0800
00120 allow log logamount 10000 ip from any to any mac-type 0x0806
00200 allow log logamount 10000 ip from any to any


Проблема в следующей, пытаюсь пинговать роутьер, на нём вижу свой мак адрес (за мостом разумеется), но ответ не получаю...

Интерфйейс em2 это клиентская сеть:

15:30:05.293575 ARP, Request who-has 192.168.4.1 tell 192.168.4.6, length 46
15:30:10.793650 ARP, Request who-has 192.168.4.1 tell 192.168.4.6, length 46

bridge0:

15:30:38.293975 ARP, Request who-has 192.168.4.1 tell 192.168.4.6, length 46
15:30:43.794049 ARP, Request who-has 192.168.4.1 tell 192.168.4.6, length 46

em1 это на роутер:

15:31:11.294425 ARP, Request who-has 192.168.4.1 tell 192.168.4.6, length 46
15:31:16.794445 ARP, Request who-has 192.168.4.1 tell 192.168.4.6, length 46

Впечатление, что именно роутер 192.168.4.1 и не отвечает... Но! На нем виден мак адрес 192.168.4.6...


в дебагах файрвола:

Feb 22 15:32:47 kernel: ipfw: 2 Accept MAC in via bridge0
Feb 22 15:32:47 kernel: ipfw: 2 Accept MAC in via em2
Feb 22 15:32:48 kernel: ipfw: 2 Accept MAC in via em1


Подскажите, где может быть засада?





Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру