Netgear GSM7212P GSM5212P/GSM7212P/GSM7212F/GSM7224P Administration Manual - Page 383
CLI: Create a Tunnel, Con Switch GSM7328S_1, Con Switch GSM7328S_1
View all Netgear GSM7212P manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 383 highlights
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