GRE ××× 1

GRE ××× achieve the exchange of visits by headquarters branch
1, the branch of China Unicom headquarters!
2, learning by routing protocols to route branch (isis ospf rip)!
3, to see whether China Unicom headquarters to the branch, the branch of learning whether the route to the branch!

GRE ××× 1

Headquarters configuration AR1
interface GigabitEthernet0 / 0/0
ip address 12.12.12.1 255.255.255.0

interface GigabitEthernet0/0/1
ip address 13.13.13.1 255.255.255.0

interface NULL0

interface LoopBack0
ip address 1.1.1.1 255.255.255.0

interface Tunnel0/0/0
ip address 192.168.1.1 255.255.255.0
tunnel-protocol gre
source 12.12.12.1
destination 12.12.12.2

interface Tunnel0/0/1
ip address 192.168.2.1 255.255.255.0
tunnel-protocol gre
source 13.13.13.1
destination 13.13.13.3

ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 192.168.0.0 0.0.255.255

ip route-static 2.2.2.0 255.255.255.0 Tunnel0/0/0
ip route-static 3.3.3.0 255.255.255.0 Tunnel0/0/1

user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20

wlan ac

return
<1>

Branch 2 AR2

interface GigabitEthernet0/0/0
ip address 12.12.12.2 255.255.255.0
#
interface GigabitEthernet0/0/1
#
interface NULL0
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.0
#
interface Tunnel0/0/0
ip address 192.168.1.2 255.255.255.0
tunnel-protocol gre
source 12.12.12.2
destination 12.12.12.1
#
ospf 1
area 0.0.0.0
network 2.2.2.0 0.0.0.255
network 192.168.0.0 0.0.255.255
#
ip route-static 1.1.1.0 255.255.255.0 Tunnel0/0/0
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac

return
<2>

3 AR3 branch

interface GigabitEthernet0/0/1
ip address 13.13.13.3 255.255.255.0
#
interface NULL0
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.0
#
interface Tunnel0/0/1
ip address 192.168.2.2 255.255.255.0
tunnel-protocol gre
source 13.13.13.3
destination 13.13.13.1
#
ospf 1
area 0.0.0.0
network 3.3.3.0 0.0.0.255
network 192.168.0.0 0.0.255.255
#
ip route-static 1.1.1.0 255.255.255.0 Tunnel0/0/1
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac

return
<3>

test AR2 AR3 visits
GRE ××× 1

GRE ××× 1

Guess you like

Origin blog.51cto.com/9616635/2426224