cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
639
Views
2
Helpful
10
Replies

Why can I not ping the WebServer Server? Any ideas what's wrong?

w0463849
Level 1
Level 1

Setup.pngWebServer.pngIP Addresses.pngOSPF.png

So, these are my screenshots. I setup OSPF for all three routers and it looks something like the last screenshot. I also set a default route on the Truro router which is ip route 0.0.0.0 0.0.0.0 g0/1 which is the interface that goes to the layer 3 switch. I then went to the ospf settings of the Truro router and put default-information originate. Still, when I try to ping the webserver it doesn't work. Anybody have a clue what I'm doing wrong? Networking noob here.

1 Accepted Solution

Accepted Solutions

I found a few problem. I fixed the PC2 and it is pinging the IIS server and now you can proceed with the rest of the network.

I  few heads up for you.

Interfaces facing each other like the router´s interface facing the switch´s interface, must be on the same network. If they were in different networks there will be no communication.

The same goes to the server. If you use IP address 172.x.x.x on the switch, the server must be on the same addressing because the switch will be the gateway for the Server.

As the switch is a layer3 switch, it must have a static route sending the traffic to the router.

The router connected to the layer3 switch also need a static route sending the traffic to the layer3 switch.

You can use OSPF between the router Truro and the layer3 switch, this way you dont need static route.

 

The PC2 had a default gateway configured but it was wrong. The gateway must be the IP address of the router´s interface.

Hope that helps

FlavioMiranda_0-1727798452165.png

 

View solution in original post

10 Replies 10

w0463849
Level 1
Level 1

I am trying to ping the WebServer from PC1. I added all of the networks of all the interfaces on ospf on each router.

I can see one mistake here. Your server does not have a default gateway.  You need to add a default gateway here

 

FlavioMiranda_0-1727789440245.png

 

Thanks, I'll try that out.

If you not succeed by adding the gateway, zip the file and attach here so that I can hel you better

Is setting the default gateway to 192.168.100.101 alright? That's what I set it to but it did not work unfortunately. I attached the file:

I found a few problem. I fixed the PC2 and it is pinging the IIS server and now you can proceed with the rest of the network.

I  few heads up for you.

Interfaces facing each other like the router´s interface facing the switch´s interface, must be on the same network. If they were in different networks there will be no communication.

The same goes to the server. If you use IP address 172.x.x.x on the switch, the server must be on the same addressing because the switch will be the gateway for the Server.

As the switch is a layer3 switch, it must have a static route sending the traffic to the router.

The router connected to the layer3 switch also need a static route sending the traffic to the layer3 switch.

You can use OSPF between the router Truro and the layer3 switch, this way you dont need static route.

 

The PC2 had a default gateway configured but it was wrong. The gateway must be the IP address of the router´s interface.

Hope that helps

FlavioMiranda_0-1727798452165.png

 

Thank you! I'll make sure to try everything you suggested. Default gateways are confusing for me but you helped clear it up.

You can keep asking and I will try to help.

 

Hey, late reply but I have a question. How would I send a static route to the layer 3 switch on the Truro router? I tried 0.0.0.0 0.0.0.0 g0/1 and 0.0.0.0 0.0.0.0 192.168.121.2 but looks like I'm doing something wrong.

Static route and default route is different. What you did was a default route and it will send all the traffic to the L3 switch.

 If you want to send the traffic for a specific network to the L3 switch from the Truro router you need to do :

ip route <network you want to send traffic> <mask> <next hop>

Example

ip route 172.16.0.0 255.255.0.0 192.168.121.2

This way, all traffic coming to Truro router towards 172.16.0.0 L3 switch will be send to L3 switch

Review Cisco Networking for a $25 gift card