Changing TCP/IP address in 2.5.1

Changing TCP/IP address in 2.5.1

Post by Rick Stark » Thu, 18 Sep 1997 04:00:00



Hi

I have a quick (yet dumb) question. I have installed Solaris 2.5.1 to
pre-configure a customer's machine. I am doing this without docs. I have
everything going fine, except I need to verify our software using NFS.
Problem is, When I installed the OS, I configured the TCP/IP address to
match the customers addressing scheme. Question is, how do I change it
without rebuilding the machine.
Thank you.
--
Rick Starke

(remove "spamfree" to reply... sorry to make it difficult)

 
 
 

Changing TCP/IP address in 2.5.1

Post by Joachim Peter » Thu, 18 Sep 1997 04:00:00



> Hi

> I have a quick (yet dumb) question. I have installed Solaris 2.5.1 to
> pre-configure a customer's machine. I am doing this without docs. I have
> everything going fine, except I need to verify our software using NFS.
> Problem is, When I installed the OS, I configured the TCP/IP address to
> match the customers addressing scheme. Question is, how do I change it
> without rebuilding the machine.
> Thank you.
> --
> Rick Starke

> (remove "spamfree" to reply... sorry to make it difficult)

You can run
        sys-unconfig
or you can do it manually (big chance of missing something)
--
Joachim Peters


 
 
 

Changing TCP/IP address in 2.5.1

Post by William A. Yohm » Fri, 19 Sep 1997 04:00:00



Quote:>Hi

>I have a quick (yet dumb) question. I have installed Solaris 2.5.1 to
>pre-configure a customer's machine. I am doing this without docs. I have
>everything going fine, except I need to verify our software using NFS.
>Problem is, When I installed the OS, I configured the TCP/IP address to
>match the customers addressing scheme. Question is, how do I change it
>without rebuilding the machine.
>Thank you.

The IP address is in the /etc/hosts file, change it, reboot, test,
change it, reboot, deliver!

---------------------------------------------------------------------
Bill Yohman - "Keeper of the largest Shelby Dodge site on the 'Net!"
Owner: '86 GLHS #201             http://web2.airmail.net/wyohman/

 
 
 

Changing TCP/IP address in 2.5.1

Post by William A. Yohm » Fri, 19 Sep 1997 04:00:00


On Wed, 17 Sep 1997 13:05:59 -0500, Joachim Peters



>> Hi

>> I have a quick (yet dumb) question. I have installed Solaris 2.5.1 to
>> pre-configure a customer's machine. I am doing this without docs. I have
>> everything going fine, except I need to verify our software using NFS.
>> Problem is, When I installed the OS, I configured the TCP/IP address to
>> match the customers addressing scheme. Question is, how do I change it
>> without rebuilding the machine.
>> Thank you.
>You can run
>    sys-unconfig
>or you can do it manually (big chance of missing something)

That really only applies with hostname which is stored in:

/etc/nodename
/etc/hosts
/etc/hostname.le?
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsltr/hosts

I believe these are correct (well I know the first three and I can't
ever remember the exact path for the others.)

---------------------------------------------------------------------
Bill Yohman - "Keeper of the largest Shelby Dodge site on the 'Net!"
Owner: '86 GLHS #201             http://web2.airmail.net/wyohman/

 
 
 

Changing TCP/IP address in 2.5.1

Post by Tony Walto » Fri, 19 Sep 1997 04:00:00




> > Hi

> > I have a quick (yet dumb) question. I have installed Solaris 2.5.1 to
> > pre-configure a customer's machine. I am doing this without docs. I have
> > everything going fine, except I need to verify our software using NFS.
> > Problem is, When I installed the OS, I configured the TCP/IP address to
> > match the customers addressing scheme. Question is, how do I change it
> > without rebuilding the machine.
> > Thank you.
> > --
> > Rick Starke

> > (remove "spamfree" to reply... sorry to make it difficult)
> You can run
>         sys-unconfig
> or you can do it manually (big chance of missing something)

No - all he wants to do is change the IP address of the machine.
sys-unconfig is not necessary for this, simply edit /etc/hosts and
change the IP address for the local host entry (that's the hostname
specified in hostname.le0 - not "localhost").

Tony

 
 
 

Changing TCP/IP address in 2.5.1

Post by Nitin Ahuj » Sun, 21 Sep 1997 04:00:00


Quote:

> No - all he wants to do is change the IP address of the machine.
> sys-unconfig is not necessary for this, simply edit /etc/hosts and
> change the IP address for the local host entry (that's the hostname
> specified in hostname.le0 - not "localhost").

> Tony

Or in addition to the above (Tony) run ifconfig to change the IP address
and netmask if required.