Point-to-point gre tunnel configuration example, Figure 16, Configuring point-to-point gre tunnel for device a – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 125: Configuring point-to-point gre tunnel for device b, Device a

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

107

53-1002603-01

IPv4 point-to-point GRE tunnels

Point-to-point GRE tunnel configuration example

In the configuration example shown in Figure 16, a GRE Tunnel is configured between device A and
device B. Traffic between networks 10.10.1.0/24 and 10.10.2.0/24 is encapsulated in a GRE
packet sent through the tunnel on the 10.10.3.0 network, and unpacked and sent to the
destination network. A static route is configured at each Layer 3 switch to go through the tunnel
interface to the target network.

FIGURE 16

Point-to-point GRE tunnel configuration example

The following shows the configuration commands for the example shown in Figure 16.

Configuring point-to-point GRE tunnel for device A

Brocade (config)# interface ethernet 1/1/3

Brocade (config-if-e10000-1/1/3)# ip address 192.168.8.108/24

Brocade (config)# exit

Brocade (config)# interface tunnel 1

Brocade(config-tnif-1)# tunnel source 192.168.8.108

Brocade(config-tnif-1)# tunnel destination 192.168.5.2

Brocade(config-tnif-1)# tunnel mode gre ip

Brocade(config-tnif-1)# ip address 10.10.3.1/24

Brocade(config-tnif-1)# exit

Brocade (config)# ip route 192.168.5.0/24 192.168.8.1

Configuring point-to-point GRE tunnel for device B

Brocade(config)# interface ethernet 1/1/5

Brocade(config-if-e10000-1/1/5)# ip address 192.168.5.2/24

Brocade(config)# exit

Brocade(config)# interface tunnel 1

Brocade(config-tnif-1)# tunnel source 192.168.5.2

Brocade(config-tnif-1)# tunnel destination 192.168.8.108

Brocade(config-tnif-1)# tunnel mode gre ip

Port

1/1/3

10.10.1.0/24

10.10.2.0/24

10.10.3.1

10.10.3.2

Port

1/1/5

10.10.3.0

192.168.5.2

192.168.8.108

Internet

Device B

Device A

Advertising