Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.