cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
360
Views
12
Helpful
6
Replies

routing information

korbenda11as
Level 1
Level 1

I just want to know if say I do a static route for a particular subnet say 167.x.x.0 255.255.255.240 192.x.x.1 does this mean that I dont need anymore to do a static route for individual hosts? say 167.x.x.3 255.255.255.255 192.x.x.1? I am confused, pls. help

thanks!

6 Replies 6

Jon Marshall
Hall of Fame
Hall of Fame

Hi

Yes, if you have a static route entry on your router for the network then you do not need host entries that fall within that subnet range.

HTH

Jon

thanks!

rajatsetia
Level 1
Level 1

Hi,

IP 167.X.X.0 Mask 255.255.255.240

This include following range of IPs :-

167.X.X.0 Subnet to 167.X.X.15 BROADCAST

167.X.X.1 FIRST IP --- 167.X.X.14 LAST IP

So your static route of 167.X.X.0 255.255.255.240 192.X.X.1 include 167.X.X.3. No need to define one more route for the specific host if you already have route for the subnet.

HTH

rgds

thanks!

devang_etcom
Level 7
Level 7

here in the static roue you are seting the nexthop 192.x.x.1 for the perticular network block... so what ever the ip address belong to that network will automatically pointed to the same next hop...

for example

ip route 192.168.1.0 255.255.255.0 192.168.2.1

here you are pointing ip address form 192.168.1.1 to 192.168.1.254 to next hop 192.168.2.1

regards

Devang

thanks!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card