пятница, 26 октября 2012 г.

OSPF routing between D-LINK and Cisco



Good day!

I'd like to tell you about my configuration example of OSPF between several devices of different vendors. This is first chapter of several parts of OSPF's configuration example

It's not difficult to config, but when i first start to config multivendor devices, i've to TSHOOT some problems. One of the common problem is "mismastched times". D-link devices have timers that greatly differ from other non D-link routers. Pay attention on it, while configuring

Here is example of topology:






Before starting configuration, testing and etc, make sure that you a "configuration and implementation plan" (first chapter in CCNP Route studing).  Let's imagine, that we have such plan, then, we can bagin to config our devices


D-link №1 3612:



config ospf ipif  "IPIF1" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF1" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF2" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF2" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF3" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF3" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF4" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF4" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF5" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF5" authentication none metric 1 state enable passive disable

---------
config ospf router_id 172.17.0.10
enable ospf

D-link №2 3612:
config ospf ipif  "IPIF10" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF10" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF11" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF11" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF12" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF12" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF13" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF13" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF14" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF14 "authentication none metric 1 state enable passive disable
---------
config ospf router_id 172.17.0.20
enable ospf

D-link №3 DES-3810-24:
config ospf ipif  "IPIF20" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF20" authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF21" area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF21 authentication none metric 1 state enable passive disable
config ospf ipif  "IPIF22" area 10.10.10.10 priority 1 hello_interval 10 dead_interval 40
config ospf ipif  "IPIF522" authentication none metric 1 state enable passive disable
---------
config ospf router_id 172.17.0.5 / config ospf router_id 172.17.0.20


And MAIN configuraion on Cisco

Cisco 2921:

--- Global configuration
router ospf 1
 router-id 172.17.0.100
 priority 100
 auto-cost reference-bandwidth 10000
 passive-interface GigabitEthernet0/0
 passive-interface FastEthernet0/0/0
 passive-interface FastEthernet0/1/0
 network 10.0.101.0 0.0.0.3 area 0
 network 10.0.102.0 0.0.0.3 area 0
 default-information originate
--- Interface configuration
interface GigabitEthernet0/1
 description LINK_TO_DGS-3612_1
 ip address 10.0.101.1 255.255.255.252
duplex auto
 speed auto
!
interface GigabitEthernet0/2
 description LINK_TO_DGS-3612_2
 ip address 10.0.102.1 255.255.255.252
ip virtual-reassembly in
duplex auto
 speed auto
 
Notice that D-LINK devices support only area number - XXX.XXX.XXX.XXX.

But area 0 and area 0.0.0.0 - are equal in HEX. That's why following configuration is correct and OSPF neighor were established successfully.



Комментариев нет:

Отправить комментарий