cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
486
Views
5
Helpful
2
Replies

No default-gateway but I can still ping outside of subnet?!?

jkeeffe
Level 2
Level 2

I have two 3750 switches in a stack that does not have a default-gateway statement yet when I telnet to that stack, I can ping a device that is on a different subnet. The switches are L2 only and are uplinked to two distribution layer 6509 routers that are running GLBP between them.

Isn't the default-gateway command necessary for communications to subnets other than what the stack has locally? I've only had one cup of coffee this morning and maybe that's where the problem is.

CSB-SW73-15-216#sh run int vlan 73

Building configuration...

Current configuration : 65 bytes

!

interface Vlan73

ip address 168.77.73.15 255.255.255.128

end

CSB-SW73-15-216#sh ip route

Default gateway is not set

Host Gateway Last Use Total Uses Interface

ICMP redirect cache is empty

CSB-SW73-15-216#ping 168.77.44.25

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 168.77.44.25, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms

CSB-SW73-15-216#

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

I'm sure the 6509 has proxy-arp enabled hence forwarding those packets in behalf of those switches.

Disable proxy-arp and see the differences.

View solution in original post

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

I'm sure the 6509 has proxy-arp enabled hence forwarding those packets in behalf of those switches.

Disable proxy-arp and see the differences.

Jim

I believe that it is true that for RELIABLE access to outside subnets there should be a default gateway. As you have discovered switches such as the 3750 will ARP for remote destinations if they do not have a default gateway. And as Edison has pointed out for the connection to work the next hop router must have proxy arp enabled. And if proxy arp is disabled then you will not have remote connectivity without a default gateway configured.

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card