Configuration Of Router R1 - HP procurve 8100fl series Management And Configuration Manual

Hide thumbs Also See for procurve 8100fl series:
Table of Contents

Advertisement

In this configuration, half the hosts use 10.0.0.1/24 as their default route, and
half use 11.0.0.1/24. IP address 10.0.0.1/24 is associated with virtual router
VRID=1, and IP address 11.0.0.1 is associated with virtual router VRID=2.
If Router R1, the Master for virtual router VRID=1, goes down, Router R2 would
take over the IP address 10.0.0.1/24. Similarly, if Router R2, the Master for
virtual router VRID=2, goes down, Router R1 would take over the IP address
11.0.0.1.

Configuration of Router R1

In this configuration, VLAN 15 on Router R1 is the owner of IP address 10.0.0.1.
The following is the configuration file for Router R1 in
Router1(config)#
Router1(config)#interface vlan 15
Router1(config-interface-vlan15)#ip address 10.0.0.1/24
Router1(config-interface-vlan15)#ip address 11.0.0.2/24 secondary
Router1(config-interface-vlan15)#vrrp 1 ip 10.0.0.1
Router1(config-interface-vlan15)#vrrp 2 ip 11.0.0.1
Router1(config-interface-vlan15)#exit
Router1(config)#interface gigabitethernet 4/3
Router1(config-interface-gig4/3)#switchport mode access vlan 15
The last two lines declare the physical interface by configuring Router 1's port
4/3 for VLAN 15.
Configuration of Router R2
The following is the configuration file for Router R2 in
Router2(config)#interface vlan 15
Router2(config-interface-vlan15)#ip address 11.0.0.1/24
Router2(config-interface-vlan15)#ip address 10.0.0.2/24 secondary
Router2(config-interface-vlan15)#vrrp 1 ip 10.0.0.1
Router2(config-interface-vlan15)#vrrp 2 ip 11.0.0.1
Router2(config-interface-vlan15)#
Router2(config-interface-vlan15)#exit
Router2(config)#interface gigabitethernet 1/3
Router2(config-interface-gig1/3)#switchport mode access vlan 15
The last two lines declare the physical interface by configuring Router 2's port
1/3 for VLAN 15.
VRRP Configuration
Configuring VRRP
Figure
16-2.
This line associates IP address
10.0.0.1 with virtual router VRID=1, so
Router R1 is the Master for virtual
router VRID=1.
Router R1 associates IP address
11.0.0.1 with virtual router VRID=2.
However, since Router R1 does not
own IP address 10.0.0.2, it is not the
default Master for virtual router
VRID=2.
This line associates IP address
10.0.0.1 with virtual router VRID=1.
However, since Router R2 does not
own IP address 10.0.0.1, it is not the
default Master for virtual router
VRID=1.
Router R2 associates IP address
11.0.0.1 with virtual router VRID=2,
so Router R2 is the Master for virtual
router VRID=2.
16-9

Advertisement

Table of Contents
loading

Table of Contents