%Inconsistent address and mask

zhadyrazhadyra Registered Users Posts: 4 ■□□□□□□□□□
how to solve this problem?
Router(config)#ip route 172.16.1.1 255.255.255.0 Se0/0/0
%Inconsistent address and mask

Comments

  • networker050184networker050184 Mod Posts: 11,962 Mod
    What network are you trying to route?
    An expert is a man who has made all the mistakes which can be made.
  • zhadyrazhadyra Registered Users Posts: 4 ■□□□□□□□□□
    in general here i have to configure static route
  • networker050184networker050184 Mod Posts: 11,962 Mod
    Right, but what is the network address of the network you are trying to route?
    An expert is a man who has made all the mistakes which can be made.
  • zhadyrazhadyra Registered Users Posts: 4 ■□□□□□□□□□

    on this picture ,
    I'm just beginner,Please do not be angry,but I did not fully know about this courseicon_silent.gif
  • DeathmageDeathmage Banned Posts: 2,496
    O
    zhadyra wrote: »
    on this picture ,
    I'm just beginner,Please do not be angry,but I did not fully know about this courseicon_silent.gif

    Typically you don't want the router connections end to end to be the same interface, just asking for trouble. If I were you the S0/0/0 interface your using at the end of the route use the iP address of that interface instead and then press enter. See if it gives you and error then...

    Additionally routing 192.168.1.1 would be an address not a routable subnet like 192.168.1.0, which would be...

    As for you're routes so you know, you want your next hop to be were you last part of the ip route to be.

    For instance say on R2 on S0/0/0 is 192.168.5.1 and one R1 on S0/0/0 is 192.168.5.2. So say you want to get to 172.16.3.0 subnet from router 2 your ip route would be : "ip route 172.16.3.0 255.255.255.0 192.168.5.2". Placing that route on R2 would get you to subnet 172.16.3.0 via R1 serial interface at S0/0/0. Lastly any routes returning routes from R1 to R2 would be needed to make the back-n-fourth of data between routers.

    Hope this helps. There is way more to it. But this should help you grasp it, I hope. :=)
  • DCDDCD Member Posts: 475 ■■■■□□□□□□
    First off give your router a hostname so we know which router your working on. If you are on Router 0 there are two way fix your problem. Either use a network ID or /32 address. You need to identify your objective with you static routes.
  • zhadyrazhadyra Registered Users Posts: 4 ■□□□□□□□□□
    Thankq for everyone ;) I solved
Sign In or Register to comment.