cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
527
Views
2
Helpful
2
Replies

ip route issues

s10248257
Level 1
Level 1

It seems i have encounter this issues could some kind souls help me resolve this issues, thanks.

R1(config)#ip route 201.15.100.97 255.255.255.224 201.15.100.126

%Inconsistent address and mask

2 Accepted Solutions

Accepted Solutions

Hello,

 

You are using the first host IP address and not the network IP address for that mask. Try this:

 

R1(config)#ip route 201.15.100.96 255.255.255.224 201.15.100.126

 

-David

View solution in original post

M02@rt37
VIP
VIP

Hello @s10248257 

For a subnet mask of 255.255.255.224, the valid IP addresses would be in increments of 32 (since 256 - 224 = 32). In this case, the valid range would be 201.15.100.96 to 201.15.100.127.

R1(config)#ip route 201.15.100.96 255.255.255.224 201.15.100.126

Note: an IP address is always even

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

2 Replies 2

Hello,

 

You are using the first host IP address and not the network IP address for that mask. Try this:

 

R1(config)#ip route 201.15.100.96 255.255.255.224 201.15.100.126

 

-David

M02@rt37
VIP
VIP

Hello @s10248257 

For a subnet mask of 255.255.255.224, the valid IP addresses would be in increments of 32 (since 256 - 224 = 32). In this case, the valid range would be 201.15.100.96 to 201.15.100.127.

R1(config)#ip route 201.15.100.96 255.255.255.224 201.15.100.126

Note: an IP address is always even

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.