Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Cisco CCNA - please check Static conf

Options
  • 14-06-2011 8:19pm
    #1
    Closed Accounts Posts: 48


    Hi lads,
    Doing one of my homework now - they ask to configure RIP v2 and configure static route on Router(s) A&B
    I think everything is fine but.... extended ping is not working from RouterA to fa0/0 on RouterB and vice versa! why?
    show run
    @Router-A
    !
    interface FastEthernet0/0
     ip address 10.1.1.1 255.255.255.0
     duplex auto
     speed auto
    !
    interface FastEthernet0/1
     ip address 192.168.1.33 255.255.255.224
     duplex auto
     speed auto
    !
    interface Serial0/0
     ip address 172.16.12.205 255.255.255.252
    !
    interface Serial0/1
     no ip address
     shutdown
    !
    router rip
     version 2
     network 10.0.0.0
     network 172.16.0.0
    !
    ip classless
    ip route 192.168.1.0 255.255.255.224 172.16.12.206 
    !
    
    @Router-B
    !
    interface FastEthernet0/0
     ip address 10.2.2.1 255.255.255.0
     duplex auto
     speed auto
    !
    interface FastEthernet0/1
     ip address 192.168.1.65 255.255.255.224
     duplex auto
     speed auto
    !
    interface Serial0/0
     ip address 172.16.12.206 255.255.255.252
     clock rate 128000
    !
    interface Serial0/1
     no ip address
     shutdown
    !
    router rip
     version 2
     network 10.0.0.0
     network 172.16.0.0
    !
    ip classless
    ip route 192.168.1.0 255.255.255.224 172.16.12.205 
    !
    


Comments

  • Closed Accounts Posts: 2,039 ✭✭✭rmacm


    Any ideas yourself why it might not be working? You're not going to learn anything if someone just tells you.

    I assume you are linking fa0/0 on Router A to fa0/0 on Router B, notice something about the IP addresses you have assigned those links?


  • Closed Accounts Posts: 48 AdNet


    Hey
    I spend 4h looking into answers - still have no idea why not working
    .... they are in different subnet?


  • Closed Accounts Posts: 2,039 ✭✭✭rmacm


    AdNet wrote: »
    Hey
    I spend 4h looking into answers - still have no idea why not working
    .... they are in different subnet?

    That's one thing, how about fa0/1

    Also check your static route too.


  • Closed Accounts Posts: 48 AdNet


    I just said that - Router A fa0/1 and Router B fa0/1 are in different subnets
    Same is with fa0/0 anyway;
    like I just said - I know that there is something wrong - I just can't understood what excacly is that...?


  • Closed Accounts Posts: 2,039 ✭✭✭rmacm


    If you put a cable between fa0/0 on Router A and fa0/0 on Router B and configure the interfaces like you have them now they won't be able to ping each other because they are on a different subnet.

    The same applies for fa0/1 on both routers.

    Your serial connection looks alright.

    Your static routes are pointing at the incorrect subnet(s).


  • Advertisement
  • Closed Accounts Posts: 48 AdNet


    rmacm wrote: »
    Your static routes are pointing at the incorrect subnet(s).

    I found an answer 3h ago that static route should have mask 255.255.255.0 (not .224 like I have) but I still don't understand why is that if IP address is given with .224 mask....


  • Closed Accounts Posts: 2,039 ✭✭✭rmacm


    AdNet wrote: »
    I found an answer 3h ago that static route should have mask 255.255.255.0 (not .224 like I have) but I still don't understand why is that if IP address is given with .224 mask....

    Take the subnet 192.168.1.0/27

    (/27 is another way of writing 255.255.255.224)

    How many addresses does it contain? You'll see that your other 192.168.1.x networks are outside this range.

    Have you covered sub netting yet? I'd suggest you get to know this really well first.


  • Closed Accounts Posts: 48 AdNet


    rmacm wrote: »
    How many addresses does it contain?
    Have you covered sub netting yet?

    0-32
    33-64
    65-96
    etc.

    Yes I should have cover everything - I have my ICDN1 exam in 30 days
    I just try to understood where is that mistake...
    So is that route should be:

    192.168.1.0 255.255.255.0 (why 0) s0/0


  • Closed Accounts Posts: 2,039 ✭✭✭rmacm


    AdNet wrote: »
    0-32
    33-64
    65-96
    etc.

    Yes I should have cover everything - I have my ICDN1 exam in 30 days
    I just try to understood where is that mistake...
    So is that route should be:

    192.168.1.0 255.255.255.0 (why 0) s0/0

    The static route to 192.168.1.0 255.255.255.224 will only give you a route to addresses in the range 192.168.1.1 -> 192.168.1.31

    Using the 255.255.255.0 netmask will cover addresses 192.168.1.1 -> 192.168.1.254

    Remember the first and last number of a subnet are used as the network number and broadcast address for that subnet respectively.

    Anyway bed time here tis getting late.


  • Closed Accounts Posts: 48 AdNet


    Thanks 4u time
    Hope it will help some others as well
    Now I know its better but it still confusing ;)
    I have many examples in my book and notes but they sometimes very diferent from question above.


  • Advertisement
  • Registered Users Posts: 3,612 ✭✭✭Dardania


    IP Addressing & subnets is one of those things that you simply must know for CCNA - it's hard to grasp, but once you do, it is a piece of piss thereafter. Like bicycle riding...

    The book I was pointed to was the IP Addressing Workbook v1.5: http://www.google.com/url?sa=t&source=web&cd=3&ved=0CCgQFjAC&url=http%3A%2F%2Fwww.fsksm.utm.my%2F~homepage%2Fscr2213%2FIP%2520Addressing%2520and%2520Subnetting%2520Workbook%2520-%2520Student%2520Version%25201_5.pdf&ei=WGz6TeeLINK4hAeFxOSzAw&usg=AFQjCNGC-gLpH-28-XrqbCCcXNwdvWyq-A


Advertisement