Options

Can't Ping Switch from PC

sagarmistrysagarmistry Member Posts: 108
Guys, other thread got too confusing so asking the question again here. Things are getting too frustrating.




As shown in the pic. IP of vlan 1 is 10.1.1.10 255.255.255.0

IP of laptop connected via ethernet is 10.1.1.109 255.255.255.0

Commands enabled on fa 0/5 are:
interface FastEthernet0/5
switchport mode access
speed 100
duplex full

Problem is I can't ping the switch. I don't care abt the network or internet connection or anything but shouldn't I be able to ping the switch from my laptop's command prompt ??
ICND1 ---> 6th March

Comments

  • Options
    mikeybinecmikeybinec Member Posts: 484 ■■■□□□□□□□
    **** the switchport mode access
    Cisco NetAcad Cuyamaca College
    A.S. LAN Management 2010 Grossmont College
    B.S. I.T. Management 2013 National University
  • Options
    sagarmistrysagarmistry Member Posts: 108
    mikeybinec wrote: »
    **** the switchport mode access


    witch_3550_1(config)#int fa 0/5
    Switch_3550_1(config-if)#no swi
    Switch_3550_1(config-if)#no switchport mode
    Switch_3550_1(config-if)#no switchport mode acc
    Switch_3550_1(config-if)#no switchport mode acc
    Switch_3550_1(config-if)#no switchport mode acce
    *Mar 6 04:23:07.957: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
    Switch_3550_1(config-if)#no switchport mode access
    Switch_3550_1(config-if)#
    *Mar 6 04:23:10.961: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
    Switch_3550_1(config-if)#




    and this is from my command prompt:


    C:\Users\Sagar>ping 10.1.1.10


    Pinging 10.1.1.10 with 32 bytes of data:
    Reply from 10.1.1.11: Destination host unreachable.
    Reply from 10.1.1.11: Destination host unreachable.
    Request timed out.
    Reply from 10.1.1.11: Destination host unreachable.


    Ping statistics for 10.1.1.10:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),


    C:\Users\Sagar>ping 10.1.1.10


    Pinging 10.1.1.10 with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.


    Ping statistics for 10.1.1.10:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


    C:\Users\Sagar>
    ICND1 ---> 6th March
  • Options
    wgroomwgroom Member Posts: 147
    Do you have link lights on the laptop NIC and the switch port? Is your device set to DHCP?
    Cisco VoIP Engineer I
    CCNA R&S COLOR=#008000]Complete[/COLOR CCNA Voice COLOR=#008000]Complete[/COLOR CCNA Collaboration [In Progress]
  • Options
    sagarmistrysagarmistry Member Posts: 108
    wgroom wrote: »
    Do you have link lights on the laptop NIC and the switch port? Is your device set to DHCP?

    yup light is on. I tried setting static ip of 10.1.1.109 255.255.255.0

    and also tried dhcp. still the same result.
    ICND1 ---> 6th March
  • Options
    wgroomwgroom Member Posts: 147
    Did you try setting speed and duplex to auto? Did you try other switch ports? Try doing a show ip int bri command and ensure the switchport is not in a down state. Also, I know it defaults to it, but ensure fa0/5 is in VLAN 1 by doing a show vlan command. You did put the IP address of the switch on VLAN 1, correct? Not on the specific switch port? How about showing the full show run and show vlan results, it will give us a better view of what is happening.
    Cisco VoIP Engineer I
    CCNA R&S COLOR=#008000]Complete[/COLOR CCNA Voice COLOR=#008000]Complete[/COLOR CCNA Collaboration [In Progress]
  • Options
    jamthatjamthat Member Posts: 304 ■■■□□□□□□□
    Can you post a sh ip int b? Did you do a no shut on int vlan 1?
  • Options
    RouteMyPacketRouteMyPacket Member Posts: 1,104
    *sigh*

    Again, like your last post you post little information besides a diagram. What are the clients static IP settings? What is the default gateway on the client set to?

    How come mine works?

    Modularity and Design Simplicity:

    Think of the 2:00 a.m. test—if you were awakened in the
    middle of the night because of a network problem and had to figure out the
    traffic flows in your network while you were half asleep, could you do it?
  • Options
    DCDDCD Member Posts: 473 ■■■■□□□□□□
    DO a show vlan. post a screen shot of your nic configuration. And try a different cable and/or different port. Also do a show mac-address.
  • Options
    sagarmistrysagarmistry Member Posts: 108
    wgroom wrote: »
    Did you try setting speed and duplex to auto? Did you try other switch ports? Try doing a show ip int bri command and ensure the switchport is not in a down state. Also, I know it defaults to it, but ensure fa0/5 is in VLAN 1 by doing a show vlan command. You did put the IP address of the switch on VLAN 1, correct? Not on the specific switch port? How about showing the full show run and show vlan results, it will give us a better view of what is happening.


    Interface IP-Address OK? Method Status Protocol
    Vlan1 10.1.1.10 YES NVRAM up up
    Vlan50 10.1.50.10 YES NVRAM up up
    Vlan100 unassigned YES NVRAM down down
    FastEthernet0/1 unassigned YES unset up up
    FastEthernet0/2 unassigned YES unset up up
    FastEthernet0/3 unassigned YES unset down down
    FastEthernet0/4 unassigned YES unset down down
    FastEthernet0/5 unassigned YES unset up up
    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 up up
    FastEthernet0/10 unassigned YES unset down down
    FastEthernet0/11 unassigned YES unset down down
    FastEthernet0/12 unassigned YES unset down down
    FastEthernet0/13 unassigned YES unset down down
    FastEthernet0/14 unassigned YES unset down down
    FastEthernet0/15 unassigned YES unset down down
    FastEthernet0/16 unassigned YES unset down down
    FastEthernet0/17 unassigned YES unset down down
    FastEthernet0/18 unassigned YES unset down down
    FastEthernet0/19 unassigned YES unset down down
    FastEthernet0/20 unassigned YES unset down down
    FastEthernet0/21 unassigned YES unset down down
    FastEthernet0/22 unassigned YES unset down down
    FastEthernet0/23 unassigned YES unset down down
    FastEthernet0/24 unassigned YES unset down down
    GigabitEthernet0/1 unassigned YES unset down down
    GigabitEthernet0/2 unassigned YES unset down down
    Switch_3550_1#



    Switch_3550_1#show vlan bri


    VLAN Name Status Ports
    ----


    1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
    Fa0/6, Fa0/7, Fa0/8, Fa0/9
    Fa0/10, Fa0/11, Fa0/12, Fa0/13
    Fa0/14, Fa0/15, Fa0/16, Fa0/17
    Fa0/18, Fa0/19, Fa0/20, Fa0/21
    Fa0/22, Fa0/23, Fa0/24, Gi0/1
    Gi0/2
    50 SALES active
    1002 fddi-default act/unsup
    1003 trcrf-default act/unsup
    1004 fddinet-default act/unsup
    1005 trbrf-default act/unsup
    Switch_3550_1#



    Switch_3550_1#sho run
    Building configuration...


    Current configuration : 4736 bytes
    !
    version 12.2
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    !
    hostname Switch_3550_1
    !
    enable secret 5 $1$qMCN$Zt77AdgDumIpBrI4rOvWb/
    enable password 7 14141B180F0B
    !
    username SagarMist secret 5 $1$HLte$bOkO8U7pqz5OekTcFrl2h.
    username sagar password 7 01100F175804
    no aaa new-model
    ip subnet-zero
    ip domain-name sagarswitch.com
    !
    vtp domain Sagarswitch3550
    vtp mode transparent
    !
    !
    crypto pki trustpoint TP-self-signed-587564672
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-587564672
    revocation-check none
    rsakeypair TP-self-signed-587564672
    !
    !
    crypto pki certificate chain TP-self-signed-587564672
    certificate self-signed 01
    30820251 308201BA A0030201 02020101 300D0609 2A864886 F70D0101 04050030
    30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
    69666963 6174652D 35383735 36343637 32301E17 0D393330 33303130 30303035
    395A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
    532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3538 37353634
    36373230 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
    B1B811CE C1F9298B B534FC5B 299CBA57 181B5D80 032E7B42 F40FFA9B F0114E15
    AF0339BA 53A9D203 4547B14B 5A5830E3 ABA086AE A1459BE6 BDA59C49 9AC69B5C
    900CD0C2 344FF1C2 E77A5D0F 76E0882D 0A11C9CB 5033C479 5FBBEF7A 66113549
    2289E473 F6869FE9 66BEA591 59942854 51ABB106 D27D7942 DAF37327 98C9CBD3
    02030100 01A37B30 79300F06 03551D13 0101FF04 05300301 01FF3026 0603551D
    11041F30 1D821B53 57495443 485F3335 35302E73 61676172 73776974 63682E63
    6F6D301F 0603551D 23041830 1680149E 4F5747F1 116DE2BE 24F5B8CA 9BF6E58E
    2CCECE30 1D060355 1D0E0416 04149E4F 5747F111 6DE2BE24 F5B8CA9B F6E58E2C
    CECE300D 06092A86 4886F70D 01010405 00038181 0037DC93 ACD2BDDE BA5EB977
    41E84399 31844F2C BE4032B1 4C548875 880612C3 9D19D72B 5604D454 D80D3CEC
    04793CB2 8EBE9B54 EEFD1036 DF7A94CD 73A3C42C D8FC023C 2B8B654A AAEF93C3
    ED8B68E4 1285FEAD 04C90C51 38C271E3 05575310 2F4940C6 4260C01D 1CB56EE9
    3A654C41 8ABDBCD8 4A63B717 140C167F 7CB98D28 60
    quit
    !
    !
    spanning-tree mode pvst
    spanning-tree extend system-id
    !
    vlan internal allocation policy ascending
    !
    vlan 50
    name SALES
    !
    ip ssh version 2
    !
    !
    interface FastEthernet0/1
    switchport trunk encapsulation dot1q
    switchport mode trunk
    switchport port-security maximum 40
    switchport port-security
    !
    interface FastEthernet0/2
    switchport mode access
    !
    interface FastEthernet0/3
    switchport mode access
    !
    interface FastEthernet0/4
    switchport mode access
    !
    interface FastEthernet0/5
    switchport mode dynamic desirable
    speed 100
    duplex full
    !
    interface FastEthernet0/6
    switchport mode access
    !
    interface FastEthernet0/7
    switchport mode access
    !
    interface FastEthernet0/8
    switchport mode access
    !
    interface FastEthernet0/9
    switchport mode access
    speed 100
    duplex full
    !
    interface FastEthernet0/10
    switchport mode access
    !
    interface FastEthernet0/11
    switchport mode access
    !
    interface FastEthernet0/12
    switchport mode access
    !
    interface FastEthernet0/13
    switchport mode access
    !
    interface FastEthernet0/14
    switchport mode access
    !
    interface FastEthernet0/15
    switchport mode access
    !
    interface FastEthernet0/16
    switchport mode access
    !
    interface FastEthernet0/17
    switchport mode access
    !
    interface FastEthernet0/18
    switchport mode access
    !
    interface FastEthernet0/19
    switchport mode access
    !
    interface FastEthernet0/20
    switchport mode access
    !
    interface FastEthernet0/21
    switchport mode access
    !
    interface FastEthernet0/22
    switchport mode access
    !
    interface FastEthernet0/23
    switchport mode access
    !
    interface FastEthernet0/24
    switchport mode access
    !
    interface GigabitEthernet0/1
    switchport mode dynamic desirable
    !
    interface GigabitEthernet0/2
    switchport mode dynamic desirable
    !
    interface Vlan1
    ip address 10.1.1.10 255.255.255.0
    ip security dedicated unclassified genser
    ip security add
    !
    interface Vlan50
    description SALES
    ip address 10.1.50.10 255.255.255.0
    ip security dedicated unclassified genser
    ip security add
    !
    interface Vlan100
    no ip address
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 10.1.3.2
    ip route 192.168.0.0 255.255.255.0 192.168.0.115
    ip route 192.168.0.0 255.255.255.0 10.1.3.2
    ip http server
    ip http secure-server
    !
    !
    control-plane
    !
    banner motd ^C
    *******************************************************


    WELCOME TO SAGAR'S SWITCH 3550:


    *******************************************************








    ^C
    !
    line con 0
    exec-timeout 0 0
    password 7 02050D480809
    logging synchronous
    login local
    line vty 0 4
    logging synchronous
    login local
    transport input telnet ssh
    line vty 5 15
    logging synchronous
    login local
    transport input telnet ssh
    !
    end


    Switch_3550_1#
    ICND1 ---> 6th March
  • Options
    sagarmistrysagarmistry Member Posts: 108
    wgroom wrote: »
    Did you try setting speed and duplex to auto? Did you try other switch ports? Try doing a show ip int bri command and ensure the switchport is not in a down state. Also, I know it defaults to it, but ensure fa0/5 is in VLAN 1 by doing a show vlan command. You did put the IP address of the switch on VLAN 1, correct? Not on the specific switch port? How about showing the full show run and show vlan results, it will give us a better view of what is happening.



    Tried diff switch ports and fa 0/5 the laptop is in vlan 1

    posted the other results.
    ICND1 ---> 6th March
  • Options
    sagarmistrysagarmistry Member Posts: 108
    jamthat wrote: »
    Can you post a sh ip int b? Did you do a no shut on int vlan 1?


    posted the results above. And yes vlan 1 is active and running.
    ICND1 ---> 6th March
  • Options
    sagarmistrysagarmistry Member Posts: 108
    *sigh*

    Again, like your last post you post little information besides a diagram. What are the clients static IP settings? What is the default gateway on the client set to?

    How come mine works?



    Client IP setting meaning my PC Ip settings?

    I've set it to 10.1.1.109 255.255.255.0

    Didn't set any default gateway because jeremy didn't set it.

    But I also tried setting it to 10.1.1.10
    ICND1 ---> 6th March
  • Options
    RouteMyPacketRouteMyPacket Member Posts: 1,104
    Serious question, do you really want to learn networking "sagarmistry"? These threads are not going to help you at all, you need to crawl, walk, run

    Just start over completely, you need to understand how traffic flows, what the process is for a PC to communicate across a L2 vlan

    Bring up a new switch, and a new PC

    Forget security, or vty access, you can move on to those once you understand how to gain basic connectivity. You are failing over and over on basic connectivity and all these responses are going to do nothing but confuse you more than you already are.

    Again, you have packet tracer so let's start over from scratch, ready?
    Modularity and Design Simplicity:

    Think of the 2:00 a.m. test—if you were awakened in the
    middle of the night because of a network problem and had to figure out the
    traffic flows in your network while you were half asleep, could you do it?
  • Options
    sagarmistrysagarmistry Member Posts: 108
    DCD wrote: »
    DO a show vlan. post a screen shot of your nic configuration. And try a different cable and/or different port. Also do a show mac-address.


    Switch_3550_1#show mac address-table
    Mac Address Table


    Vlan Mac Address Type Ports
    ----


    All 000f.2305.8680 STATIC CPU
    All 000f.2305.8681 STATIC CPU
    All 000f.2305.8682 STATIC CPU
    All 000f.2305.8683 STATIC CPU
    All 000f.2305.8684 STATIC CPU
    All 000f.2305.8685 STATIC CPU
    All 000f.2305.8686 STATIC CPU
    All 000f.2305.8687 STATIC CPU
    All 000f.2305.8688 STATIC CPU
    All 000f.2305.8689 STATIC CPU
    All 000f.2305.868a STATIC CPU
    All 000f.2305.868b STATIC CPU
    All 000f.2305.868c STATIC CPU
    All 000f.2305.868d STATIC CPU
    All 000f.2305.868e STATIC CPU
    All 000f.2305.868f STATIC CPU
    All 000f.2305.8690 STATIC CPU
    All 000f.2305.8691 STATIC CPU
    All 000f.2305.8692 STATIC CPU
    All 000f.2305.8693 STATIC CPU
    All 000f.2305.8694 STATIC CPU
    All 000f.2305.8695 STATIC CPU
    All 000f.2305.8696 STATIC CPU
    All 000f.2305.8697 STATIC CPU
    All 000f.2305.8698 STATIC CPU
    All 000f.2305.8699 STATIC CPU
    All 000f.2305.869a STATIC CPU
    All 0100.0c00.0000 STATIC CPU
    All 0100.0ccc.cccc STATIC CPU
    All 0100.0ccc.cccd STATIC CPU
    All 0180.c200.0000 STATIC CPU
    All 0180.c200.0001 STATIC CPU
    All 0180.c200.0002 STATIC CPU
    All 0180.c200.0003 STATIC CPU
    All 0180.c200.0004 STATIC CPU
    All 0180.c200.0005 STATIC CPU
    All 0180.c200.0006 STATIC CPU
    All 0180.c200.0007 STATIC CPU
    All 0180.c200.0008 STATIC CPU
    All 0180.c200.0009 STATIC CPU
    All 0180.c200.000a STATIC CPU
    All 0180.c200.000b STATIC CPU
    All 0180.c200.000c STATIC CPU
    All 0180.c200.000d STATIC CPU
    All 0180.c200.000e STATIC CPU
    All 0180.c200.000f STATIC CPU
    All 0180.c200.0010 STATIC CPU
    1 0004.c11b.a380 DYNAMIC Fa0/1
    1 0004.c11b.a381 DYNAMIC Fa0/1
    1 0006.dc83.a829 DYNAMIC Fa0/2
    1 000b.4649.e600 DYNAMIC Fa0/1
    1 000b.4649.e601 DYNAMIC Fa0/9
    1 00e0.1e68.a2f0 DYNAMIC Fa0/1
    1 4802.2a48.0aac DYNAMIC Fa0/2
    1 50b7.c395.7c9d DYNAMIC Fa0/1
    1 50b7.c3f6.3167 DYNAMIC Fa0/2
    1 b407.f9fc.1df8 DYNAMIC Fa0/2
    1 c0a0.bbe8.ff36 DYNAMIC Fa0/2
    Total Mac Addresses for this criterion: 58
    Switch_3550_1#




    tried different ports and cables as well. same result. other show results posted
    ICND1 ---> 6th March
  • Options
    sagarmistrysagarmistry Member Posts: 108
    Serious question, do you really want to learn networking "sagarmistry"? These threads are not going to help you at all, you need to crawl, walk, run

    Just start over completely, you need to understand how traffic flows, what the process is for a PC to communicate across a L2 vlan

    Bring up a new switch, and a new PC

    Forget security, or vty access, you can move on to those once you understand how to gain basic connectivity. You are failing over and over on basic connectivity and all these responses are going to do nothing but confuse you more than you already are.

    Again, you have packet tracer so let's start over from scratch, ready?


    Alright. i'll start again in packet tracer. set same configs and post all settings once i'm done here.
    ICND1 ---> 6th March
  • Options
    RouteMyPacketRouteMyPacket Member Posts: 1,104
    Alright. i'll start again in packet tracer. set same configs and post all settings once i'm done here.

    No, start from scratch and establish BASIC CONNECTIVITY

    What you want to accomplish

    1. Assign an IP address to the switch on VLAN 1
    2. Assign IP address on PC
    3. Verify connectivity to switch from PC

    Do we now have connectivity?
    Modularity and Design Simplicity:

    Think of the 2:00 a.m. test—if you were awakened in the
    middle of the night because of a network problem and had to figure out the
    traffic flows in your network while you were half asleep, could you do it?
  • Options
    sagarmistrysagarmistry Member Posts: 108
    No, start from scratch and establish BASIC CONNECTIVITY

    What you want to accomplish

    1. Assign an IP address to the switch on VLAN 1
    2. Assign IP address on PC
    3. Verify connectivity to switch from PC

    Do we now have connectivity?





    Got the connectivity on packet tracer. Did the same things on my actual PC and Switch but not getting the same results.
    ICND1 ---> 6th March
  • Options
    sagarmistrysagarmistry Member Posts: 108



    here is screen shot of network on my laptop.
    ICND1 ---> 6th March
  • Options
    RouteMyPacketRouteMyPacket Member Posts: 1,104


    Got the connectivity on packet tracer. Did the same things on my actual PC and Switch but not getting the same results.

    I can't help you with your physical gear, you should be able to put two and two together and figure that out. Now what is the next thing you want to accomplish? Inter-Vlan routing? Ok, so how do you do that?

    1. Create a new SVI, say vlan 50
    2. Create the L2 vlan entry for vlan 50
    3. Create a new PC, assign IP in the range of vlan 50
    4. Configure access port for vlan 50, connect pc to this port

    Do we have connectivity? Can that PC ping PC1 on vlan 1?
    Modularity and Design Simplicity:

    Think of the 2:00 a.m. test—if you were awakened in the
    middle of the night because of a network problem and had to figure out the
    traffic flows in your network while you were half asleep, could you do it?
  • Options
    sagarmistrysagarmistry Member Posts: 108
    I can't help you with your physical gear, you should be able to put two and two together and figure that out. Now what is the next thing you want to accomplish? Inter-Vlan routing? Ok, so how do you do that?

    1. Create a new SVI, say vlan 50
    2. Create the L2 vlan entry for vlan 50
    3. Create a new PC, assign IP in the range of vlan 50
    4. Configure access port for vlan 50, connect pc to this port

    Do we have connectivity? Can that PC ping PC1 on vlan 1?


    switch pings both PCs and PCs pings it's own vlans. but not the other pc of other vlan. :/
    Ip vlan 1: 10.1.1.10
    PC1 : 10.1.1.109

    VLan 50: 10.1.50.10
    PC2: 10.1.50.11

    Submask for all: 255.255.255.0
    ICND1 ---> 6th March
  • Options
    sagarmistrysagarmistry Member Posts: 108
    Nevermind. Created a new vlan on my switch gave it IP: 10.1.50.10
    Ip of PC 10.1.50.11 255.255.255.0

    Now it telnets and pings the switch as well as routers and switches connected to that switch.

    Thanks for helping everyone.

    One more thing. SSH also works on that vlan.
    ICND1 ---> 6th March
  • Options
    RouteMyPacketRouteMyPacket Member Posts: 1,104
    Ok, now do you understand the process that is taken for PC on VLAN1 to communicate with PC on VLAN50?

    Run the simulation for icmp
    Modularity and Design Simplicity:

    Think of the 2:00 a.m. test—if you were awakened in the
    middle of the night because of a network problem and had to figure out the
    traffic flows in your network while you were half asleep, could you do it?
  • Options
    PickerPicker Member Posts: 46 ■■■□□□□□□□
    sagarmistry... Check the config on the PC. PC & switch duplex, and speed settings should be the same.
  • Options
    SimridSimrid Member Posts: 327
    mikeybinec wrote: »
    **** the switchport mode access

    T'is what im thinking
    Network Engineer | London, UK | Currently working on: CCIE Routing & Switching

    sriddle.co.uk
    uk.linkedin.com/in/simonriddle
Sign In or Register to comment.