06-01-2019 01:42 PM - edited 06-01-2019 01:43 PM
Hi, i have a trouble today i get errors like : %Inconsistent address and mask
i try to ip route 10.0.2.0 255.255.252.0 nexthop
i dont put next hop but that info was irrelevant
But dont work.
Any help?
Solved! Go to Solution.
06-01-2019 01:48 PM
Hello,
static route requires to use the subnet address when network mask is 255.255.252.0
the subnet address is:
10.0.0.0/22
the correct static route is :
ip route 10.0.0.0 255.255.252.0 <nexthop>
if you want to create a static route for 10.0.2.0/23 you need to use
ip route 10.0.2.0 255.255.254.0 <nexthop>
Hope to help
Giuseppe
06-01-2019 01:48 PM
Hello,
static route requires to use the subnet address when network mask is 255.255.252.0
the subnet address is:
10.0.0.0/22
the correct static route is :
ip route 10.0.0.0 255.255.252.0 <nexthop>
if you want to create a static route for 10.0.2.0/23 you need to use
ip route 10.0.2.0 255.255.254.0 <nexthop>
Hope to help
Giuseppe
06-01-2019 03:46 PM - edited 06-01-2019 03:46 PM
Hi my friend,
You are using the wrong mask for this case that is not inconsistent you must place:
Binary
Network
Come on, you can are small things that help us grow.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide