Cli: Create A Tunnel - NETGEAR ProSafe GSM5212P Software Administration Manual

Managed switch 9.0.2
Hide thumbs Also See for ProSafe GSM5212P:
Table of Contents

Advertisement

ProSafe Managed Switch

CLI: Create a Tunnel

Configure
Switch GSM7328S_1
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
(Netgear Switch) (Config)#ipv6 forwarding
(Netgear Switch) (Config)#ipv6 unicast-routing
(Netgear Switch) (Config)#interface 1/0/1
(Netgear Switch) (Interface 1/0/1)#routing
(Netgear Switch) (Interface 1/0/1)#ip address 192.168.1.1 255.255.255.0
(Netgear Switch) (Interface 1/0/1)#exit
(Netgear Switch) (Config)#interface tunnel 0
(Netgear Switch) (Interface tunnel 0)#ipv6 enable
(Netgear Switch) (Interface tunnel 0)#ipv6 address 2000::1/64
(Netgear Switch) (Interface tunnel 0)#tunnel mode ipv6ip
(Netgear Switch) (Interface tunnel 0)#tunnel source 192.168.1.1
(Netgear Switch) (Interface tunnel 0)#tunnel destination 192.1.168.1.2
(Netgear Switch) (Interface tunnel 0)#exit
(Netgear Switch) (Config)#exit
This example is using 6in4 mode. If you want to use 6to4 mode, configure each unit as below
and be sure the IPv6 prefix s constructed in the format of 2002:V4ADDR::/48.(V4ADDR is the
IPv4 address of the tunnel source port). In this case, IPv4 and the address is 192.168.1.1
and IPv6 prefix is 2002:c0a8:0101..
(Netgear Switch) (Interface tunnel 0) # ipv6 enable
(Netgear Switch) (Interface tunnel 0) # tunnel mode ipv6ip 6to4
(Netgear Switch) (Interface tunnel 0) # tunnel source 192.168.1.1
(Netgear Switch) (Interface tunnel 0) # ipv6 address 2002:c0a8:0101::1/128
(Netgear Switch) (Interface tunnel 0) # exit
(Netgear Switch) (Config) # ipv6 route 2002::/16 interface tunnel 0
Chapter 26. Tunnel
| 383

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosafe gsm7212fProsafe gsm7212pProsafe gsm7224p

Table of Contents