By chinchani
Created two droplets in a VPC and each gets a ‘eth1’ with a IP address in some subnet.
Add another address from the same subnet to ‘eth1’ on one droplet. I cannot ping that address from the second droplet.
I can see ARPs coming through for the DO assigned addresses.
Is there some filtering going on in between?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi,
The solution you are going to apply seems to not be officially supported by DO. Accordingly to the DO’s doc, ‘VPCs do not support multicast or broadcast’ - https://www.digitalocean.com/docs/networking/vpc/ . However, your goal is still achievable. So, you added an IP address to the interface eth1 on (let’s call it) droplet1. To make it visible on droplet2 you need to update its ARP table. You can do that with arp command. On droplet2 execute:
sudo arp -v -i eth1 -s droplet1_added_ip droplet1_eth1_mac_address
e.g. sudo arp -v -i eth1 -s 192.168.10.10 ea:82:31:14:0a:fb
To display ARP table, execute arp command with no parameters.
Unfortunately, such solution needs updating droplet2’s ARP table, at least after its restarting. I am not sure if you would have to update it periodically as well. On some network devices static ARP entries are held just for few hours.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.