Re: [foxboro] (No Date: Fri, 14 Nov 2003 11:25:42 -0600

Brian,

I can't guess why you are having a problem with setting your netmask
with the /etc/netmasks files.  Make sure your NOT using the full IP
address, but just the network portion  of it as an entry in the
/etc/netmasks file.  The /etc/netmasks file is truly a symbolic link to
/etc/inet/netmasks.  This link has gotten broken has it?

The Solaris mechanism to set the defaultroute is by creating a file
called /etc/defaultrouter.  You could place the IP address of your
router directly in this file or insert a name such as "defaultgateway"
that gets resolved in the /etc/hosts file to your router IP.  This is
the better approach to keep all local ip assignments is 1 place, your
/etc/inet/hosts file.

Obviously, you are going to need to have your netmask set properly to
have the machine recognize it's defaultroute.

John Metsker
General Mills, Inc.=20



-----Original Message-----
From: Brian Bates [mailto:batesb@xxxxxxxxxxx]=20
Sent: Friday, November 14, 2003 2:13 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] (No Date: Fri, 14 Nov 2003 11:25:42 -0600







John,

I tried modifying /etc/netmasks with a leading tab, with no leading
spaces, a tab between the IP an netmask, and with a space between,
nothing works.

I made a script that is run by user_apps.dat, which sets the IP address
and netmask correctly, but now the default gateway does not work.  Do I
have to manually add the default router in my startup script also?

Also, does anybody have a good traceroute for solaris?

BTW, I checked the list archive, and Cyrus Taft had a similar problem in
July, but I did not see a definitive resolution to his problem.
....There must be a better way.


      -Regards, Brian Bates.




=20

                      "John Metsker"

                      <John.Metsker@gen        To:
<foxboro@xxxxxxxxxxxxx>

                      mills.com>               cc:

                      Sent by:                 Subject:  Re: [foxboro]
(No Date: Fri, 14 Nov 2003 11:25:42 -0600                  =20
                      foxboro-bounce@fr

                      eelists.org

=20

=20

                      11/14/2003 01:24

                      PM

                      Please respond to

                      foxboro

=20

=20





Brian,

Eliminate the leading tab.  The netmask is applied to the default
"network" portion of your IP address, not the entire IP address.  I do
not know your IP, so I don't know if it is a native class b (first octet
128-191) or class c (first octet 191-223).  Follow the example line in
the /etc/netmasks file.

For example,

151.128.0.0 255.255.255.0=3D20

(I am using Foxboro's default nodebus IP network address only as an
example!!!)

John Metsker
General Mills, Inc

-----Original Message-----
From: Brian Bates [mailto:batesb@xxxxxxxxxxx]=3D20
Sent: Friday, November 14, 2003 11:50 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] (No Date: Fri, 14 Nov 2003 11:25:42 -0600







Thanks for the quick replies.

I should have included some more details. I am setting a new IP address
and netmask to le1( the second ethernet port).

Jeremy, I changed the ipaddress in the host file, and I did add a line
in /etc/netmasks <tab>ipaddress<255.255.255.192>, but when the box boots
up, ifconfig -a indicates that le1 reverts back to netmask 255.255.0.0
(with the new IP address).

I do not want to change the le0 settings.

      -Regards, Brian Bates.




=3D20

                      "John Metsker"

                      <John.Metsker@gen        To:
<foxboro@xxxxxxxxxxxxx>

                      mills.com>               cc:

                      Sent by:                 Subject:  Re: [foxboro]
(No Date: Fri, 14 Nov 2003 11:25:42 -0600                  =3D20
                      foxboro-bounce@fr

                      eelists.org

=3D20

=3D20

                      11/14/2003 12:14

                      PM

                      Please respond to

                      foxboro

=3D20

=3D20





Brian,

The /etc/netmasks file is used to permanently set a netmask to an IP
address.  It is best to use the mechanisms provide by the operating
system.

It looks like you trying to set a netmask for nodebus interface (le0) on
a 51A or 51B machine.  Why do you want to do this?  IA, by default
expects a class B netmask (255.255.0.0).

John Metsker
General Mills, Inc.



-----Original Message-----
From: Brian Bates [mailto:batesb@xxxxxxxxxxx]=3D3D20
Sent: Friday, November 14, 2003 11:10 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro]=3D3D20






Hi list.

I want to change the netmask on le0 to 255.255.255.192 permanently on an
AW51. If I use ifconfig, it reverts back to 255.255.0.0 next reboot.
Their must be a better way than to make a startup scrip. Any ideas?


      -Thanks in advance, Brian Bates.

=3D3D20
=3D3D20
_______________________________________________________________________
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
=3D3D20
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         =3D3D
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3D3Djoin
to unsubscribe:      =3D3D
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3D3Dleave
=3D3D20


_______________________________________________________________________
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:         =3D
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Djoin
to unsubscribe:      =3D
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Dleave




=3D20
=3D20
_______________________________________________________________________
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
=3D20
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         =3D
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Djoin
to unsubscribe:      =3D
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3D3Dleave
=3D20


_______________________________________________________________________
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: