Hi all,
Before any questions: Nice work in delivery every release on time, and with
quality.
Now to my doubt/questions:
I`m trying to configure a group of distributed machines using mgre(4) (and
later add iked). I`m using 7.6 on all hosts.
In my first attempt, I tried to tunnel private IPv4 over the public IPv6,
but the route add -host command showed on manpage fails:
# route add -host 172.17.55.1 2605:... -iface -ifp mgre0
add host 172.17.55.1: gateway 2605:...: Network is unreachable
Follow tried configuration (trimmed ipv6 address):
# ifconfig mgre0 tunneladdr 2a03:....
# ifconfig mgre0 inet 172.17.55.5 netmask 0xfffffff8
# ifconfig mgre0 up
# ifconfig mgre0
mgre0: flags=8841<UP,RUNNING,SIMPLEX,MULTICAST> mtu 1476
index 10 priority 0 llprio 3
encap: vnetid none txprio payload rxprio packet
groups: mgre
tunnel: inet6 2a03:.... ttl 64 nodf ecn
inet 172.17.55.5 netmask 0xfffffff8
# route add -host 172.17.55.1 2605:... -iface -ifp mgre0
add host 172.17.55.1: gateway 2605:...: Network is unreachable
#
If I tunnel ipv4 over ipv4 I have no problem.
My next question, now related to iked/ikev2 is: the example shown in
iked.conf(5) would work with mgre(4) without any adaptations?
ikev2 "other" transport \
proto gre \
from $local4 to $other4 \
peer $other_fqdn
$local4 and $other4 are the local and remote ipv4 address, and
$other_fqdn.
And my last question: I could use this mgre(4) network to exchange routes
by using ospf or bgp (or eigrp if "better" )?
Thanks for any given points, ideas or answers .
Mosconi