Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 91
Chapter 6
Using the Ethernet Interface
6-10
STARTINET File
The STARTINET procedure file is used to start the network.
Edit the second (
setip
) line of file C:\INET\STARTINE by inserting the
following information as appropriate for your network:
IP
address
broadcast
address
subnet
mask
host name (optional)
target gateway address (optional)
IP Address The IP address is the only required parameter on the setip
line, as shown below.
Broadcast
IP address
Copro
IP address
setip
x.x.x.x x.x.x.x. x.x.x.x
node_name x.x.x.x
Subnet
mask
Gateway
address
Host
name
where x = 0-255 decimal
You can also invoke the setip command at the OS-9 prompt. This changes
any of your Internet settings dynamically.
Broadcast Address The broadcast address specifies the range of
addresses that will receive your broadcast messages. It also determines the
range of addresses from which you receive broadcast messages.
The default broadcast address is your IP address with the last byte set to
255. This sets the broadcast range to only your internal subnets (no
external addresses) when the subnet mask is set to 255.255.255.0.
Subnet Mask The subnet mask allows your system administrator to
divide your internal network into separate subnets. The standard mask is
255.255.255.0 and allows up to 256 subnets on your internal network.
Host Name The host name allows the socket call g
ethostbyname
() to
return the name that you configured on the setip line as previously shown.
Target Gateway Address The target gateway address is only needed if
you require immediate routing after power-up. It otherwise can take up to
30 seconds for the routing table to be initialized.
DOS limits file names to eight characters, and thus PCBridge uses the file
name STARTINE. However, it is renamed STARTINET when it is sent to
the control coprocessor.