Re: Multiple IP Addresses on A Single NIC
On Fri, 2003-05-23 at 14:47, Adam Gent wrote:
> I was wondering if anyone could tell me how to set-up multiple IP addresses
> on a single network card.
Add addresses to a virtual interface:
ifconfig eth0:1 192.168.200.6 up
ifconfig eth0:2 192.168.200.20 up
ifconfig eth0:3 192.168.200.58 up
Remove a virtual interface:
ifconfig eth0:2 down
In /etc/network/interfaces, you can add virtual interfaces the same way
you add physical ones.
--
Dave Carrigan
Seattle, WA, USA
dave@rudedog.org | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to Midnight Oil - Put Down That Weapon (Diesel And Dust)
Reply to: