
78
1.5.4.1 Typical RIP Examples
Fig 1-5 RIPng Example
As shown in the above figure, a network consists of three layer 3 switches. SwitchA and SwitchB
connect to SwitchC through interface vlan1 and vlan2. All the three switches are running RIPng.
Assume SwitchA
(
VLAN1
:
2001:1:1::1/64 and VLAN2
:
2001:1:1::1/64
)
exchange update
information with SwitchB
(
VLAN1
:
2001:1:1::2/64
)
only, update information is not exchanged
between SwitchA and SwitchC
(
VLAN1
:
2001:1:1::2/64
)
.
The configuration for SwitchA, SwitchB and SwitchC is shown below:
Layer 3 SwitchA
Enable RIPng protocol
SwitchA (config)#router IPv6 rip
SwitchA (config-router)#exit
Configure the IPv6 address in vlan1 and configure vlan1 to run RIPng
SwitchA#config
SwitchA (config)# interface Vlan1
SwitchA (config-if-Vlan1)# IPv6 address 2000:1:1::1/64
SwitchA (config-if-Vlan1)#IPv6 router rip
SwitchA (config-if-Vlan1)#exit
Configure the IPv6 address in vlan2 and configure vlan2 to run RIPng
SwitchA (config)# interface Vlan2
SwitchA (config-if-Vlan2)# IPv6 address 2001:1:1::1/64
SwitchA (config-if-Vlan2)#IPv6 router rip
SwitchA (config-if-Vlan2)#exit
Configure the interface vlan1 do not send RIPng messages to SwitchC
SwitchA (config)#
SwitchA (config-router)#passive-interface Vlan1
SwitchA (config-router)#exit
Layer 3 SwitchB
Enable RIPng protocol
SwitchA
SwitchB
Interface VLAN 2
2001:1:1::2/64
Interface VLAN 1
2000:1:1::2/64
Interface VLAN 1
2000:1:1::1/64
Interface VLAN 2
2001:1:1::1/64
SwitchC