Summary: Best way to ifconfig alias BSD style on SYS V

From: Jon E. Kump (xavier@postnet.com)
Date: Mon Mar 15 1999 - 15:22:50 CST


After getting everyones input. I have added some static route in and the extra
Class C's I want on the box now owrk as they should.

I added the following

route add net 192.168.2.1 192.168.1.1
route add net 192.168.3.1 192.168.1.1

Then added the interfaces as the documentations says.

ifconfig hme0:N "ipadder" netmask "netmask" -trailers up

THanks to all who sent me a reply to my question.

On 15-Mar-99 Jon E. Kump wrote:
> Were conferting a webhosting server from BSDI to Solaris 2.6. We currently
> have
> 200 some odd ipaddress assigned to the box. All are on different Class C
> ranges
> than the main interface on the machine. for example main machine ip
> 192.168.1.
> 2. The aliased address are on 192.168.2.x and 192.168.3.x respectively. We
> do
> this on BSD via ifconfig ef0 "ipaddress" alias. My question is what is the
> best
> way to do this on Solaris? We tried ifconfig hme0 "ipaddress" "ipaddress of
> th
> e main interface" up. This gives us a point-to-point address and we arent
> sure
> if that is what we really want. Do I need to implement routing via
> in.routed?
>
> Thanks for any advice.
> -------------------------------------------------------------------------
>|Jon E. Kump Sr. Unix Systems Administrator, Web Programmer,|
>|jkump@postnet.com Systems Programmer, Postmaster |
>|xavier@postnet.com Pulitzer Technologies, Inc. |
> -------------------------------------------------------------------------
>

-------------------------------------------------------------------------
|Jon E. Kump Sr. Unix Systems Administrator, Web Programmer,|
|jkump@postnet.com Systems Programmer, Postmaster |
|xavier@postnet.com Pulitzer Technologies, Inc. |
-------------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:16 CDT