cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3476
Views
5
Helpful
1
Replies

IP route to VLAN interface not working, but works to VLAN IP

vikramfonseca
Level 1
Level 1

Hi,

On some of my implementations, I use 'ip route X.X.X.X Y.Y.Y.Y Vlan<#>', which doesn't work. However, if I use '

ip route X.X.X.X Y.Y.Y.Y Vlan<IP>', it works.

Can anyone explain the underlying reason please?

1 Reply 1

answanso
Cisco Employee
Cisco Employee

Proxy-arp is a technique in which one network device answers the arp request intended for another host. When you configure a static route with a next-hop of the outgoing SVI interface, you rely on a device within that VLAN to proxy or fake its identity and accept responsibility for routing the packets to the real destination. Without a device that supports proxy-arp, this breaks which is probably what is happening here. This is also not a great design because it forces the device to arp for everything as opposed to just the ip address of it's next-hop like it would when you configure the VLAN IP address. It results in a large ARP cache which can be resource intensive.

HTH

Anthony

Review Cisco Networking products for a $25 gift card