Bug nebo ficura - arp na virtualnim device mezi verzemi bsd
Radek Krejča
radek.krejca at starnet.cz
Sat Nov 24 20:43:37 CET 2012
> Puvodne jsem chtel napsat, ze tebou popsany problem jsem nezaznamenal,
> ale pak jsem si uvedomil, ze problem je popsany natolik vagne, ze
> vlastne nevim, jestli mluvime o tomtez ...
Aha, dobra, pokusim se upresnit, ono to bude mozna mnohem lepsi na prikladu. Jinak vubec neresim okolni svet - resim v ramci daneho stroje.
Takze jak to vypada na 8.2:
%ifconfig em1
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
ether 00:25:90:50:29:82
inet 10.201.0.1 netmask 0xffffffe0 broadcast 10.201.0.31
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
%ping -c 1 10.201.0.1
PING 10.201.0.1 (10.201.0.1): 56 data bytes
64 bytes from 10.201.0.1: icmp_seq=0 ttl=64 time=0.044 ms
--- 10.201.0.1 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.044/0.044/0.044/0.000 ms
%arp 10.201.0.1
? (10.201.0.1) at 00:25:90:50:29:82 on em1 permanent [ethernet]
A nyni na vlanu, stale 8.2
vlan356: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:25:90:50:29:82
inet 10.201.15.65 netmask 0xffffffe0 broadcast 10.201.15.95
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 356 parent interface: em1
%ping -c 1 10.201.15.65
PING 10.201.15.65 (10.201.15.65): 56 data bytes
64 bytes from 10.201.15.65: icmp_seq=0 ttl=64 time=0.028 ms
--- 10.201.15.65 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.028/0.028/0.028/0.000 ms
%arp 10.201.15.65
? (10.201.15.65) at 00:25:90:50:29:82 on vlan356 permanent [vlan]
A nyni to same na 9.0, napred fyzicka sitovka:
%ifconfig em1
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
ether 00:25:90:78:79:6a
inet 10.219.200.1 netmask 0xffffff00 broadcast 10.219.200.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
%ping -c 1 10.219.200.1
PING 10.219.200.1 (10.219.200.1): 56 data bytes
64 bytes from 10.219.200.1: icmp_seq=0 ttl=64 time=0.027 ms
--- 10.219.200.1 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.027/0.027/0.027/0.000 ms
%arp 10.219.200.1
? (10.219.200.1) at 00:25:90:78:79:6a on em1 permanent [ethernet]
I v tomto pripade mi prikaz arp vrati mac adresu.
Ovsem na vlanu uz ne:
vlan338: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:25:90:78:79:6a
inet 10.219.39.33 netmask 0xffffffe0 broadcast 10.219.39.63
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 338 parent interface: em1
%ping -c 1 10.219.39.33
PING 10.219.39.33 (10.219.39.33): 56 data bytes
64 bytes from 10.219.39.33: icmp_seq=0 ttl=64 time=0.026 ms
--- 10.219.39.33 ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.026/0.026/0.026/0.000 ms
%arp 10.219.39.33
10.219.39.33 (10.219.39.33) -- no entry
Radek
More information about the Users-l
mailing list