Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    IP Address Aliasing (more than one IP address)

    I am getting ready to setup a firestarter firewall as a perimeter (gateway) firewall. I need to add more than one IP address to the external interface so that I can port forward from these external IP's to internal IP's.

    For example external port:80 to internal
    For example external port:25 to internal
    For example external port:80 to internal

    So, what I'm asking is how to assign multiple IP addresses to the same NIC. I will be using CentOS 4.3 and Firestarter as the firewall. Is this possible or is there a better firewall application out there. I'm looking for simplicity and reliability.


  2. #2
    Just Joined! forgottentq's Avatar
    Join Date
    Jun 2006
    Virginia at the moment.
    It's actually extremely easy to do this.. Each device is registered by number right? eth0, eth1, eth2 etc.. Well each interface has it's own inet numbering system. All you have to do is configure eth0 with your primary ip.. then eth0:1 with another ip eth0:2 with another, so on and so forth.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts