cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
707
Views
0
Helpful
11
Replies

OSPF Multiple Areas Configuration

violetta1405
Level 1
Level 1

violetta1405_0-1747393517200.png

Hi, My name is Quan. I am new to OSPF and dynamic routing.
I've been learning about RIPv2 configurations and OSPF configurations.
While i am doing in this OSPF Multiple Areas lab 

violetta1405_1-1747393593060.png

I had a problem regarding the routing table doesn't show results as I thought. HUE router and CANTHO router doesn't have O*E2 (default route) even though I configured everything correct then I asked chat GPT to help me then it guided me to turn on Vlan1 for SAIGON and DANANG and it fixed the problem
Here is my configuration:

hostname HAIPHONG

ip dhcp excluded-address 192.168.3.1

!

ip dhcp pool LAN1

network 192.168.3.0 255.255.255.192

default-router 192.168.3.1

dns-server 8.8.8.8

!

!

interface FastEthernet0/0

ip address 192.168.3.1 255.255.255.192

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 1.2.3.5 255.255.255.0

duplex auto

speed auto

!

interface Serial0/3/0

ip address 192.168.3.129 255.255.255.252

clock rate 2000000

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 192.168.3.0 0.0.0.63 area 3

network 192.168.3.128 0.0.0.3 area 3

default-information originate

!

ip classless

ip route 0.0.0.0 0.0.0.0 1.2.3.4

!

hostname HANOI

ip dhcp excluded-address 192.168.3.65

!

ip dhcp pool LAN2

network 192.168.3.64 255.255.255.192

default-router 192.168.3.65

dns-server 8.8.8.8

!

interface FastEthernet0/0

ip address 192.168.3.65 255.255.255.192

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 192.168.0.131 255.255.255.248

duplex auto

speed auto

!

interface Serial0/3/0

ip address 192.168.3.130 255.255.255.252

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 192.168.3.64 0.0.0.63 area 3

network 192.168.3.128 0.0.0.3 area 3

network 192.168.0.128 0.0.0.7 area 0

!

ip classless

!

ip flow-export version 9

hostname DANANG

!

!

!

!

ip dhcp excluded-address 192.168.0.1

!

ip dhcp pool LAN3

network 192.168.0.0 255.255.255.192

default-router 192.168.0.1

dns-server 8.8.8.8

interface FastEthernet0/0

ip address 192.168.0.1 255.255.255.192

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 192.168.0.130 255.255.255.248

duplex auto

speed auto

!

interface Serial0/3/0

ip address 192.168.1.66 255.255.255.252

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 192.168.0.0 0.0.0.63 area 0

network 192.168.0.128 0.0.0.7 area 0

network 192.168.1.64 0.0.0.3 area 1

!

ip classless

!

hostname SAIGON

!

!

!

!

ip dhcp excluded-address 192.168.0.65

!

ip dhcp pool LAN4

network 192.168.0.64 255.255.255.192

default-router 192.168.0.65

dns-server 8.8.8.8

!

!

interface FastEthernet0/0

ip address 192.168.0.65 255.255.255.192

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 192.168.0.129 255.255.255.248

duplex auto

speed auto

!

interface Serial0/3/0

ip address 192.168.2.65 255.255.255.252

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 192.168.0.64 0.0.0.63 area 0

network 192.168.0.128 0.0.0.7 area 0

network 192.168.2.64 0.0.0.3 area 2

ip dhcp excluded-address 192.168.1.1

!

ip dhcp pool LAN5

network 192.168.1.0 255.255.255.192

default-router 192.168.1.1

dns-server 8.8.8.8

!

!

!

interface FastEthernet0/0

ip address 192.168.1.1 255.255.255.192

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/3/0

ip address 192.168.1.65 255.255.255.252

clock rate 2000000

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 192.168.1.0 0.0.0.63 area 1

network 192.168.1.64 0.0.0.3 area 1

!

hostname CANTHO

!

!

!

!

ip dhcp excluded-address 192.168.2.1

!

