Igor Goldenberg wrote:
I'm trying to test gre(4) tunnel.
Both machines in one LAN. OpenBSD has IP 192.50.51.52, another end -
192.50.51.28.
> [... cut ...]
First of all, use an empirical methodology.
Destroy your gre tunnel with
ifconfig gre0 down
ifconfig gre0 destroy
Clear your ARP table.
arp -ad
Try to reach 192.50.51.28. For example with ping or telnet to port 22.
Then check arp table entry
arp 192.50.51.28
If it still displays a different MAC address instead of what you
expect, it's not related with GRE. It really resolves to this address.
Check your network configuration (switches, IPs, etc) or your a priori.
If it's OK. Try again. It could be an outdated ARP entry.
After creating gre0 if, clear the arp table again. It should resolve to
the same MAC. If not, yes you've found a weird bug. (I don't guess so)
By looking at MAC's OUI part,
192.50.51.29 @ 00:16:cb:a2:8e:c5 seems like an Apple machine.
192.50.51.28 @ 00:e0:4d:02:d6:0e seems like an Internet Initiative
Japan's Machine or Ethernet card. (could be an nvidia nforce or an old
realtek card too)
Check these details for an easier troubleshooting session.
http://standards.ieee.org/regauth/oui/index.shtml
BTW, it'll be better to specify your version, your network cards, your
architecture. Attaching a dmesg is way simpler.