SUMMARY: Multiple IP on Solaris 2.6

From: Tuan-Eng Tan (
Date: Sat Mar 28 1998 - 10:07:32 CST

Hi, all

I'd like to thank the following people for suggesting me some idea to
my question:
  Ayoub, Nicky <>
  David Thorburn-Gundlach <>
  Dennis F. Morse <dmorse@Morsesoft.COM>
  Chris Marble <>
  Robert Bays <>

The problem is due to the bug in Solaris 2.6. Applying the patch 105786-01
(SunOS: /kernel/drv/ip) solve my problem.

The second problem can easily be solved be adding /etc/hostname.le0:1

See the original reply below.

--Original Question---
I recently setup a multiple ip address for a unix box with Solaris 2.6 using
the following command manually...
 ifconfig le0:1 up private -trailer netmask + broadcast +
Note that the is for a totally different domain (says and my current domain is
The DNS entry for which is sited on our dns server (say contains www refering to I also set refering to the new virtual ip address in the dns entry

When I telnet to some other machine outside our domain, sometime my ip
address appeared as the ip address defined for le0, and sometime le0:1
dominates. I can tell this because the machine that I telnet to blocks
all the machine from outside the campus.

My question is that how can I hide my dns/ip address when I telnet to other
machine? i.e., using the ip address defined for le0.

Also, how can I setup the rc script so that the ifconfig is
automatically run when the machine boot/reboot.

From: "Ayoub, Nicky" <>
Date: Fri, 27 Mar 1998 08:02:50 -0700

To make the virtual interface automatically create an
/etc/hostname.le0:1 file with its name in it. The same
mechanism for setting up le0 automatically will be

Date: Fri, 27 Mar 1998 07:26:42 -0500
From: David Thorburn-Gundlach <>

I can't tell you why you connect through different ports, unless
perhaps you do not have a default router set in /etc/defaultrouter.

To make your ifconfig changes permanent, simply create a name file for
that interface -- in this case, /etc/hostname.le0:1 -- and put the
name in there and put the name and address in /etc/hosts.

Check the man pages.


Date: Fri, 27 Mar 1998 01:24:37 -0800
From: "Dennis F. Morse" <dmorse@Morsesoft.COM>

Regarding your message, I too have a similar set up and have the same
problem. Just two days ago I configured my Solaris 2.6 SPARC system running
the latest patches as of March 1, 1998 and haven't found a solution yet.
The critical problem for me is remote authentication, which doesn't work
now. I'll pass on anything else I discover. Please summarize any solution
you come up with.

From: Chris Marble <>
Date: Thu, 26 Mar 1998 17:22:05 -0800 (PST)

Not sure, but we're looking at that too. The machine alternates between

> Also, how can I setup the rc script so that the ifconfig is
> automatically run when the machine boot/reboot.

Just create
-rw-r--r-- 1 root root 17 Nov 18 16:32 /etc/hostname.le0
-rw-r--r-- 1 root other 17 Nov 24 10:30 /etc/hostname.le0:1

and put the desired hostname in each file. Then put in the correct
names and numbers in /etc/hosts.

Date: Thu, 26 Mar 1998 16:41:49 -0800 (PST)
From: Robert Bays <>

There is a bug in 2.6 /kernel/drv/ip. You must get the updated file from sun
then use ndd to set ip_enable_if_groups in /dev/ip to 0.

Tuan-Eng Tan
Universities Water Information Network
Southern Illinois University at Carbondale

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:34 CDT