Re: [foxboro] How to permanently change the subnet and default gateway for 2nd ethernet port on AW51( B and F styles)
- From: <duc.do@xxxxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Thu, 27 Dec 2007 10:10:25 -0500
These are the files (for B/C/D-style boxes, at least) that need to be
edited/created to effect the network communication on the second
Ethernet interface:
/etc/hostname.hme[12] or hostname.le[123]
/etc/defaultrouter (new, need to create)
/etc/resolv.conf (new, need to create)
/etc/nsswitch.conf (edit to add 'dns' for hosts)
/etc/inet/hosts (edit to add 2nd port name and IP
address)
/etc/inet/netmasks (edit to add subnet mask)
The format for those files that you need to create is left as an
exercize for you (one hint: Google).
If you follow the instructions given in this archived message:
http://www.freelists.org/archives/foxboro/01-2003/msg00092.html
which is essentially what I wrote earlier, there is no need to edit the
/etc/rc* files.
Duc
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Kashif Ijaz
Sent: Thursday, December 27, 2007 2:48 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] How to permanently change the subnet and default
gateway for 2nd ethernet port on AW51( B and F styles)
Yes it works but I had to put the route command in the /etc/rc2
initialisation script. One strange things happen. The 2nd Ethernet port
works fine for some time. Then the connection drops and I cannot ping =
=3D
remote
computer. When I see from "ifconfig -a"
The 2nd Ethernet port goes to POINT TO POINT instead of broadcast. Also
My
given netmask is not reflected in "ifconfig -a". Same is the case with
broadcast address. But still it communicates for a while.
Can you help on this.
Regards,
Kashif Ijaz
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On
Behalf Of Duc M Do
Sent: Tuesday, December 25, 2007 7:51 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] How to permanently change the subnet and default
gateway for 2nd ethernet port on AW51( B and F styles)
Edit /etc/netmasks and put your desired subnet mask there. For your
gateway use /etc/defaultrouter. You may have to create the file
defaultrouter if it's not already present.
I don't have an F box so you shouldn't trust me, but I believe the
procedure is the same.
Duc
On Mon, December 24, 2007 10:25 pm, Kashif Ijaz wrote:
>
>
> I have changed the subnet mask and default gateway on my 2nd Ethernet
port
> on AW51B style machine with I/A version 4.3. I used the /etc/route=20
command
> to change the default gateway.
>
> My intended subnet mask is 255.255.255.224
>
> But when the machine reboots it loses both it's setting.
>
> How to make these changes permanent.
>
> Also is the procedure same for the AW51F running I/A version 7.1.1
>
> Regards,
>
> Kashif Ijaz
> Senior Design & Application Engineer
> INTECH Process Automation.
=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
- Follow-Ups:
- [foxboro] HP 3000 printer to be used instead of OKI 591 printer
- From: Kashif Ijaz
Other related posts:
- » Re: [foxboro] How to permanently change the subnet and default gateway for 2nd ethernet port on AW51( B and F styles)
- » Re: [foxboro] How to permanently change the subnet and default gateway for 2nd ethernet port on AW51( B and F styles)
- » Re: [foxboro] How to permanently change the subnet and default gateway for 2nd ethernet port on AW51( B and F styles)
- » Re: [foxboro] How to permanently change the subnet and default gateway for 2nd ethernet port on AW51( B and F styles)
- [foxboro] HP 3000 printer to be used instead of OKI 591 printer
- From: Kashif Ijaz