Options

1x Switch 2x Routers IP Adressing

toe44toe44 Registered Users Posts: 9 ■□□□□□□□□□
Hi all,

I am trying to get my lab up and running, I have it set up:

host machine straight through to 2950 straight though to 2611 e0/0 cross over cable to fe0/0 2621XM

2950
VLAN1 192.168.1.3

2611
E0/0 192.168.1.4
E0/1 192.168.1.6

2621XM
FE0/0 192.168.1.10

The switch and routers all have been setup and have telnet enabled.
I can ping and telnet into the 2611 fine but I cannot ping or telnet the 2621xm.

I am sure I have IP address wrong can anyone suggest a reason why this setup doesn't work?

Any help would be much appreciated!

Comments

  • Options
    hypnotoadhypnotoad Banned Posts: 915
    the 2611 thinks all 192.168.1 networks are on the same interface. can you ping the 2621XM from the IOS command prompt on the 2611?

    They basically need to be separated by making one "side" of the path 192.168.2.x or something like that.
  • Options
    toe44toe44 Registered Users Posts: 9 ■□□□□□□□□□
    2950
    VLAN1 192.168.7.1

    2611
    E0/0 192.168.3.1
    E0/1 192.168.4.1

    2621XM
    FE0/0 192.168.8.1


    Now I cannot ping the 2611 with the new ip addressing?
  • Options
    mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    Each network segment needs to share a common network -- that's where your subnetting knowledge and skills should come in handy.
    :mike: Cisco Certifications -- Collect the Entire Set!
  • Options
    wbosherwbosher Member Posts: 422
    If you set it up something like what's below, it should work.

    2950
    Int VLAN1 192.168.1.2

    2611
    Link to 2950 - 192.168.1.1
    Link to 2621XM - 192.168.2.1

    2621XM
    Link to 2611 - 192.168.2.2

    Make sure any PCs plugged into the 2950 are in the same subnet as 192.168.1.1 (assuming you're only using one VLAN). Default gateway should be the IP address of the router interface that your switch is plugged into, in the above example 192.168.1.1.

    The addresses of the interfaces between the two routers must be in the same network, in the above example 192.168.2.0 /24.
  • Options
    toe44toe44 Registered Users Posts: 9 ■□□□□□□□□□
    The switch I am using doesn't allow any ip addressing to be set up on the individual ports, it only allows you to configure the IP address of VLAN1.

    When I do the following:

    Switch#conf t
    Switch(config)interface fe0/4 (which the 2611 is connected)
    Switch(config-if)ip address
    %Unrecognized command
    Switch(config-if)ip ?
    Interface IP configuration subcommands :
    dhcp DHCP
    igmp IGMP

    This does not allow me to assign IP address for a interface...

    I have set the VLAN1 to 192.168.1.2 and can ping the 2611 fine, but still cannot ping the 2621XM. Just returns unreachable.

    I also set the default gateway to 192.168.1.1 on the switch.

    The switch version is 12.1(22)EA8a

    Switch#show ip interface brief
    Interface IP-Address OK? Method Status Protocol
    Vlan1 192.168.1.2 YES manual up up
    FastEthernet0/1 unassigned YES unset down down
    FastEthernet0/2 unassigned YES unset down down
    FastEthernet0/3 unassigned YES unset down down
    FastEthernet0/4 unassigned YES unset up up
    FastEthernet0/5 unassigned YES unset down down
    FastEthernet0/6 unassigned YES unset down down
    FastEthernet0/7 unassigned YES unset down down
    FastEthernet0/8 unassigned YES unset down down
    FastEthernet0/9 unassigned YES unset down down
    FastEthernet0/10 unassigned YES unset down down
    --More--

    As above the VLAN is assigned an IP address but fe0/4 isn't


    HOWEVER:-

    I can telnet from the host machine to the switch, then to 2611, then to 2621xm.

    But I cannot ping from switch to the 2621xm? or from the 2621xm to the switch vlan1
  • Options
    mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    The switch needs a default gateway configured (probably the 2611) so it can reach networks other than the one you've configured for VLAN1.

    Ping verifies two way communication -- it sends an echo request, and if that's received buy the destination then it gets an echo reply back (if the destination recipient knows how to send packets back to it).

    The 2621XM needs some routing information to reach non-directly connected network -- so either you need a routing protocol or static routes.

    The 2611 is directly connected to both networks, so as long as routing is enabled on the router it can forward packets to both networks (and ping IP addresses on both networks).
    :mike: Cisco Certifications -- Collect the Entire Set!
  • Options
    toe44toe44 Registered Users Posts: 9 ■□□□□□□□□□
    mikej412 wrote: »
    The switch needs a default gateway configured (probably the 2611) so it can reach networks other than the one you've configured for VLAN1.

    Ping verifies two way communication -- it sends an echo request, and if that's received buy the destination then it gets an echo reply back (if the destination recipient knows how to send packets back to it).

    The 2621XM needs some routing information to reach non-directly connected network -- so either you need a routing protocol or static routes.

    The 2611 is directly connected to both networks, so as long as routing is enabled on the router it can forward packets to both networks (and ping IP addresses on both networks).


    If I was to setup a static route what would it be? I understand the principles but I can't get it into a practical setup.
  • Options
    wbosherwbosher Member Posts: 422
    toe44 wrote: »
    If I was to setup a static route what would it be? I understand the principles but I can't get it into a practical setup.

    What study material are you using? I would suggest getting your hands on either the Cisco Press books or the Sybex book.

    Everyone here is more that willing to help you, but you're unlikely to pass the exam unless you put in some time with the books. icon_study.gif
Sign In or Register to comment.