etherip0 and bridge0 were not up. I added the up keyword into /etc/hostname.bridge0 and /etc/hostname.etherip0.
Thanks to Pierre. Now, I can see traffic crossing the etherip tunnel. But ARP is still not fully working. I investigate... 2017-02-03 15:11 GMT+01:00 jean-yves boisiaud < jean-yves.boisi...@alcor-consulting.fr>: > hello, > > i'm trying to set an etherip bridge between two OBSD VM which are inside > two ESXi servers. > > I configured bridges and etherip interfaces as said in manual etherip(4). > > private lan1 ----- host1 ---------------- host2 ----- private lan2 > > host1 public address : vmx0, 10.91.178.3 > host2 public address : vmx0, 10.91.219.52 > > private lan1 address and private lan2 address are on vmx1 â > > âfrom host1, I can ping host2 (ping â10.91.219.52) : ok > but, from another host in private lan1 (192.168.33.1), I cannot ping > another host in private lan2 (192.168.33.2). > > I can see arp requests on host1 vmx1, but there is no traffic on bridge0, > neither on etherip0 or vmx0. > > I do not see what is wrong in my configuration. > > Thank you for your help. > > on host1 : > > OpenBSD 6.0 > > sysctl net.inet.ip.forwarding net.inet.etherip.allow > net.inet.ip.forwarding=1 > net.inet.etherip.allow=1 > > ifconfig vmx0 > vmx0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> > mtu 1500 > lladdr a0:36:9f:c0:05:b8 > index 1 priority 0 llprio 3 > media: Ethernet autoselect (10GbaseT) > status: active > inet 10.91.178.3 netmask 0xffffff80 broadcast 10.91.178.127 > > ifconfig vmx1 > vmx1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> > mtu 1500 > lladdr 00:0c:29:15:34:56 > index 2 priority 0 llprio 3 > media: Ethernet autoselect (10GbaseT) > status: active > inet 192.168.33.254 netmask 0xffffff00 broadcast 192.168.33.255 > > ifconfig etherip0 > etherip0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500 > lladdr fe:e1:ba:d0:7e:f0 > index 6 priority 0 llprio 3 > groups: etherip > media: Ethernet autoselect > status: active > tunnel: inet 10.91.178.3 -> 10.91.219.52 > > ifconfig bridge0 > bridge0: flags=0<> > index 7 llprio 3 > groups: bridge > priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto > rstp > designated: id 00:00:00:00:00:00 priority 0 > etherip0 flags=3<LEARNING,DISCOVER> > port 6 ifpriority 0 ifcost 0 > vmx1 flags=3<LEARNING,DISCOVER> > port 2 ifpriority 0 ifcost 0 > Addresses (max cache: 100, timeout: 240): > > -- > Jean-Yves Boisiaud - Alcor Consulting > 24, rue de la Glycine > 49250 Saint Remy la Varenne > mobile : +33 6 63 71 73 46 <+33%206%2063%2071%2073%2046> fixe : +33 9 72 > 41 19 35 <+33%209%2072%2041%2019%2035> > -- Jean-Yves Boisiaud - Alcor Consulting 24, rue de la Glycine 49250 Saint Remy la Varenne mobile : +33 6 63 71 73 46 fixe : +33 9 72 41 19 35