arp question

Answered Question

I have an access switch plugged into our core with using a trunk port. To manage this switch I've added a vlan to it which also exists on the core (so it's routed throughout our network)...this switch also contains some vlans which are local to this switch and are not routed through the rest of the network. IP Routing is not enabled on the switch, and the trunk port only allows the routed vlan.


My problem is, for some reason when I try to connect to this switch it always fails, I can't even ping it. I'm getting an incomplete arp entry for my PC. I ran an arp debug and noticed that it's sending the arp request from one of the vlans that are not on the core...and the vlan is not allowed on the trunk....which would explain why it's not getting a response. How do I prevent that from happening?

Correct Answer by Edison Ortiz about 8 years 11 months ago

Can you ping the switch from the Core?

You mentioned the switch does not have "ip routing" enable (which is fine) but have you configured a "ip default-gateway" on the switch so packets destined to other subnets know where to go?


Also, is the source workstation connected physically to this switch?


Can this workstation connect to the core (telnet)?


__


Edison.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
lgijssel Wed, 07/23/2008 - 00:44
User Badges:
  • Red, 2250 points or more

It looks like the switch does not have a route to your PC. When the switch doesn't do ip routing, you need to set it's default gateway to an ip adress in the correct subnet on the core switch or other device that should perform the routing.

For protocols like telnet and snmp you can also "fix" the interface that must be used by configuring:

ip telnet source-interface

ip snmp source-interface


regards,

Leo

That did not work. The source IP address requesting the mac on the switch is a network that the core does not have routes to...so even if I add the default route to the switch and enable ip routing it won't work...as the core won't know where to send the packets back.


The ip telnet source-int won't work either, as the switch is not even able to resolve my mac address.


Any other ideas?

Correct Answer
Edison Ortiz Thu, 07/24/2008 - 09:11
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Can you ping the switch from the Core?

You mentioned the switch does not have "ip routing" enable (which is fine) but have you configured a "ip default-gateway" on the switch so packets destined to other subnets know where to go?


Also, is the source workstation connected physically to this switch?


Can this workstation connect to the core (telnet)?


__


Edison.

Edison Ortiz Thu, 07/24/2008 - 12:28
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

ip route 0.0.0.0 0.0.0.0 will only work if you have ip routing enabled.


With ip routing disabled, you need ip default-gateway.


Without knowing where to go, it was picking a random Vlan, and the chosen Vlan was the one you saw in your debug.


__


Edison.


Please rate helpful posts


Actions

This Discussion