[sllug-members]: Multiple IPs?

William Attwood wattwood at gmail.com
Fri Jan 25 13:11:01 MST 2008


Here's a better example:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.6
netmask 255.255.255.0
gateway 192.168.1.20

auto eth0:0
iface eth0:0 inet static
address 192.168.1.151
netmask 255.255.255.0
gateway 192.168.1.20

auto eth0:1
iface eth0:1 inet static
address 192.168.1.152
netmask 255.255.255.0
gateway 192.168.1.20

auto eth0:2
iface eth0:2 inet static
address 192.168.1.153
netmask 255.255.255.0
gateway 192.168.1.20

auto eth0:3
iface eth0:3 inet static
address 192.168.1.154
netmask 255.255.255.0
gateway 192.168.1.20

auto eth0:4
iface eth0:4 inet static
address 192.168.1.155
netmask 255.255.255.0
gateway 192.168.1.20


On Jan 25, 2008 1:09 PM, William Attwood <wattwood at gmail.com> wrote:

> It can handle more than one.
>
> In your interfaces file, where you have eth0, you would simply have
> another entry eth0:0, another eth0:1, another eth0:2, etc..
>
> --Will
>
>
> On Jan 25, 2008 1:01 PM, Adam Barrett <dragen at gmail.com> wrote:
>
> > Can a single Ethernet card handle more than 1 IP address? Or would I
> > need a separate card for each IP?
> >
> > --
> > Adam Barrett
> > dragen at gmail.com
> > ______________________________________________________________________
> > See http://www.sllug.org/ for latest SLLUG news, information, links.
> > Join SLLUG and other UT LUG members on irc.FreeNode.net channel #Utah
> > sllug-members at sllug.org
> > http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sllug.org/pipermail/sllug-members/attachments/20080125/ac49097b/attachment.html


More information about the sllug-members mailing list