cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18163
Views
0
Helpful
1
Replies

Static route to single host

jeff.vargas
Level 1
Level 1

Ok, I haven't done this for awhile so I don't remember how to enter the prefix mask for a static route to a single host address. If I wan't to add a static route to a single address do I put all 255's as the prefix mask? As so:

ip route 10.10.10.5 255.255.255.255 10.10.20.1

Thanks,

1 Accepted Solution

Accepted Solutions

gschertz
Level 1
Level 1

Yes the prefix mask for a host would be 255 in all four octets. so your route will work for that host.

Gene

View solution in original post

1 Reply 1

gschertz
Level 1
Level 1

Yes the prefix mask for a host would be 255 in all four octets. so your route will work for that host.

Gene

Review Cisco Networking for a $25 gift card