Re: [foxboro] IP address change

List,

On Solaris, the /etc/defaultrouter file is used to permanently configure =
the "default route" for a machine with 1 or more Ethernet interfaces =
upon boot-up.  The name or IP address of the router on 1 of your =
directly connected segments is placed in this file.  If a name is used, =
resolve it to an IP address in your /etc/inet/hosts file.  There is no =
need to add "route" commands to any Foxboro startup mechanism such as =
/etc/fox/rc.foxapps.  Obviously, you can use the route command to add or =
delete your currently configured default route.

Also, use the /etc/inet/netmasks to set the subnetmask for any of your =
interfaces if they are different than their IP range specific class.  =
(e.g. mask a class B network to a class C network which is a pretty =
standard thing to do.)  Do not add any entries for the nodebus interface =
since they run as a standard class B.  This file is also read upon =
boot-up of the machine.

John Metsker
General Mills, Inc

-----Original Message-----
From: Troy L Brazell [mailto:tlbrazell@xxxxxxxxxxxxxxx]
Sent: Friday, January 24, 2003 7:17 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] IP address change




Sorry, it's early and I haven't had enough coffee. I sent the wrong set =
of
instructions. This is way I do it for our ethernet network.
Second Ethernet Port Setup
Used for changing or adding the AW to the company LAN
# cd ^/etc
add the ip address and machine name to the hosts file, you will also =
need
to edit the netmask to add the default gateway.
add the machine name to the hostname.hme1 (or if it is token ring tr?) =
or
leX
To keep from having to reboot the machine for the changes to take affect
you can use the following commands:
# ifconfig hme1 (tr?)^plumb [enter]
# ifconfig hme1 (tr?) xxx.xxx.xxx.xxx (ip address)^netmask ^xxx.xxx.xxx
(netmask number)^up [enter] (all one line)
Adding a default gateway:
# netstat^-r [enter]
type route add default xxx.xxx.xxx.xxx (default router address)^l =
[enter]
On some systems you may have do the following to make the default router
permanent:
/etc/fox
textedit  the rc.foxapps file and add the following
route add default xxx.xxx.xxx.xxx (router address)
If this file does not exist create the file by doing the following:
Textedit rc.foxapps.
Add the flowing lines
#! /bin/sh
/usr/sbin/route^add^net, default^ IP address ^1
Save it!
From VT100
At the # chmod^755 rc.foxapps. This will make it an executable file.


****************************************************************
A lack of planning and communication on your
part does not constitute an emergency on my part!

Troy L.Brazell
Duke Energy Field Services
Automation CCST
Mid Continent
Borger, Texas
tlbrazell@xxxxxxxxxxxxxxx
Cell     806-898-4340
Office 806-275-5274


                                                                         =
                                          =20
                    "Troy L Brazell"                                     =
                                          =20
                    <tlbrazell@duke-en       To:     =
foxboro@xxxxxxxxxxxxx                                         =20
                    ergy.com>                cc:                         =
                                          =20
                    Sent by:                 Subject:     Re: [foxboro] =
IP address change                          =20
                    foxboro-bounce@fre                                   =
                                          =20
                    elists.org                                           =
                                          =20
                                                                         =
                                          =20
                                                                         =
                                          =20
                    01/24/2003 07:03                                     =
                                          =20
                    AM                                                   =
                                          =20
                    Please respond to                                    =
                                          =20
                    foxboro                                              =
                                          =20
                                                                         =
                                          =20
                                                                         =
                                          =20






This is the way that I do it.
Lost Network Connection
                                 Ethernet
From VT100
#ifconfig^-a [enter]
Should return a list of network devices. The one you are looking for =
is=3D

                         hme1
Somewhere in the information on this device should be the word UP.
#ifconfig^hme1^down [enter] (hme1 is our logical name, you will need =
to=3D

                         check for your name)
This should shutdown the token-ring card.
#ifconfig^hme1 [enter]
Verify the word UP does not appear in any of the returned information,
#ifconfig^hme1^up [enter]
This should restart the token-ring card.
#ifconfig^hme1 [enter]
Verify that the word UP appears in the returned information.
If all of this doesn't work you will have to reboot the AW.
Do an orderly shutdown with fsck-y.
At #AW5101 halt
At ok turn off the power on the machine and wait several minutes then
                         restore power and
           let  the AW reboot from a powered down configuration

      ***************************************************************
                            A lack of planning and communication on =
you=3D
r
                         part does not constitute an emergency on my =
pa=3D
rt!

                                           Troy L.Brazell
                                     Duke Energy Field Services
                                          Automation CCST
                                           Mid Continent
                                           Borger, Texas
                                     tlbrazell@xxxxxxxxxxxxxxx
                                       Cell     806-898-4340
                                        Office 806-275-5274


                                                                       =
=3D
                                            =3D20
                    "Ashley Davey"                                     =
=3D
                                            =3D20
                    <Ashley.Davey@afpr       To:     =
<foxboro@freelists=3D
.org>                                       =3D20
                    od.co.za>                cc:                       =
=3D
                                            =3D20
                    Sent by:                 Subject:     [foxboro] IP =
=3D
address change                              =3D20
                    foxboro-bounce@fre                                 =
=3D
                                            =3D20
                    elists.org                                         =
=3D
                                            =3D20
                                                                       =
=3D
                                            =3D20
                                                                       =
=3D
                                            =3D20
                    01/24/2003 05:07                                   =
=3D
                                            =3D20
                    AM                                                 =
=3D
                                            =3D20
                    Please respond to                                  =
=3D
                                            =3D20
                    foxboro                                            =
=3D
                                            =3D20
                                                                       =
=3D
                                            =3D20
                                                                       =
=3D
                                            =3D20




Hi List

We have 2 x AW51B's and 1 x WP51B on our node which connects to our
corporate network with a router.  All three units are equipped with =
2nd=3D

Ethernet cards.  I need to change the IP addresses of the 2nd Ethernet
cards and the router.

Except for editing the "/etc/hosts*" files, is there anything else I =
sh=3D
ould
change or fix.

Regards



Ashley Davey
Software Engineer
African Products (Pty) Ltd
Gauteng, RSA
Tel : +27 11 458 5342
Fax : +27 11 458 5343

WARNING: This e-mail is being sent from African Products (Pty) =
Limited,=3D
 and
is intended for the addressee named above. Any unauthorised use or
interception of this e-mail is illegal. The e-mail message or its
attachments may contain confidential or privileged information and may =
=3D
not
be copied, forwarded or disclosed to any unauthorised person. If you =
ar=3D
e
not the named addressee (or person responsible for forwarding the =
e-mai=3D
l to
the addressee) please notify us immediately via return e-mail and =
destr=3D
oy
the copy you have received. Save for bona fide company matters, =
African=3D

Products (Pty) Limited accepts no responsibility for the opinions or =
th=3D
e
content in this e-mail or its attachments.



_______________________________________________________________________=3D=


This mailing list is neither sponsored nor endorsed by Invensys =
Process=3D

Systems (formerly The Foxboro Company). Use the info you obtain here =
at=3D

your own risks. Read =
http://www.thecassandraproject.org/disclaimer.html=3D


foxboro mailing list:             =
http://www.freelists.org/list/foxboro=3D

to subscribe:         =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Djo=3D
in
to unsubscribe:      =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Dlea=3D
ve



=3D




_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html

foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave





=20
=20
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
=20
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: