the x.x.x.x and z.z.z.z are the next hop for the networks 0.0.0.0 0.0.0.0 (default route) and y.y.y.y 255.255.255.255 (single host in this case!). Next hop is on the same netowrk of interface you defined on the router..but when you shut down one interface, you "shut down" the route toward next hop. The packet for that destination follow the default route, because router sees the routing table and when there is no specific route toward network, it will forward the packet toward the next hop of the default route (in this case x.x.x.x).
The ip route 0.0.0.0 0.0.0.0 x.x.x.x command is called a default route. This is the route to be used in the event that the router cannot find a prefix match in its routing table for a given network. A default route, also known as the gateway of last resort, is the network route used by a router when no other known route exists for a given IP packet's destination address.
So, if you bring down the interface that the static route for network y.y.y.y points to, that static route will be removed from the routing table. The router will then forward the packet according to the default route.
It would have perhaps been a bit less confusing had you posted actual IP addresses.
The route should disappear from the routing table however if the z.z.z.z is the next hop there is a slight delay after you shut the interface before it is removed. At least in my lab although i was testing on an Ethernet interface.
If the interface that has z.z.z.z is shut down (and assuming that z.z.z.z is not reachable through some other interface) then the static route should be removed from the table. To help us understand better what is going on perhaps you could supply some additional information?
Would you post the output of show ip route when the interface is up, then shut down the interface, and post the output of show ip route when the interface is shut down? It would also be helpful to have the output of show ip interface brief when the interface is shutdown.
I am wondering if there is an alternate path to z.z.z.z and whether the next hop for y.y.y.y changes when the interface is shut down.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...