01-06-2021 03:57 AM
Hello,
I'm still a student so I'm trying to do a Packet Tracer my teacher gave me to realize. I've included 2 screenshot, one of the network and one from the cluster (which is my ISP).
My goal is to set up a small network for a corporation, I've configured every routers with OSPF so they can propagate each networks with each other. And also I need to use the DNS of Google (a loopback in the cluster) to be able to connect those networks to the Internet. But I'm not able to do that.
I can only ping 8.8.8.8 with R2 (which is connected to the Cluster where my ISP is). And not from R1 and R3 connected to 2 differents Vlans. but if i want them to be able to ping 8.8.8.8 I need to make R2 "propagate" it's connected route to ISP. Which I think I did fine with default-information originate command. I've also set up a default route from R2 to ISP.
I'm sure it's a command I didn't entered but I'm stuck and it's driving me crazy.
Here are my configurations both R3 and R1 are the same so I'll show only the R3.
R3 (3 different Vlans + OSPF)
hostname R3
!
!
!
enable secret 5 $1$mERr$CunnQjkAEasAf02ni13tK/
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
username CISCO privilege 15 secret 5 $1$mERr$CunnQjkAEasAf02ni13tK/
!
!
license udi pid CISCO1941/K9 sn FTX1524YUY3-
!
!
!
!
!
!
!
!
!
ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
no ip domain-lookup
ip domain-name R3
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
no ip address
!
interface GigabitEthernet0/0
description Link To Lan1
no ip address
ip helper-address 10.0.2.1
ip helper-address 10.0.0.1
duplex auto
speed auto
!
interface GigabitEthernet0/0.10
description Vlan 10
encapsulation dot1Q 10
ip address 172.16.3.129 255.255.255.224
ip helper-address 10.0.2.1
ip helper-address 10.0.0.1
!
interface GigabitEthernet0/0.20
description VLAN 20
encapsulation dot1Q 20
ip address 172.16.3.1 255.255.255.128
ip helper-address 10.0.2.1
ip helper-address 10.0.0.1
!
interface GigabitEthernet0/0.30
description VLAN 30
encapsulation dot1Q 30
ip address 172.16.0.2 255.255.254.0
ip helper-address 10.0.2.1
ip helper-address 10.0.0.1
!
interface GigabitEthernet0/0.99
description VLAN 99
encapsulation dot1Q 99 native
no ip address
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/0/0
description Link To R1
ip address 10.0.1.1 255.255.255.252
!
interface GigabitEthernet0/1/0
description Link To R2
ip address 10.0.0.2 255.255.255.252
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
network 10.0.1.0 0.0.0.3 area 0
network 10.0.0.0 0.0.0.3 area 0
network 172.16.3.128 0.0.0.31 area 0
network 172.16.3.0 0.0.0.127 area 0
network 172.16.0.0 0.0.1.255 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
banner login ^C Unauthorized use is prohibited ^C
banner motd ^C** Authorized Access Only **^C
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
login local
!
line aux 0
!
line vty 0 4
exec-timeout 0 0
logging synchronous
login local
transport input ssh
!
!
!
end
R2 (connected to ISP + OSPF)
hostname R2
!
!
!
enable secret 5 $1$mERr$CunnQjkAEasAf02ni13tK/
!
!
ip dhcp excluded-address 172.16.4.2
ip dhcp excluded-address 172.16.3.129
ip dhcp excluded-address 172.16.4.1
!
ip dhcp pool VLAN10
network 172.16.3.128 255.255.255.224
default-router 172.16.3.129
ip dhcp pool VLAN20
network 172.16.3.0 255.255.255.128
default-router 172.16.3.1
ip dhcp pool VLAN30
network 172.16.0.0 255.255.254.0
default-router 172.16.0.2
ip dhcp pool LAN2
network 172.16.4.0 255.255.255.0
default-router 172.16.4.1
!
!
!
no ip cef
no ipv6 cef
!
!
!
username CISCO secret 5 $1$mERr$CunnQjkAEasAf02ni13tK/
!
!
license udi pid CISCO1941/K9 sn FTX1524ZRZ3-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.252
!
interface GigabitEthernet0/0
description Link To ISP
ip address 110.0.0.2 255.255.255.248
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/0/0
description Link To R1
ip address 10.0.2.1 255.255.255.252
!
interface GigabitEthernet0/1/0
description Link To R3
ip address 10.0.0.1 255.255.255.252
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 10.0.2.0 0.0.0.3 area 0
network 10.0.0.0 0.0.0.3 area 0
default-information originate
!
ip classless
ip route 0.0.0.0 0.0.0.0 110.0.0.1
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
!
ip flow-export version 9
!
!
!
no cdp run
!
banner login ^C Unauthorized use is prohibited
banner login ^C
banner motd ^C** Authorized Access Only **^C
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
login local
!
line aux 0
!
line vty 0 4
exec-timeout 0 0
logging synchronous
login local
!
!
!
end
Router0 (already configured by my teacher I don't think I need to modify anything from there though)
hostname WWW
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback1
ip address 8.8.8.8 255.255.255.255
!
interface GigabitEthernet0/0/0
ip address 125.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/0/1
ip address 110.0.0.1 255.255.255.248
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
If I can help with anything don't hesitate to ask any details you need. I'm willing to understand every bit of this.
Thanks for reading, hope we can find the solution together.
Have a wonderful day.
Benjamin
Solved! Go to Solution.
01-06-2021 04:39 AM - edited 01-06-2021 04:41 AM
Hello,
your WWW router is missing a default route back to R2. Add the below, and 8.8.8.8 should be reachable.
Attached the revised, working file.
WWW(config)#ip route 0.0.0.0 0.0.0.0 110.0.0.2
01-06-2021 04:01 AM
Hello
Post the PT file please.
01-06-2021 04:11 AM
Sadly I can't transfer it right away onto the submission directly.
So here is the wetransfer : https://we.tl/t-hrWY0WzXLy
Thanks for helping me.
01-06-2021 04:24 AM
What are the usernames/passwords for your devices ?
01-06-2021 04:29 AM - edited 01-06-2021 04:36 AM
Yes sorry I forgot about that it's :
Username : CISCO
PWD : CCNA
Also CCNA for the enable PW
01-06-2021 04:39 AM - edited 01-06-2021 04:41 AM
01-06-2021 04:43 AM
Hello It worked perfectly how I wanted to.
Thank you. As previously said I thought I didn't need to change this router config.
I can now continue my exercice.
Have a great day It was reakky helpful.
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