Issue using static route in Packet Tracer

Alhaji265Alhaji265 Member Posts: 205 ■■■□□□□□□□
Error appears when I enter these config in, here are the diagram:9k=




Router(config)#ip route 124.10.10.12 255.252.0.0 124.10.10.10
%Inconsistent address and mask
Router(config)#ip route 124.10.10.12 255.192.0.0 124.10.10.10
%Inconsistent address and mask
Router(config)#ip route 124.10.10.12 255.224.0.0 124.10.10.10
%Inconsistent address and mask
Router(config)#ip route 124.10.10.12 255.224.0.0 20.0.0.0
%Inconsistent address and mask
Router(config)#ip route 124.10.10.12 255.192.0.0 20.0.0.0
%Inconsistent address and mask
Router(config)#ip route 124.10.10.12 255.192.0.0 ser
Router(config)#ip route 124.10.10.12 255.192.0.0 serial 0/0/0
%Inconsistent address and mask

Comments

  • Alhaji265Alhaji265 Member Posts: 205 ■■■□□□□□□□
    Never mind, I was suppose to add ip route 39.0.0.0 255.192.0.0 serial 0/0/0.
  • WilyOneWilyOne Member Posts: 131
    Not sure where you got that lab from, but I would point out that in the real world you would never use such a big network for a point to point link such as that serial connection. icon_surprised.gif
  • flattleyflattley Member Posts: 12 ■□□□□□□□□□
    Alhaji265 wrote: »
    Never mind, I was suppose to add ip route 39.0.0.0 255.192.0.0 serial 0/0/0.

    Shouldn't it be ip route 39.20.0.0 255.252.0.0 serial 0/0/0?

    A /14 mask would be 255.252.0.0. This would give you a block size of 4 in the 2nd octet. The network would be 39.20.0.0 (Network address) - 39.23.255.255 (Broadcast address)
  • iamme4evaiamme4eva Member Posts: 272
    Alhaji265 wrote: »
    ip route 124.10.10.12 255.252.0.0 124.10.10.10
    %Inconsistent address and mask

    That error message means that you are not using a network address (subnet ID)for your ip route.

    ip route <NETWORK ADDRESS> <MASK> <NEXT HOP OR INTERFACE>

    124.10.10.12 is an IP Address, the network address would be 124.0.0.0.
    Current objective: CCNA Security
    My blog: mybraindump.co.uk
Sign In or Register to comment.