D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 RIP
Configuration
2-33
DES-7200(config-if-Loopback 1)#ip address 192.168.1.1 255.255.255.0
! Configure static route
DES-7200(config)#ip route 80.0.0.0 252.0.0.0 loopback 1
! Configure RIP routing protocol
DES-7200(config)#router rip
DES-7200(config-router)#version 2
DES-7200(config-router)#network 192.168.12.0
DES-7200(config-router)#network 192.168.1.0
DES-7200(config-router)#redistribute static//Redistribute static route
# SwitchB (supporting RIPv1 only):
! Configure Ethernet interface
DES-7200(config)#interface FastEthernet 0/1
DES-7200(config-if-FastEthernet 0/1)#no switchport
DES-7200(config-if-FastEthernet 0/1)#ip address 192.168.12.2 255.255.255.0
! Configure RIP routing protocol
DES-7200(config)#router rip
DES-7200(config-router)#network 192.168.12.0
Verification
Display the routing table of each device;
1. View the routing table on SwitchA, as shown below:
DES-7200#show ip route
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default
Gateway of last resort is no set
S 80.0.0.0/6 is directly connected, Loopback 1
C 192.168.1.0/24 is directly connected, Loopback 1
C 192.168.1.1/32 is local host.
C 192.168.12.0/24 is directly connected, FastEthernet 0/1
C 192.168.12.1/32 is local host.
2. View routing table on SwitchB, as shown below (the bold figures are the routing
information learned through RIP):