Q. Can one Linux / BSD system respond to multiple IP address on a single Ethernet interface? I need to run multiple web sites and mod_ssl with a single server. How do I configure my box for multiple IP address?
A. Linux / UNIX and BSD like operating systems supports multiple IP address on a single interface using a feature called ip aliasing. You can add extra IP addresses with the ifconfig command. However, I recommend modifying configuration files so that operating system remember all ips after reboot.
See our previous FAQ and How-tos about IP aliasing:
- FreeBSD Setup 2 IP address on One NIC ( IP alias )
- How to bind a range of IP’s in Debian / Ubuntu Linux
- Red Hat / CentOS / Fedora Linux add multiple IP address
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop










{ 1 comment… read it below or add one }
Hi,
it appears that You don’t have to have multiple ip’s to achieve this.You can do pretty much the same using TLS Extensions.Take a look:
Link