Wednesday, June 8, 2011

IPv4 over IPv4 (classic gre) tunnel config for MSR

<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 10.1.1.1 255.255.255.0
[RouterA-Ethernet1/1] quit

[RouterA] interface serial 2/0
[RouterA-Serial2/0] ip address 2.1.1.1 255.255.255.0
[RouterA-Serial2/0] quit
[RouterA] interface tunnel 1
[RouterA-Tunnel1] ip address 10.1.2.1 255.255.255.0
[RouterA-Tunnel1] tunnel-protocol ipv4-ipv4
[RouterA-Tunnel1] source 2.1.1.1
[RouterA-Tunnel1] destination 3.1.1.1
[RouterA-Tunnel1] quit
[RouterA] ip route-static 10.1.3.0 255.255.255.0 tunnel 1

􀁺 Configuration on Router B

<RouterB> system-view
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ip address 10.1.3.1 255.255.255.0
[RouterB-Ethernet1/1] quit
[RouterB] interface serial 2/1
[RouterB-Serial2/1] ip address 3.1.1.1 255.255.255.0
[RouterB-Serial2/1] quit
[RouterB] interface tunnel 2
[RouterB-Tunnel2] ip address 10.1.2.2 255.255.255.0
[RouterB-Tunnel2] tunnel-protocol ipv4-ipv4
[RouterB-Tunnel2] source 3.1.1.1
[RouterB-Tunnel2] destination 2.1.1.1
[RouterB-Tunnel2] quit
[RouterB] ip route-static 10.1.1.0 255.255.255.0 tunnel 2

No comments:

Post a Comment