05-21-2023 11:37 AM
I am trying to create static ip route from R2 to R1
R2: ip route 23.48.50.76 255.255.255.224 23.48.50.125
The above returns inconsistent address and mask error for R2
05-21-2023 11:41 AM - edited 05-21-2023 11:44 AM
23.48.50.76 255.255.255.224 ><- change 76 to 64
05-21-2023 12:10 PM
Hello @ialaaka,
If you need from R2 to reach the host 23.48.50.76 then change the mask with 255.255.255.255 (/32).
R2: ip route 23.48.50.76 255.255.255.255 23.48.50.125
If you want an ip route to the subnet which contain the ip 23.48.50.76 with this mask 255.255.255.224 (/27) then @MHM Cisco World is right, put 23.48.50.64 instead of 23.48.50.76.
R2: ip route 23.48.50.64 255.255.255.224 23.48.50.125
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