05-16-2025 04:22 AM - edited 05-16-2025 07:57 AM
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
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
!
!
05-16-2025 04:47 AM
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
05-16-2025 07:41 AM
Here is the result of all 6 routers:
05-16-2025 06:18 AM - edited 05-16-2025 06:19 AM
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.
05-16-2025 07:44 AM
I successfully ping the ISP interface with the ip of 1.2.3.4
05-16-2025 07:26 AM
Attach your PT file to OP.
05-16-2025 07:50 AM
How do I attach pkt file to the post? It doesn't allow me to attach it
Thank you.
05-16-2025 07:59 AM
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
05-16-2025 09:30 AM - edited 05-16-2025 09:31 AM
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:
Seems to be present on both those routers, for me.
What version of PT are you running?
I'm running 8.2.2.0400.
05-16-2025 11:43 PM
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 ?
05-17-2025 03:06 AM
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.
05-17-2025 04:21 AM
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
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