ip dhcp pool 192.168.2.1

ip dhcp pool LAN6

network 192.168.2.0 255.255.255.192

default-router 192.168.2.1

dns-server 8.8.8.8

!

!

!

ip cef

no ipv6 cef

!

!

!

!

license udi pid CISCO2811/K9 sn FTX1017ICN7-

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface FastEthernet0/0

ip address 192.168.2.1 255.255.255.192

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

shutdown

!

interface Serial0/1/0

ip address 192.168.2.66 255.255.255.252

clock rate 2000000

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 192.168.2.0 0.0.0.63 area 2

network 192.168.2.64 0.0.0.3 area 2

hostname ISP

!

!

!

!

ip dhcp excluded-address 6.9.6.9

ip dhcp excluded-address 6.9.6.10

!

ip dhcp pool Internet

network 6.9.6.0 255.255.255.0

default-router 6.9.6.9

dns-server 8.8.8.8

!

!

!

ip cef

no ipv6 cef

!

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface FastEthernet0/0

description LINK TO DSL CLOUD

ip address 1.2.3.4 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

!

interface FastEthernet0/0/0

switchport access vlan 69

switchport mode access

spanning-tree portfast

!

interface FastEthernet0/0/1

switchport access vlan 69

switchport mode access

spanning-tree portfast

!

interface FastEthernet0/0/2

switchport access vlan 69

switchport mode access

spanning-tree portfast

!

interface FastEthernet0/0/3

switchport access vlan 69

switchport mode access

spanning-tree portfast

!

interface Vlan1

no ip address

shutdown

!

interface Vlan69

mac-address 0009.7c49.9e01

ip address 8.8.8.9 255.255.255.0

!

router rip

!

ip classless

ip route 0.0.0.0 0.0.0.0 1.2.3.5

!

ip flow-export version 9

!

!

11 Replies 11

Hello,

Im not sure what turning on VLAN 1 did to fix anything. Glancing at your config it looks fine. 

Can you provide the output of the following commands on the routers:

 

show ip ospf neigh

sh ip route ospf

 

-David

Here is the result of all 6 routers:

violetta1405_0-1747406260818.png

violetta1405_3-1747406408851.png

 

violetta1405_1-1747406352099.pngvioletta1405_2-1747406375573.png

violetta1405_4-1747406434239.pngvioletta1405_5-1747406454621.png

 

 

M02@rt37
VIP
VIP

Hello @violetta1405 

On HAIPHONG router, do you succeed to ping IP 1.2.3.4 ?

Please show outputs that David ask for. Thanks a lot.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

violetta1405_0-1747406631182.png

I successfully ping the ISP interface with the ip of 1.2.3.4

Joseph W. Doherty
Hall of Fame
Hall of Fame

Attach your PT file to OP.

How do I attach pkt file to the post? It doesn't allow me to attach it
Thank you.

I zipped the pkt file. I wonder if I didn't have O*E2 becauses I configure dhcp pool on router or I didn't fully configure before connecting these devices with cables

Joseph W. Doherty
Hall of Fame
Hall of Fame

I had a problem regarding the routing table doesn't show results as I thought. HUE router and CANTHO router doesn't have O*E2 (default route) . . .

When I bring up your recently attached PT file:

JosephWDoherty_0-1747412798219.pngJosephWDoherty_1-1747412840413.png

Seems to be present on both those routers, for me.

What version of PT are you running?

I'm running 8.2.2.0400.

violetta1405_0-1747463952833.png

I think i am running on 8.2.1

btw I closed it and checked and yeah it appears the O*E2 now
maybe the problem was I haven't fully configured before connecting these devices using cables so it contradicts ?

Possibility, or maybe you didn't allow enough time for PT's OSPF to fully converge?  (I often use the time acceleration button to eliminate waiting for devices to boot, STP to converge, etc.)

BTW, you might find PT's version by using the menu's help about.

Hmn weirdly I took an amount of time checking for wrong configurations tho so might be time is not the problem but thanks for the tip