Networking Question

Networking Question

Post by Mark Rit » Tue, 16 Apr 2002 22:58:41



OK Here is a really stupid question that shows just how little I know
Solaris/Unix....

When I set up my machine I was given a static IP address.

Now I am reconfiguring the office and I have been given a new IP Address.

How do I permanently change from the old to the new?

Thank You,

Mark

 
 
 

Networking Question

Post by Jimb » Tue, 16 Apr 2002 23:16:02


Just update the hosts file with the new IP address - you will also need to
change the default route if that has changed in "/etc/defaultrouter"

J

Quote:> OK Here is a really stupid question that shows just how little I know
> Solaris/Unix....

> When I set up my machine I was given a static IP address.

> Now I am reconfiguring the office and I have been given a new IP Address.

> How do I permanently change from the old to the new?

> Thank You,

> Mark


 
 
 

Networking Question

Post by Dave S » Tue, 16 Apr 2002 23:30:21



> Just update the hosts file with the new IP address - you will also need to
> change the default route if that has changed in "/etc/defaultrouter"

> J


>> OK Here is a really stupid question that shows just how little I know
>> Solaris/Unix....

>> When I set up my machine I was given a static IP address.

>> Now I am reconfiguring the office and I have been given a new IP Address.

>> How do I permanently change from the old to the new?

>> Thank You,

>> Mark

Mark is very correct on this. Also, be sure to check the /etc/inet/hosts
just to be sure it updated correctly (it should automatically, its a link
from /etc/hosts).

Just for FYI though, the safe way to start all the networking configs over
is to bring it down to single user mode and run a /sbin/sys-unconfig and
reboot.  It will come up and allow you to re-specify everything you'll need
to get it up on the new network.

--Dave

 
 
 

Networking Question

Post by Chris Morga » Wed, 17 Apr 2002 00:09:03



> Just update the hosts file with the new IP address - you will also need to
> change the default route if that has changed in "/etc/defaultrouter"

and maybe clear out the old default route and install a new one

man route
--
Chris Morgan <cm at mihalis.net>                  http://www.mihalis.net
      Temp sig. - Enquire within

 
 
 

Networking Question

Post by Mark Rit » Wed, 17 Apr 2002 01:29:25


another question to prove my ignorance....

how do you bring it down to single user mode?

Thanks again

Mark



> > Just update the hosts file with the new IP address - you will also need
to
> > change the default route if that has changed in "/etc/defaultrouter"

> > J


> >> OK Here is a really stupid question that shows just how little I know
> >> Solaris/Unix....

> >> When I set up my machine I was given a static IP address.

> >> Now I am reconfiguring the office and I have been given a new IP
Address.

> >> How do I permanently change from the old to the new?

> >> Thank You,

> >> Mark

> Mark is very correct on this. Also, be sure to check the /etc/inet/hosts
> just to be sure it updated correctly (it should automatically, its a link
> from /etc/hosts).

> Just for FYI though, the safe way to start all the networking configs over
> is to bring it down to single user mode and run a /sbin/sys-unconfig and
> reboot.  It will come up and allow you to re-specify everything you'll
need
> to get it up on the new network.

> --Dave

 
 
 

Networking Question

Post by Bob Becke » Wed, 17 Apr 2002 02:05:32



Quote:> another question to prove my ignorance....

> how do you bring it down to single user mode?

init S
 
 
 

Networking Question

Post by Rev. Don Koo » Wed, 17 Apr 2002 05:39:28




>>Just update the hosts file with the new IP address - you will also need to
>>change the default route if that has changed in "/etc/defaultrouter"

> and maybe clear out the old default route and install a new one

> man route

        Or even easier, "reboot".

                Hope this helps,
                        Don

--
***********************      You a bounty hunter?
* Rev. Don McDonald   *      Man's gotta earn a living.
* Baltimore, MD       *      Dying ain't much of a living, boy.
***********************             "Outlaw Josey Wales"

 
 
 

Networking Question

Post by Anthony Mandi » Wed, 17 Apr 2002 21:47:11



Quote:>         Or even easier, "reboot".

        Ah, yes. The first choice of Winblows and ACHES admins.

-am     ? 2002

 
 
 

Networking Question

Post by Rev. Don Koo » Wed, 17 Apr 2002 22:06:41




