Inconsistent address and mask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
