05-03-2019 02:55 AM
I have two routers connected with serial interfaces and to begin with I was unable to ping either router, anyway I want to configure OSPF 100 with the routers on area 0 the current configs are
Router 1:
Building configuration...
Current configuration : 1077 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname HQ
!
!
!
enable secret 5 $1$mERr$Kf7LJHoCqrlN7frh/vXzO1
enable password ttf1234
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
username ttfadmin privilege 15 secret 5 $1$mERr$sGPHml/Zec.vL6mmhKJAd0
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.10.10.2 255.255.255.252
ip ospf 100 area 0
!
interface Serial0/0/1
ip address 10.20.20.2 255.255.255.252
ip ospf 100 area 0
clock rate 64000
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 10.10.10.0 0.0.0.3 area 0
network 10.20.20.0 0.0.0.3 area 0
neighbor 10.10.10.1
neighbor 10.20.20.1
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
password ttf12345
login local
!
!
!
end
Router 2:
Building configuration...
Current configuration : 1044 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Adelaide
!
!
!
enable secret 5 $1$mERr$KZJUS7CY9GPgCalBziSwO1
enable password ttf123456
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
username ttfadmin privilege 15 secret 5 $1$mERr$sGPHml/Zec.vL6mmhKJAd0
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
ip ospf 100 area 0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 10.10.10.1 255.255.255.252
ip ospf 100 area 0
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 192.168.1.0 0.0.0.255 area 0
network 10.10.10.0 0.0.0.3 area 0
neighbor 10.20.20.2
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
password ttf1234567
login
!
!
!
end
------------------------
Router 1 also has another router it's connected to but it's just a mirror of router 2, I'm not sure what I've done wrong, can someone provide some help, please excuse the ignorance I'm new to this.
Thanks in advance.
Solved! Go to Solution.
05-03-2019 05:10 AM
05-03-2019 03:48 AM
05-03-2019 04:37 AM
05-03-2019 04:06 AM
Hello,
I was labbing this up in GNS3 while Mark provided the answer, so my apologies if I am being redundant. Either way, the below should be sufficient to establish a FULL adjacency:
Router 1:
interface Serial0/0/0
ip address 10.10.10.2 255.255.255.252
clock rate 64000
!
router ospf 100
network 10.10.10.0 0.0.0.3 area 0
Router 2:
interface Serial0/0/0
ip address 10.10.10.1 255.255.255.252
!
router ospf 100
network 10.10.10.0 0.0.0.3 area 0
05-03-2019 04:48 AM
Hi mate I reconfigured the routers to match yours and I'm still not getting a ping, I'm really stuff for this, I'll include the updated configs below. Cheers.
Router 1:
Building configuration...
Current configuration : 995 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname HQ
!
!
!
enable secret 5 $1$mERr$Kf7LJHoCqrlN7frh/vXzO1
enable password ttf1234
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
username ttfadmin privilege 15 secret 5 $1$mERr$sGPHml/Zec.vL6mmhKJAd0
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.10.10.2 255.255.255.252
!
interface Serial0/0/1
ip address 10.20.20.2 255.255.255.252
clock rate 64000
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 10.10.10.0 0.0.0.3 area 0
network 10.20.20.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
password ttf12345
login local
!
!
!
end
Router 2:
Building configuration...
Current configuration : 945 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Adelaide
!
!
!
enable secret 5 $1$mERr$KZJUS7CY9GPgCalBziSwO1
enable password ttf123456
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
username ttfadmin privilege 15 secret 5 $1$mERr$sGPHml/Zec.vL6mmhKJAd0
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 10.10.10.1 255.255.255.252
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 10.10.10.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
password ttf1234567
login
!
!
!
end
Adelaide#show run
Building configuration...
Current configuration : 945 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Adelaide
!
!
!
enable secret 5 $1$mERr$KZJUS7CY9GPgCalBziSwO1
enable password ttf123456
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
username ttfadmin privilege 15 secret 5 $1$mERr$sGPHml/Zec.vL6mmhKJAd0
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 10.10.10.1 255.255.255.252
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 100
log-adjacency-changes
network 10.10.10.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
password ttf1234567
login
!
!
!
end
05-03-2019 05:10 AM
05-03-2019 02:24 PM
05-03-2019 06:14 AM
Hello
@Alex Hall @ wrote
have two routers connected with serial interfaces and to begin with I was unable to ping either router, anyway I want to configure OSPF 100 with the routers on area 0
you have confirmed if this Is this a GNS lab or physical routers, Are these routers directly connected?
It looks like from your configuration your encapsulation is HLDC is that correct?
show interfaces serial0/0/0 | in up| En
sh controllers serial0/0/0 | in DCE|DTE
05-03-2019 02:05 PM
05-03-2019 02:27 PM
Would you post the output of these commands on both routers.
show ip interface brief
show cdp neighbor
HTH
Rick
05-03-2019 02:36 PM
05-04-2019 06:54 AM
The output of show ip interface brief confirms that both interfaces are up/up
Adelaide#show ip interface brief
Serial0/0/0 10.10.10.1 YES manual up up
HQ#show ip interface brief
Serial0/0/0 10.10.10.2 YES manual up up
And the output of show cdp neighbor confirms that they see each other
Adelaide#show cdp nei
HQ Ser 0/0/0 152 R C1841 Ser 0/0/1
HQ#show cdp nei
Adelaide Ser 0/0/1 171 R C1841 Ser 0/0/0
So it looks like it should work. But if you look carefully you will notice that the connection should be s0/0/0 to s0/0/0
Adelaide#show ip interface brief
Serial0/0/0 10.10.10.1 YES manual up up
HQ#show ip interface brief
Serial0/0/0 10.10.10.2 YES manual up up
But if you look carefully you will notice that the connection is actually s0/0/0 to s0/0/1
Adelaide#show cdp nei
HQ Ser 0/0/0 152 R C1841 Ser 0/0/1
HQ#show cdp nei
Adelaide Ser 0/0/1 171 R C1841 Ser 0/0/0
So the issue is that physically the interfaces are cross connected. This is why you can not ping and why OSPF will not form neighbor relationships.
HTH
Rick
05-03-2019 02:27 PM
05-03-2019 04:13 PM
05-03-2019 09:14 PM
What would you recommend instead, are there any other simulation programs that I can use as I don't have access to physical routers to test.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide