Many datacentres sell the option of having more than one IPv4 address per server.
Before I buy and allocate any addresses, I'd like to experiment with this at home, but I am unsure how to go about it. Is it the job of specialist routers/switches or can it be achieved with basic switches and cheap PCs?
PC(A) has IPs 10.0.1.1/28
PC(B) has IP 10.0.1.254
PC(A)'s request to 10.0.1.1 and 10.0.1.2 (etc.) go to PC(B).
I have a few home routers with inbuilt switches on them that I can disable DHCP in the config. I also have a few old machines I can use to provide any netwoking services e.g. DHCP.
One of the reasons I'd like to experiment with how to do this, is to allow 1 machine to accept requests on a given port from multiple domains without proxying (hence multiple IPs), then forward the packets internally to services, on differing internal ports, based on their destination IP, with iptables rules.