Re: [foxboro] (No Date: Fri, 14 Nov 2003 11:25:42 -0600
- From: duc.do@xxxxxxxxxxxxxx
- To: foxboro@xxxxxxxxxxxxx
- Date: Fri, 14 Nov 2003 15:45:31 -0500
Brian,
I think you're making it too hard. But then again, I learned things the hard
way too. For /etc/inet/netmasks, here's the only line that's not a comment
in my netmasks file:
xxx.xxx.0.0 255.255.248.0
(The x's are in there at the insistence of the company that writes my
paycheck.)
If it helps others, here are the files I modify to make my second Ethernet
interface work:
/etc/hostname.le[123] for AW-WP51B/C, depending on what's needed
/etc/hostname.hme[12] for AW-WP51D, depending on what's needed
/etc/defaultrouter need to create this file, contains IP addr of
router
/etc/resolv.conf need to create this file (see 'man resolv.conf')
/etc/nsswitch.conf add 'dns' to the hosts line
/etc/inet/hosts add IP address and name of 2nd Ethernet interface
/etc/inet/netmasks add subnet mask (see 'man netmasks')
Duc
--
Duc M. Do
Dow Corning Corp.
Carrollton Plant
Carrollton, KY, US
-----Original Message-----
From: Brian Bates [mailto:batesb@xxxxxxxxxxx]
Sent: Friday, November 14, 2003 3: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.
"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
foxboro-bounce@fr
eelists.org
11/14/2003 01:24
PM
Please respond to
foxboro
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=20
(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]=20
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.
=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 12:14
PM
Please respond to
foxboro
=20
=20
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]=3D20
Sent: Friday, November 14, 2003 11:10 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro]=3D20
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.
=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
_______________________________________________________________________
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
_______________________________________________________________________
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: