I'm trying to setup 15 or so different IP addresses that I'd like the eth0 interface to bind on. I've looked online at quite a few guides that show how to add multiple IP addresses to the /etc/network/interfaces file. However, they do not show a configuration in which different ranges of IP addresses are added on one interface.
If you want to run multiple services with their own IP address and don’t have as many Network Cards (NICs), then you might want to create multiple virtual IP addresses. Creating virtual IP addresses allows you to take a single nic and assign multiple virtual IP addresses to it.
I'm running Ubuntu 10.04 on my home router which has multiple network interfaces. I have dhcpd configured to provide addresses from 192.168.1.0/24 subnet on certain interface. However, I'd like to also provide addresses from 192.168.2.0/24 subnet for another interface. How can I configure dhcpd to do so?