- On
switch 1, configure the summary-address option.
SEFOS# configure terminal
SEFOS(config)# router rip
SEFOS(config-router)# network 10.0.0.1
SEFOS(config-router)# redistribute all
- Disable the auto-summary option.
SEFOS(config-router)# auto-summary disable
SEFOS(config-router)# exit
- Configure the static routes.
SEFOS(config-router)# ip route 40.1.0.0 255.255.0.0 vlan 2
SEFOS(config-router)# ip route 40.2.0.0 255.255.0.0 vlan 2
SEFOS(config-router)# ip route 40.3.0.0 255.255.0.0 vlan 2
SEFOS(config-router)# ip route 40.4.0.0 255.255.0.0 vlan 2
- Configure the summary address
for the VLAN 1 interface (20.0.0.0/8).
SEFOS(config)# interface vlan 1
SEFOS(config-if)# ip rip summary-address 40.0.0.0 255.0.0.0
SEFOS(config-if)# end
- On switch 2, configure the interface
for VLAN 1.
SEFOS# configure terminal
SEFOS(config)# router rip
SEFOS(config-router)# network 10.0.0.2
SEFOS(config-router)# end