D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-61
Through configuration, Switch D shall be able to receive routes of 192.168.1.0/24
(area 0) and 192.168.2.0/24 (area 1). Meanwhile, Switch B shall also be able to
learn the routes of segment 192.168.3.0/24 (area 2).
IP address assignment details are shown below:
Device name Device ID Interface address
Switch A 1.1.1.1
VLAN 10Gi0/1: 192.168.1.1/24
Switch B 2.2.2.2
VLAN 10Gi0/1: 192.168.1.2/24
VLAN 20Gi0/3: 192.168.2.1/24
Switch C 3.3.3.3
VLAN 20Gi0/3: 192.168.2.2/24
VLAN 30Gi0/5: 192.168.3.1/24
Switch D 4.4.4.4
VLAN 30Gi0/5: 192.168.3.2/24
Configuration tips
When OSPF routing domain is composed of multiple areas, each area must be
directly connected with the backbone area (area 0), or else areas cannot be
interconnected. If there is no direct physical link, we can create virtual link to
logically connect the area to the backbone area. Configuration tips are shown
below:
Configure the IP address of respective interfaces (omitted)
Enable OSPF basic features
Configure OSPF virtual link
The virtual link must be configured on ABR. This example configures virtual
link on Switch B and Switch C.
Execute "area area-id virtual-link router-id" command to configure virtual
link on ABR. Router-id refers to the identifier of peer device.
Configuration Steps
Step 1: Configure OSPF basic features
Configure Switch A
! Create OSPF process and specify the IP address range associated with this
routing process and the OPPF area to which these IP addresses belong.
SwitchA(config)#router ospf 1
SwitchA(config-router)#network 192.168.1.0 0.0.0.255 area 0
SwitchA(config-router)#exit
! Configure loopback IP of 1.1.1.1 as the device ID of Switch A
SwitchA(config)#interface loopback 0