Hi!
I want to create a local network between VMs so that I won't need to buy extra ip addresses. How can I do that?
I want to create a local network between VMs so that I won't need to buy extra ip addresses. How can I do that?
auto vmbr1
iface vmbr1 inet static
address 192.168.178.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up iptables -t nat -A POSTROUTING -s '192.168.178.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.178.0/24' -o eth0 -j MASQUERADE
can you give me some examples?You don't need another bridge to do that, you can just have multiple subnets on a single physical network.
can you give me some examples?
We use essential cookies to make this site work, and optional cookies to enhance your experience.