3 example of gre tunnel, Xample of, Unnel – PLANET XGS3-24042 User Manual

Page 373

Advertising
background image

43-7

ip route <ipv4-address/mask>

tunnel <ID>

no ip route <ipv4-address/mask>

tunnel <ID>

Configure the egress interface of the IPv4 static

route to GRE tunnel.

ipv6 route <ipv6-address/prefix>

tunnel <ID>

no ipv6 route

<ipv6-address/prefix> tunnel <ID>

Configure the egress interface of the IPv6 static

route to GRE tunnel.

43.3 Example of GRE Tunnel

The Typical Example of GRE Tunnel:

Figure 43-1 the typical network of IPv4 over IPv6 GRE tunnel character

Configuration summary:

Configure IPv6 network, and ensure IPv6 connectivity.

Configure the tunnel interface, and the interface that connect PC.

Configure the tunnel parameters and enable the tunnel interface.

Enable OSPF route protocol to forward the data between PC1 and PC2 through the tunnel.

2000:3000:1000::1/64

Interface e1/0/11

2005:3000:1000::2/64

Interface e1/0/12

2000:3000:1000::2/64

Interface e1/0/11

Switch C

V11

V12

2005:3000:1000::1/64

Interface e1/0/12

GRE tunnel

Switch A

Switch B

Tunnel1

100.1.1.1/24

Tunnel 1

100.1.1.2/24

10.1.1.2/24

Interface e1/0/10

20.1.1.2/24

Interface e1/0/10

V10

V20

10.1.1.1/24

20.1.1.1/24

PC1

PC2

Advertising
This manual is related to the following products: