Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

I am not able to ping device attached to the opposite interface of the router

Hi Guys

I am not able to ping device attached to the opposite interface of the router

When I am trying to ping the address 10.30.0.84 of laptop attached to Gi0/1 from the laptop attached to interface to interface gi0/2 - not able

Able to ping 172.22.0.1 and 10.30.0.72 interfaces

What is the problem ? Configuration is attached

interface GigabitEthernet0/1
 ip address 10.30.0.72 255.255.255.224
 no ip route-cache
 duplex auto
 speed auto
 media-type rj45
 no negotiation auto
 no mop enabled
!
interface GigabitEthernet0/2
 ip address 172.22.0.1 255.255.255.0
 no ip route-cache
 duplex auto
 speed auto
 media-type rj45
 no negotiation auto
!
interface GigabitEthernet0/3
 no ip address
 no ip route-cache
 shutdown
 duplex auto
 speed auto
 media-type rj45
 no negotiation auto
!
ip default-gateway 10.30.0.65
ip route 0.0.0.0 0.0.0.0 10.30.0.65
ip route 172.22.0.0 255.255.255.0 GigabitEthernet0/1 10.30.0.65
ip http server
ip http authentication local
ip http secure-server
!

Regards

Mike

  • Silicon Valley Cisco User Group (SVCUG)
1 REPLY
VIP Purple

Hey

Hey

just couple of things command default-gateway is a layer 2 command only should be used on a switch with no routing in place , if the device has ip interfaces always use just the default route

have you enabled ip routing on the device locally and how do these routes know about each other whats doing the layer 3 routing , currently you just have a default route pointing to 10.30.0.65 , does this device have a route to both ips your trying to reach and does it sit inbetween your two devices trying to reach eachother ? why i say that is something has to control the routing, if your only using defaults and statics they need to be able to reach from each direction or else use some kind of IGP like eigrp where theres a routing table which contains all the routing information

9
Views
0
Helpful
1
Replies