Multiple IP numbers on one interface?

Multiple IP numbers on one interface?

Post by Kenneth Herr » Thu, 14 Mar 1996 04:00:00



My office runs a number of email servers, each serving a different
set of users.  We'd like to start doubling up servers, i.e. have each
machine serve more than one email domain.

So far it all looks doable except for one thing.  The existing hardware
is rack-mount x86-PC cards running solaris x86 2.4.  Each x86-PC can only
take one network interface, because each has only one ISA slot.  So it
looks like we'll need to assign multiple IP numbers to the network card
and have each POP server bind to a separate IP address.

Is this possible under solaris (x86)?  Is there another way to do this?
--

 
 
 

Multiple IP numbers on one interface?

Post by Ray W. Hiltbran » Fri, 15 Mar 1996 04:00:00


You can configure one interface to have multiple address

From Solaris FAQ:
4.11) How can I have multiple addresses per interface?

Solaris 2.x provides a feature in ifconfig that allows having more than
one IP address per
interfaces. (Undocumented but existing prior to 2.5, documented in 2.5)

Syntax:

        ifconfig IF:N ip-address up

where "IF" is an interface (e.g., le0) and N is a number between 1 and
255. Removing the pseudo
interface and associated address is done with "ifconfig IF:N 0.0.0.0
down".


> My office runs a number of email servers, each serving a different
> set of users.  We'd like to start doubling up servers, i.e. have each
> machine serve more than one email domain.

> So far it all looks doable except for one thing.  The existing hardware
> is rack-mount x86-PC cards running solaris x86 2.4.  Each x86-PC can only
> take one network interface, because each has only one ISA slot.  So it
> looks like we'll need to assign multiple IP numbers to the network card
> and have each POP server bind to a separate IP address.

> Is this possible under solaris (x86)?  Is there another way to do this?
> --


--

Engineering Network Services
Auburn University
http://www.eng.auburn.edu/~rayh/rayh.html

   If you are not in the lead your view never changes.