Код: Выделить всё
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:88:a8:5b:9d:00
inet 192.168.10.254 netmask 0xffffff00 broadcast 192.168.10.255
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 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: re0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 2000000
member: tap1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 12 priority 128 path cost 2000000
member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 11 priority 128 path cost 2000000
непонятка следущего вида: почему с интерфейса re0 я не могу словить дхцпшные пакеты?
на виртуальные tap0, tap1 всё нормально прилетает..
Код: Выделить всё
root@kaktus:/shares # tcpdump -i bridge0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bridge0, link-type EN10MB (Ethernet), capture size 65535 bytes
04:11:59.606403 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:01:01:02 (oui Unknown), length 548
04:11:59.607426 IP 192.168.10.254 > 192.168.10.1: ICMP echo request, id 26625, seq 0, length 28
04:12:00.608709 IP 192.168.10.254.bootps > 192.168.10.1.bootpc: BOOTP/DHCP, Reply, length 300
04:12:02.301288 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:01:01:02 (oui Unknown), length 548
04:12:02.408538 IP 192.168.10.254.bootps > 192.168.10.1.bootpc: BOOTP/DHCP, Reply, length 303
04:12:02.786711 ARP, Request who-has 192.168.10.254 tell 192.168.10.1, length 46
04:12:02.786733 ARP, Reply 192.168.10.254 is-at 02:88:a8:5b:9d:00 (oui Unknown), length 28
04:12:02.793801 IP 192.168.10.1.wizard > 192.168.10.254.tftp: 32 RRQ "pxelinux.0" octet blksize 1432
04:12:02.812149 IP 192.168.10.254.22461 > 192.168.10.1.wizard: UDP, length 15