HP 4800G Series Configuration Manual page 741

24/48 port
Table of Contents

Advertisement

# Define a static route on MCE, specify the next hop address 10.214.10.2 for packets destined for the
network segment 192.168.0.0, and bind this route to VPN1.
[MCE-Vlan-interface10] quit
[MCE] ip route-static vpn-instance vpn1 192.168.0.0 16 10.214.10.2
# Display the information about the routes of VPN1 maintained on MCE.
[MCE] display ip routing-table vpn-instance vpn1
Routing Tables: vpn1
Destinations : 5
Destination/Mask
127.0.0.0/8
127.0.0.1/32
10.214.10.0/24
10.214.10.3/32
192.168.0.0/16
Static 60
As shown in the displayed information above, a static route has been specified for VPN1.
# On VR2, configure IP address 10.214.20.2/24 for the interface connecting to MCE (configuration
procedures omitted), enable RIP and advertise the network segments 192.168.10.0 and 10.214.20.0.
<VR2> system-view
[VR2] rip 20
[VR2-rip-20] network 192.168.10.0
[VR2-rip-20] network 10.0.0.0
# RIP is running within VPN2, so you can configure RIP on MCE and involve the RIP on MCE in the
routing computation in the site to update the routing information automatically. Create RIP process 20,
disable automatic route summarization, redistribute routes from OSPF process 20, and bind the RIP
process to VPN2.
[MCE] rip 20 vpn-instance vpn2
# Advertise the network segment 10.214.20.0 and 10.214.40.0.
[MCE-rip-20] network 10.0.0.0
[MCE-rip-20] undo summary
[MCE-rip-20] import-route ospf
# Display the information about the routes of VPN2 on MCE.
[MCE-rip-20] display ip routing-table vpn-instance vpn2
Routing Tables: vpn2
Destinations : 5
Destination/Mask
10.214.20.0/24
10.214.20.3/32
10.214.40.0/30
10.214.40.1/32
127.0.0.0/8
127.0.0.1/32
Routes : 5
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
0
Routes : 5
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
2-15
NextHop
Interface
127.0.0.1
InLoop0
127.0.0.1
InLoop0
10.214.10.3
Vlan10
127.0.0.1
InLoop0
10.214.10.2
Vlan10
NextHop
Interface
10.214.20.3
Vlan20
127.0.0.1
InLoop0
10.214.40.1
Vlan40
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0

Advertisement

Chapters

Table of Contents
loading

Table of Contents