Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

"ip route" commoand problem

Hi

When I add teh following route in I get the error:

router1(config)#ip route 89.187.75.134 255.255.255.0 10.44.30.1

%Inconsistent address and mask

Can someone please explain why teh error is happening, shouldn't it just take teh route.

Thanks

Dan

2 REPLIES
Cisco Employee

Re: "ip route" commoand problem

Dan,

Try "ip route 89.187.75.0 255.255.255.0 10.44.30.1" instead.

Regards,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Community Member

Re: "ip route" commoand problem

Hi Dan,

You are trying to add a single host route with a Class C Mask.

You should change the mask to 255.255.255.255, with you only need a host route, or change the network address from 89.187.75.134 to 89.187.75.0, if you need to route all the Class C Address Range.

Best Regards,

Petrónio

113
Views
0
Helpful
2
Replies
CreatePlease to create content