Frequently Asked Questions

How do I set up additional IPs on Debian like releases
Last Updated 5 years ago

Content of the \etc\networking\interfaces file

auto {device}
iface lo inet loopback
iface eth0 inet static
address {ip}
broadcast {ip}
post-up route add GATEWAY_VM dev {dev}
post-up route add default gw GATEWAY_VM
pre-down route del GATEWAY_VM dev {dev}
pre-down route del default gw GATEWAY_VM

For Debian prior to v5, nameservers are set in /etc/resolv.conf


For Debian v6 and later, nameservers are set in /etc/networking/interfaces


Please Wait!

Please wait... it will take a second!