DES-7200 Configuration Guide Chapter 2 RIP
Configuration
2-18
address.
The following requirements shall be met:
RIP routing protocol is run on both devices;
Switch B can learn the routes of network segment 192.168.12.0/24.
Configuration Tips
To meet the above requirements, the following configurations shall be made:
RIPv2 routing protocol is run on both devices;
Split horizon shall be disabled on SwitchA (by default, split horizon is
enabled on all interfaces), or else SwitchA won't advertise network segment
192.168.12.0 to SwitchB.
Configuration Steps
# SwitchA
! Configure Ethernet interface
DES-7200(config)#interface gigabitEthernet 0/1
DES-7200(config-if-GigabitEthernet 0/1)#no switchport
DES-7200(config-if-GigabitEthernet 0/1)#ip address 192.168.12.4 255.255.255.0
DES-7200(config-if-GigabitEthernet 0/1)#ip address 192.168.13.4 255.255.255.0
secondary
! Disable split horizon
DES-7200(config-if-GigabitEthernet 0/1)#no ip rip split-horizon
! Configure RIP routing protocol
DES-7200(config)#route rip
DES-7200(config-router)#version 2
DES-7200(config-router)#network 192.168.12.0
DES-7200(config-router)#network 192.168.13.0
! Disable automatic route summarization
DES-7200(config-router)#no auto-summary
# SwitchB
! Configure Ethernet interface
DES-7200(config)#interface gigabitEthernet 0/1
DES-7200(config-if-GigabitEthernet 0/1)#no switchport
DES-7200(config-if-GigabitEthernet 0/1)#ip address 192.168.13.5 255.255.255.0
! Configure RIP routing protocol