User Tools

Site Tools


documentation:examples:gre_ipsec_and_openvpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
documentation:examples:gre_ipsec_and_openvpn [2020/01/12 17:55] – [Router 1] olivierdocumentation:examples:gre_ipsec_and_openvpn [2020/01/12 17:56] – [Router 2] olivier
Line 97: Line 97:
  
 <code> <code>
-sysrc hostname=R2 +sysrc hostname=R2 \ 
-sysrc ifconfig_em0="inet 10.0.12.2/24" +  ifconfig_em0="inet 10.0.12.2/24" \ 
-sysrc ifconfig_em0_ipv6="inet6 2001:db8:12::2 prefixlen 64" +  ifconfig_em0_ipv6="inet6 2001:db8:12::2 prefixlen 64" \ 
-sysrc ifconfig_em1="inet 10.0.23.2/24" +  ifconfig_em1="inet 10.0.23.2/24" \ 
-sysrc ifconfig_em1_ipv6="inet6 2001:db8:23::2 prefixlen 64" +  ifconfig_em1_ipv6="inet6 2001:db8:23::2 prefixlen 64" \ 
-sysrc defaultrouter="10.0.23.3" +  defaultrouter="10.0.23.3" \ 
-sysrc ipv6_defaultrouter="2001:db8:23::3"+  ipv6_defaultrouter="2001:db8:23::3"
 ifconfig -l | grep -q vtnet && sed -i "" 's/em/vtnet/g' /etc/rc.conf ifconfig -l | grep -q vtnet && sed -i "" 's/em/vtnet/g' /etc/rc.conf
 hostname R2 hostname R2
documentation/examples/gre_ipsec_and_openvpn.txt · Last modified: 2023/07/10 12:40 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki