How do I configure an interface to have *both* a DHCP address and a static address in Ubuntu?
- by Paul Hoffman
In a lab setup, I want eth0 on a Ubuntu server box to get a DHCP address for talking to the outside world, and I also want to assign it a static 10.x.y.z address for talking to other boxes on the local network that have 10.x.y.z addresses. I want to do this by editing /etc/network/interfaces.
The man page for /etc/network/interfaces is modeled…