>>        Or even easier, "reboot".
>    Ah, yes. The first choice of Winblows and ACHES admins.

        I realize that the administration of UNIX systems is over your code
monkey head, Tony but in the real world "reboot" isn't a dirty word.

        Happy to have cleared things up for you,
                        Don

--
***********************      You a bounty hunter?
* Rev. Don McDonald   *      Man's gotta earn a living.
* Baltimore, MD       *      Dying ain't much of a living, boy.
***********************             "Outlaw Josey Wales"

 
 
 

Networking Question

Post by Anthony Mandi » Thu, 18 Apr 2002 20:48:50



Quote:> >>        Or even easier, "reboot".

> >       Ah, yes. The first choice of Winblows and ACHES admins.

> I realize that the administration of UNIX systems is over your code
> monkey head, Tony but in the real world "reboot" isn't a dirty word.

        Trust a clueless click monkey like you to consider a reboot
        to be ideal. Just as well they don't let you near the E10Ks
        unless you're wearing your janitor suit and mopping the floor.

-am     ? 2002

 
 
 

Networking Question

Post by Mark Rit » Thu, 18 Apr 2002 22:30:55


Gentlemen such heated debate over a small question...

I am sorry I am a recent convert from the windows world.  To me a reboot is
just something that you have to do every 20 -30 seconds sort of like
breathing if you want your system to continue living....



> > >>        Or even easier, "reboot".

> > >       Ah, yes. The first choice of Winblows and ACHES admins.

> > I realize that the administration of UNIX systems is over your code
> > monkey head, Tony but in the real world "reboot" isn't a dirty word.

> Trust a clueless click monkey like you to consider a reboot
> to be ideal. Just as well they don't let you near the E10Ks
> unless you're wearing your janitor suit and mopping the floor.

> -am ? 2002

 
 
 

Networking Question

Post by Anthony Mandi » Thu, 18 Apr 2002 22:40:40



> I am sorry I am a recent convert from the windows world.  To me a reboot is
> just something that you have to do every 20 -30 seconds sort of like
> breathing if you want your system to continue living....

        Yes, that's something you would expect in the Windoze and ACHES
        world. But on real Unix systems like Solaris, there's no need
        for it. Vis -

        dawn 11:29pm> uptime
        11:29pm  up 447 day(s), 17:28,  1 user,  load average: 0.06, 0.02, 0.02

        Of course, that clueless Neanderthal woundn't know one end of a
        real Unix system from another so he just uses them as doorstops.

-am     ? 2002

 
 
 

Networking Question

Post by Rev. Don Koo » Sat, 27 Apr 2002 22:23:41




>>I am sorry I am a recent convert from the windows world.  To me a reboot is
>>just something that you have to do every 20 -30 seconds sort of like
>>breathing if you want your system to continue living....

>    Yes, that's something you would expect in the Windoze and ACHES
>    world. But on real Unix systems like Solaris, there's no need
>    for it. Vis -

>    dawn 11:29pm> uptime
>    11:29pm  up 447 day(s), 17:28,  1 user,  load average: 0.06, 0.02, 0.02

        Better request that your sysadmin install the latest security and
recommended patch set, Tony.  As usual, you're way behind the curve.

        Happy to have cleared things up for you,
                        Don

--
***********************      You a bounty hunter?
* Rev. Don McDonald   *      Man's gotta earn a living.
* Baltimore, MD       *      Dying ain't much of a living, boy.
***********************             "Outlaw Josey Wales"

 
 
 

Networking Question

Post by Rev. Don Koo » Sat, 27 Apr 2002 22:24:50




>>>>       Or even easier, "reboot".

>>>      Ah, yes. The first choice of Winblows and ACHES admins.

>>I realize that the administration of UNIX systems is over your code
>>monkey head, Tony but in the real world "reboot" isn't a dirty word.

>    Trust a clueless click monkey like you to consider a reboot
>    to be ideal. Just as well they don't let you near the E10Ks
>    unless you're wearing your janitor suit and mopping the floor.

        As you're not E10K certified, it's doubtful that you would even know what
one looked like, Toni.

                Hope this helps,
                        Don

--
***********************      You a bounty hunter?
* Rev. Don McDonald   *      Man's gotta earn a living.
* Baltimore, MD       *      Dying ain't much of a living, boy.
***********************             "Outlaw Josey Wales"