cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1652
Views
0
Helpful
4
Replies

newbie: cisco static routing %Inconsistent Address and Mask

anyone1
Level 1
Level 1
4 Replies 4

Hi,

 

when you adding static routes, you need to specify 'network address' and not the host IP unless you are specify mask as /32. try specifying full network address. for ex,.

 

ip route 192.168.12.128 255.255.255.224 192.168.12.161  - on surray router. and same way in other router.

 

also link between 2 routers need to be in same subnet. as per diagram, its in 2 different subnets which will not work.

 

rate and mark as answer if this solved your issue

 

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

it still did not worked

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,
There is a some discrepencies between your diagram and the table of configuration. For reference, PC1 should have the following config:

IP: 192.168.12.158
mask: 255.255.255.224
DGW: 192.168.12.129

 

Remove whatever static routes you have currrently configured, and add this config:

!! calgary-router
!
ip route 192.168.12.0 255.255.255.128 192.168.12.162
!


!! surrey-router
!
int fa0/1
  ip address 192.168.12.162 255.255.255.252
!
ip route 192.168.12.128 255.255.255.224 192.168.12.161
!

 

cheers,
Seb.

Hello,

 

post the zipped Packet Tracer project (.pkt) file...