Multiple IP addresses on one NIC
I need to bind several IP addresses to a single NIC on one of my firewalls.
I am using kernel 2.4.20 with iptables 1.2.7a on a host with 3 NICs.
NIC1 = Internal LAN
NIC2 = Sister organisation
NIC3 = Internet
What I need is the ability to spoof one or more hosts on the internal LAN, by representing them as individual addresses on NIC2.
All other hosts on the internal LAN that want to talk to "Sister organisation" are simply SNAT'ed by the standard NIC2 IP, and this is working fine.
How do I bind the extra IP adresses to NIC2, so I can use these in nat and filter rules, host the same services for more than one internal host etc?
Preferably there should be no binding between the host part of the IP adress on the inside and the outside - i.e. inside the host could be called 192.168.0.10 and outside 10.11.12.13 or something.