06-01-2023 01:55 AM - last edited on 06-02-2023 02:44 AM by Translator
Hi!
Here's my topology:
It's a assignment given by my network teacher, but I'm having a problem.
The goal is to successfully
ping Router#0
from the PC, but the current
ping to Router#1
has also failed.
What should I do?
Here's configuration of R#1, R#3, L3#0.
R#1
ip route 0.0.0.0 0.0.0.0 10.10.10.1 (left interface of R#0)
ip route 0.0.0.0 0.0.0.0 20.20.20.2 100 (Backup route, it's R#2's left interface)
!
Router ospf 1
Router-id 1.1.1.1
Network 20.20.20.0 0.0.0.3 area 0
Network 20.20.20.4 0.0.0.3 area 0
Default-information originate
R#3
Ip route 0.0.0.0 0.0.0.0 30.30.30.4 (VLAN 10's SVI on L3#0)
Ip route 0.0.0.0 0.0.0.0 20.20.20.14 100
!
Router ospf 1
Router-id 3.3.3.3
Network 20.20.20.4 0.0.0.3 area 0 (between R#1~R#3)
Network 20.20.20.12 0.0.0.3 area 0 (between R#3~R#4)
Default-information originate
L3#0
Vlan 10
Name VLAN10
Vlan 20
Name VLAN20
Vlan 30
Name VLAN30
Interface
gigabitethernet1/0
(connected with PC#1)
Switchport mode access
Switchport access vlan 20
Interface
gigabitethernet1/1
(connected with PC#2)
Switchport mode access
Switchport access vlan 30
Interface
gigabitethernet0/0
(left)
Switchport mode access
Switchport access vlan 10
Interface
gigabitethernet0/1
(right)
Switchport mode access
Switchport access vlan 10
exit
Ip routing
Interface vlan 10
Ip address 30.30.30.4 255.255.255.240
No shutdown
Interface vlan 20
Ip address 30.30.30.17 255.255.255.240
No shutdown
Interface vlan 30
Ip address 30.30.30.33 255.255.255.240
No shutdown
Exit
Ip route 0.0.0.0 0.0.0.0 30.30.30.1 (Virtual router's ip in VRRP in R#3 and R#4)
PC's gateway is 30.30.30.4, which is VLAN 10's svi on L3#0.
if you want full configuration, check the attached work file.
help me....
Solved! Go to Solution.
06-01-2023 03:14 AM - last edited on 06-02-2023 02:37 AM by Translator
Hi
You are mssing configuration in R2.
Either you add ospf in R2 or you add two default route with different weight
ip route 0.0.0.0 0.0.0 > R1
ip route 0.0.0.0 0.0.0 > R2 2
R1, remove the default routes.
no ip route 0.0.0.0 0.0.0.0 10.10.10.1
no ip route 0.0.0.0 0.0.0.0 20.20.20.2 100
Remove default-information originate
Router ospf 1
Router-id 1.1.1.1
Network 20.20.20.0 0.0.0.3 area 0
Network 20.20.20.4 0.0.0.3 area 0
no default-information originate
R3: Remove the default routes
no ip route 0.0.0.0 0.0.0.0 30.30.30.4
no ip route 0.0.0.0 0.0.0.0 20.20.20.14 100
Add a static route in R3
ip route 30.30.30.0 255.255.255.0 30.30.30.4
Redistribut static on R3. Remove default-information originate
Router ospf 1
Router-id 3.3.3.3
Network 20.20.20.4 0.0.0.3 area 0 (between R#1~R#3)
Network 20.20.20.12 0.0.0.3 area 0 (between R#3~R#4)
no default-information originate
redistribute static subnets
06-01-2023 03:14 AM - last edited on 06-02-2023 02:37 AM by Translator
Hi
You are mssing configuration in R2.
Either you add ospf in R2 or you add two default route with different weight
ip route 0.0.0.0 0.0.0 > R1
ip route 0.0.0.0 0.0.0 > R2 2
R1, remove the default routes.
no ip route 0.0.0.0 0.0.0.0 10.10.10.1
no ip route 0.0.0.0 0.0.0.0 20.20.20.2 100
Remove default-information originate
Router ospf 1
Router-id 1.1.1.1
Network 20.20.20.0 0.0.0.3 area 0
Network 20.20.20.4 0.0.0.3 area 0
no default-information originate
R3: Remove the default routes
no ip route 0.0.0.0 0.0.0.0 30.30.30.4
no ip route 0.0.0.0 0.0.0.0 20.20.20.14 100
Add a static route in R3
ip route 30.30.30.0 255.255.255.0 30.30.30.4
Redistribut static on R3. Remove default-information originate
Router ospf 1
Router-id 3.3.3.3
Network 20.20.20.4 0.0.0.3 area 0 (between R#1~R#3)
Network 20.20.20.12 0.0.0.3 area 0 (between R#3~R#4)
no default-information originate
redistribute static subnets
06-01-2023 03:42 AM
Thank you very much!!!
06-01-2023 06:15 AM
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