cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6919
Views
0
Helpful
7
Replies

inconsistent address and mask for static routing

jordan-jj
Level 1
Level 1

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 : 

7 Replies 7

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

pwwiddicombe
Level 4
Level 4

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 ?

edited

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).

Ganesh Hariharan
VIP Alumni
VIP Alumni
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

hi 

How come 10.10.10.10/24 comes under /8 network. ? I thought that i am implementing classless routing

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.

Review Cisco Networking for a $25 gift card