I need to bind router MAC to second IP address in a RVI. I have tried to
set interfaces vlan unit 6 family inet address 192.168.4.1/24 arp 192.168.4.5 mac 2c:6b:f5:80:aa:01 publish
but with router MAC is not working. If I change MAC to other than router's works.
How to do it?
I need to receive packets sent to 192.168.4.5 but not install as direct route.
It's like an ARP Proxy but for only one IP...
Solved! by adding second ip as RVI and a firewall filter to math second ip and change routing-instance.
set interfaces vlan unit 62 family inet filter input vlan-62set interfaces vlan unit 62 family inet address 192.168.4.1/24set interfaces vlan unit 62 family inet address 192.168.4.5/24
set firewall family inet filter vlan-62 term nat from destination-prefix-list SRVI-listset firewall family inet filter vlan-62 term nat then routing-instance vr-srvi
set policy-options prefix-list SRVI-list 192.168.4.5/32
set routing-instances vr-srvi instance-type virtual-routerset routing-instances vr-srvi interface vlan.14set routing-instances vr-srvi routing-options static route 0.0.0.0/0 next-hop 10.2.1.1
192.168.4.5 is second IP.
At next hop I route to desired target.