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

"ip route" commoand problem

dan_track
Level 1
Level 1

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 2

Harold Ritter
Cisco Employee
Cisco Employee

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

b.petronio
Level 3
Level 3

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card