[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiple IP Addresses on A Single NIC



Adam Gent said:
> Hi,
>
> I was wondering if anyone could tell me how to set-up multiple IP
> addresses on a single network card.


in /etc/network/interfaces

(taking eth0 as an example)

iface eth0 inet static
        address 216.39.174.24
        netmask 255.255.255.0
        broadcast 216.39.174.255
        gateway 216.39.174.1
        network 216.39.174.0
iface eth0:1 inet static
        address 216.39.174.26
        netmask 255.255.255.255
iface eth0:2 inet static
       address 216.39.174.27
       netmask 255.255.255.255


nate





Reply to: