cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Cisco Community November 2020 Spotlight Award Winners
13153
Views
0
Helpful
1
Replies
Highlighted
Beginner

Static route to single host

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
Highlighted
Beginner

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
Highlighted
Beginner

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