Sample Header Ad - 728x90

Setting multiple IP addresses on private network interface using Vagrant

4 votes
1 answer
2938 views
I am trying to configure IPv4 and IPv6 address on Internal network Vagrant interface but I am unable to do so. Here is the configuration: config.vm.network "private_network", ip: "192.168.30.10", ip: "fd::10", virtualbox__intnet: true, bridge: "eth1" config.vm.network "private_network", ip: "192.168.40.10", virtualbox__intnet: true, bridge: "eth2" Ideally I would love to setup link-local address manually but I got error when booting up VM. For now I can work with private IPv6 addresses. Is the only way to turn off auto-config and set it up inside VM?
Asked by phandox (141 rep)
Apr 10, 2016, 08:46 PM
Last activity: Jun 13, 2025, 06:06 AM