Manual Proxy Arp

Hey! Just wondered about general usability of Proxy ARP.
I understand the basic concepts of the service from a Cisco training mindset.
However, I’d like to know if it’s possible to manually specify an IP Address to respond to ARP’s from.

I think it would be beneficial (for me anyway) to be able to configure a VyOS interface to response for ARP’s for certain IP’s but not have configured the IP Address it self.
This would then allow the VyOS to route to that IP via. it’s routing table.

For example;
I have ‘eth0’ configured with the following;
:: set interfaces eth0 address 218.100.50.2/24
and a Static route for, 218.100.50.5/32 next-hop 192.168.50.1 (eth1)

I would like to configure ‘eth0’ to respond for ARP’s bound for 218.100.50.5.
Then VyOS would receive the packet and forward out of eth1, to 192.168.50.1.

I hope this makes sense - just wondered if anyone can think of a way to configure it?

Thanks!

Try it

set interfaces ethernet eth0 ip enable-proxy-arp

Woah.
I’ve sat there faffing about with that for ages.
Just nuked my config and started again and it worked first time. :smiley:
Thanks!

For reference for future people stumbling across this post.
This is my config;

vyos@vyos:~$ show configuration
interfaces {
    ethernet eth0 {
        address dhcp
        hw-id 00:15:5d:0a:0a:03
        ip {
            enable-proxy-arp
        }
    }
    ethernet eth1 {
        address 192.168.20.1/24
        hw-id 00:15:5d:0a:0a:04
    }
    loopback lo {
    }
}
protocols {
    static {
        route 172.25.217.250/32 {
            next-hop 192.168.20.20 {
            }
        }
    }
}
service {
    ssh {
    }
}
system {
    config-management {
        commit-revisions 100
    }
    console {
        device ttyS0 {
            speed 115200
        }
    }
    host-name vyos
    login {
        user vyos {
            authentication {
                encrypted-password ****************
                plaintext-password ****************
            }
        }
    }
    ntp {
        server 0.pool.ntp.org {
        }
        server 1.pool.ntp.org {
        }
        server 2.pool.ntp.org {
        }
    }
    syslog {
        global {
            facility all {
                level info
            }
            facility protocols {
                level debug
            }
        }
    }
}

Please also see Ethernet — VyOS 1.4.x (sagitta) documentation

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.