- Posts: 17
- Thank you received: 0
static ip routing issue
16 years 6 months ago #26383
by omer84
static ip routing issue was created by omer84
1>ip route 0.0.0.0 0.0.0.0 89.202.22.111
2>ip route 192.168.10.10 255.255.255.0 62.215.18.181
Guyz could any one explain whats actually happening in the above two static statements.
THX
2>ip route 192.168.10.10 255.255.255.0 62.215.18.181
Guyz could any one explain whats actually happening in the above two static statements.
THX
16 years 6 months ago #26392
by jtartist
Replied by jtartist on topic Re: static ip routing issue
1 ) The 0.0.0.0 0.0.0.0 indicates traffic from any source to be forwarded to the next hop IP of 89.202.22.111, only if the destination network is not found in any of the routing table entries. This will be used as the default route a.k.a gateway of last resort.
2) This routes traffic destined for the 192.168.10.x network to be forwarded to the next hop IP of 62.215.18.181.
2) This routes traffic destined for the 192.168.10.x network to be forwarded to the next hop IP of 62.215.18.181.
16 years 6 months ago #26400
by Elohim
Replied by Elohim on topic Re: static ip routing issue
1. This defines the default route. This is the route taken when the path to a destination is not found in the RIB.
2. You define in your statement a path to the host 192.168.10.10 255.255.255.0 through 62.215.18.181 but in actuality, since you didn't define a /32 specific host, you are actually defining a path to the subnetwork 192.168.10.0 255.255.255.0 through 62.215.18.181. Since you did not define this route as a /32 route, the router will AND the host and subnetwork and create a path to the network through the defined gateway in the routing information base.
2. You define in your statement a path to the host 192.168.10.10 255.255.255.0 through 62.215.18.181 but in actuality, since you didn't define a /32 specific host, you are actually defining a path to the subnetwork 192.168.10.0 255.255.255.0 through 62.215.18.181. Since you did not define this route as a /32 route, the router will AND the host and subnetwork and create a path to the network through the defined gateway in the routing information base.
1>ip route 0.0.0.0 0.0.0.0 89.202.22.111
2>ip route 192.168.10.10 255.255.255.0 62.215.18.181
Guyz could any one explain whats actually happening in the above two static statements.
THX
Time to create page: 0.115 seconds