[SunHELP] ethernet aliases
Bret Adams
sunhelp at sunhelp.org
Fri Dec 14 17:00:58 CST 2001
The ifconfig man page gave me this:
To assign multiple logical interfaces you have to first plumb the physical
interface:
ifconfig le0 plumb (for example)
This opens up the physical interface for TCP/IP streams. IF this has
already been done, go on to add your logical interfaces.
ifconfig le0:1 [ip address] [netmask] [parameters] for the first logical
interface
ifconfig le1:2 [ip address].....etc....etc for the 2nd interface and so
on. I dont know the limit on how many logical interfaces you can have.
Now as to startup I am sure you can use a script in one of the rc#.d
directories to set up the ifconfig commands. I dont know if it has to be
system generated or if it exists already or if you have to make it.
At 02:23 PM 12/14/01 -0800, you wrote:
>Bret Adams wrote:
>
> > I thought you can also use tcpconfig to make permanent changes. I
> > know with tcpconfig you lose some options that are available with
> > ifconfig but mostly related to debugging.
>
>is this on solaris 8? i don't see it:
>bacall [~]% which tcpconfig
>tcpconfig not found
>bacall [~]% locate tcpconfig
>bacall [~]% uname -sr
>SunOS 5.8
>
>anyway all i want to do is to add additional IP addresses which will
>come up when the machine is rebooted.
>
>seems like this shouldn't be difficult to do.....
>
>--
>The three wise men brought frank incest and mirth.
>_______________________________________________
>SunHELP maillist - SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list