IP Routing—Configuring RIP, OSPF, BGP, and PBR
Configuring OSPF
13-64
To configure the ASBR at the HQ, you would complete these steps:
1.
Assign IP addresses to the Ethernet and WAN interfaces:
ProCurve(config-eth 0/1)# ip address 10.1.1.1 /24
ProCurve(config-eth 0/2)# ip address 10.1.2.1 /24
ProCurve(config-ppp 1)# ip address 10.200.1.1 /24
2.
Define the router ID by configuring a loopback interface:
ProCurve(config)# interface loop 1
ProCurve(config-loopback 1)# ip address 192.168.255.1 /24
3.
Configure RIP to run on the network that connects to the external
network. Note that you must redistribute connected routes because the
local networks that you want to advertise are not running RIP.
ProCurve(config)# router rip
ProCurve(config-rip)# version 2
ProCurve(config-rip)# network 10.200.1.0 255.255.255.0
ProCurve(config-rip)# redistribute ospf
ProCurve(config-rip)# redistribute connected
4.
Access the OSPF configuration mode context:
ProCurve(config)# router ospf
5.
Define the connected OSPF networks in each area. This step also enables
OSPF on interfaces on those networks:
ProCurve(config-ospf)# network 10.1.1.0 0.0.0.255 area 0
ProCurve(config-ospf)# network 10.1.3.0 0.0.0.255 area 0
6.
Redistribute routes discovered by the EGP into OSPF. Also, redistribute
connected routes because not all interfaces are running OSPF:
ProCurve(config-rip)# redistribute rip
ProCurve(config-rip)# redistribute connected
7.
You could alternatively generate a default route for external traffic:
ProCurve(config-ospf)# default-information-originate always
Or you could configure a route summary for the external traffic:
ProCurve(config-ospf)# summary-address 10.200.0.0 255.255.0.0