SUMMARY: IP address aliasing

From: Orcutt, Bruce <Bruce.Orcutt_at_alltel.com>
Date: Thu Mar 14 2002 - 13:48:08 EST
Thanks to Kevin Reichhart for the answer:

If you want this interface to come up at boottime, make
/etc/hostname.eri0:1 and put the hostname in it (make sure it's not the
same name as any other interfaces), create an entry in /etc/hosts with
that name and 10.10.10.1, put 10.10.10.2 in /etc/defaultgateway and

10.10.10.0 255.255.255.0
in /etc/netmasks

-----Original Message-----
From: Orcutt, Bruce [mailto:Bruce.Orcutt@alltel.com]
Sent: Thursday, March 14, 2002 1:26 PM
To: Kevin Reichhart
Subject: RE: IP address aliasing

Ah, ok, I saw the dest-addr field in the ifconfig man page and assumed
it would be for the gateway.

Thanks for the help.


-----Original Message-----
From: Kevin Reichhart [mailto:KReichhart@Yantra.com]
Sent: Thursday, March 14, 2002 1:17 PM
To: Orcutt, Bruce
Subject: RE: IP address aliasing


You don't specify the gateway with ifconfig

ifconfig eri0:1 plumb
ifconfig eri0:1 10.10.10.1 netmask 255.255.255.0 up

should work.  To add 10.10.10.2 as a default gateway...

route add default 10.10.10.2

-----Original Message-----
From: Orcutt, Bruce
Sent: Thursday, March 14, 2002 11:56 AM
To: sunmanagers@sunmanagers.org
Subject: IP address aliasing


Hello fellow admins.

Trying to set up an alias on a Solaris 8 machine.

Tried doing the following (ip addresses changed):
10.10.10.1 being the address I want the new alias to be.
10.10.10.2 being the gateway.

ifconfig eri0:1 plumb
ifconfig eri0:1 10.10.10.1 10.10.10.2 netmask 255.255.255.0 up

Did this and was booted from the box (was using eri0's network
connection (not eri0:1) to connect in).

Any help would be appreciated.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Mar 14 12:49:18 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:37 EST