Tunnels for IPv6
529
Managed Switches
3. Configure the IPv6 address on the 6to4 tunnel in the format 2002:V4ADDR::Host/16, in
which where V4ADDR is the source IPv4 address of the tunnel. The prefix length for the
tunnel must be 16.
4. Configure a global IPv6 address on routing port 2/0/1.
5. Create a static IPv4 route to ensure that Switch 3 can reach Switch 1. You can also use a
routing protocol such as RIP or OSPF to let Switch 3 learn the route from Switch 1.
6. Verify the configuration.
(Netgear Switch) (Config)#interface tunnel 0
(Netgear Switch) (Interface tunnel 0)#ipv6 address 2002:c301:502::1/16
(Netgear Switch) (Interface tunnel 0)#ipv6 enable
(Netgear Switch) (Interface tunnel 0)#tunnel mode ipv6ip 6to4
(Netgear Switch) (Interface tunnel 0)#tunnel source 195.1.5.2
(Netgear Switch) (Interface tunnel 0)#exit
(Netgear Switch) (Config)#interface 2/0/24
(Netgear Switch) (Interface 2/0/24)#routing
(Netgear Switch) (Interface 2/0/24)#ipv6 address 8888::1/64
(Netgear Switch) (Interface 2/0/24)#ipv6 enable
(Netgear Switch) (Interface 2/0/24)#exit
(Netgear Switch) (Config)#ip route 195.1.3.0 255.255.255.0 195.1.5.1
(Netgear Switch) #show ipv6 route
IPv6 Routing Table - 3 entries
Codes: C - connected, S - static, 6To4 - 6to4 Route, B - BGP Derived
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF Ext 1, OE2 - OSPF Ext 2
ON1 - OSPF NSSA Ext Type 1, ON2 - OSPF NSSA Ext Type 2
C 2002::/16 [0/0]
via ::, tunnel 0
6To4 2002:c301:302::/48 [1/0]
via fe80::c301:501, 00h:50m:06s, tunnel 0
C 8888::/64 [0/0]
via ::, 2/0/24