inconsistent address and mask for static routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2017 05:54 AM - edited 03-08-2019 09:36 AM
I am trying to create static ip route from R3 to R1
R3 : 30.30.30.2 /24
R2;30.30.30.1/24 and 10.10.10.2/8
R1:10.10.10.1 /8
R3:ip route 10.10.10.0 255.0.0.0 30.30.30.1
The above returns inconsistent address and mask error for R3 :
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2017 06:38 AM
If the network is a /8, then the network-address that you have to use in the "ip route" statement ist 10.0.0.0:
ip route 10.0.0.0 255.0.0.0 30.30.30.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2017 06:40 AM
R2 and R3 both have identical IP addresses? that probably won't do what you want !
(30.30.30.1/24). Did you intend one to be 30.30.30.2/24 for one of them, maybe ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2017 06:54 AM
edited
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2017 03:48 AM
PS - if you aren't running a routing protocol, you'll also need a static on R1, to get to the other 2 routers, for the 30.30.30.0/24 network. Even pings from R3 to R1 would fail, as the packet would make it R3->R1, but there wouldn't be a return path.
(Unless you happened to have ip proxy-arp enabled on R2).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2017 06:55 AM
I am trying to create static ip route from R3 to R1
R3 : 30.30.30.2 /24
R2;30.30.30.1/24 and 10.10.10.2/8
R1:10.10.10.1 /8
R3:ip route 10.10.10.0 255.0.0.0 30.30.30.1
The above returns inconsistent address and mask error for R3 :
Hi,
Either you do proper subnetting for your destination network and do routing configuration, As 10.10.10.1 will fall under 10.0.0.0/8 ..so put route for 10.0.0.0/8 on your R3 towards R2 and check the connectivity.
Hope it Helps..
-GI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2017 09:14 PM
hi
How come 10.10.10.10/24 comes under /8 network. ? I thought that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2017 08:12 AM
Yes, you need either
R3:ip route 10.0.0.0.0 255.0.0.0 30.30.30.1
or ip route 10.10.10.0 255.255.255.0 30.30.30.1
You can't effectively "wildcard out" in the subnet mask and include all the details, as it doesn't make sense.
