I have assigned IP to laptop with gateway. This gateway is actually the IP address of the Cisco 2951 router port. But my laptop doesn't come in the network that's why it doesn't ping the router port.

The status of the laptop and router port is up.

I have configured the same scenario on the other port of the Cisco 2951 router but there is no issue with it.

  • I think you need to provide relevant parts of the cisco configuration to enable us to suggest solutions to your issue. It could be that the port you are connected to on the switch is not in the same vlan as the vlan with the default gw?
    – Sven
    Aug 11 at 13:04
  • I am not connecting on switch. I am directly connecting router port to laptop and it works on one port but not on the other port.
    – Umair
    Aug 12 at 5:31

Router ports require configuration. Unless they are put in the same switching group, each port is a separate L3 interface, connecting to a separate (possibly unconfigured) subnet on the router.

You cannot use router ports at random like you can use switch ports.

  • I am not using any switch b/w router and laptop and it is working on the other port without any special configuration.
    – Umair
    Aug 12 at 5:32
  • 1
    "The other port" may be in a switching group. You need to check the router's configuration for what it does and configure it to add what it doesn't. You can add the config to your question for us to review (remove public IP addresses, user accounts, passwords, ... first).
    – Zac67
    Aug 12 at 5:50
  • Zac, I have already added configuration in details. I used private Ip address scheme. It's a new router so there is no previous configuration on this port.
    – Umair
    Aug 14 at 7:15
  • I was referring to the output of show running-config. Additionally, we need to know which ports "the one" and "the other" are.
    – Zac67
    Aug 14 at 7:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.