SUMMARY: Multiple IP on Solaris 2.6

From: Tuan-Eng Tan (tetan@uwin.siu.edu)
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 <Nicky.Ayoub@avnet.com>
  David Thorburn-Gundlach <david@bae.uga.edu>
  Dennis F. Morse <dmorse@Morsesoft.COM>
  Chris Marble <cmarble@orion.ac.hmc.edu>
  Robert Bays <robert@ironlight.com>

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 111.222.222.90 up private -trailer netmask + broadcast +
Note that the 111.222.222.90 is for a totally different domain (says
some.org) and my current domain is uuuu.siu.edu.
The DNS entry for some.org which is sited on our dns server (say
111.222.222.40) contains www refering to 111.222.222.90. I also set
some.uuuu.siu.edu refering to the new virtual ip address in the dns entry
for uuuu.siu.edu.

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.

--Replys-------
From: "Ayoub, Nicky" <Nicky.Ayoub@avnet.com>
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
used.

Date: Fri, 27 Mar 1998 07:26:42 -0500
From: David Thorburn-Gundlach <david@bae.uga.edu>

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.

:-D

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 <cmarble@orion.ac.hmc.edu>
Date: Thu, 26 Mar 1998 17:22:05 -0800 (PST)

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

> 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 <robert@ironlight.com>

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