AnsweredAssumed Answered

vrf VRF Configuring LAN instruments

Question asked by VRFuser on Apr 7, 2003

<font size=2 face="sans-serif">Scott,</font>

<font size=2 face="sans-serif">There is one gotcha when you use the ethernet communication.  </font>

<font size=2 face="sans-serif">The IP address of the Compumotor is unknown to the PC.</font>

<font size=2 face="sans-serif">Note:  You set the controller IP address through the serial port communication.</font>

<font size=2 face="sans-serif">Then you activate the ethernet port.</font>

<font size=2 face="sans-serif">Next, you have to associate your host PC IP address with the target IP address of the controller.</font>

<font size=2 face="sans-serif">To do this you have to create a batch file using the arp command:</font>


<font size=2 face="sans-serif">Basically, you have to use:    arp -s (target IP) (target hex address) (host IP)</font>

<font size=2 face="sans-serif">for example:</font>

<font size=2 face="Courier New">arp -s 123.123.10.100 00-90-55-00-19-66 123.123.10.101</font>

<font size=2 face="Courier New">Note:  The two IP addresses should be on the same subnet.</font>



<font size=2 face="sans-serif">The following is the help for the arp command:</font>

<font size=2 face="Times New Roman">Displays and modifies the IP-to-Physical address translation tables used by</font>
<font size=2 face="Times New Roman">address resolution protocol (ARP).</font>

<font size=2 face="Times New Roman">ARP -s inet_addr eth_addr [if_addr]</font>
<font size=2 face="Times New Roman">ARP -d inet_addr [if_addr]</font>
<font size=2 face="Times New Roman">ARP -a [inet_addr] [-N if_addr]</font>

<font size=2 face="Times New Roman">  -a            Displays current ARP entries by interrogating the current</font>
<font size=2 face="Times New Roman">                protocol data.  If inet_addr is specified, the IP and Physical</font>
<font size=2 face="Times New Roman">                addresses for only the specified computer are displayed.  If</font>
<font size=2 face="Times New Roman">                more than one network interface uses ARP, entries for each ARP</font>
<font size=2 face="Times New Roman">                table are displayed.</font>
<font size=2 face="Times New Roman">  -g            Same as -a.</font>
<font size=2 face="Times New Roman">  inet_addr     Specifies an internet address.</font>
<font size=2 face="Times New Roman">  -N if_addr    Displays the ARP entries for the network interface specified</font>
<font size=2 face="Times New Roman">                by if_addr.</font>
<font size=2 face="Times New Roman">  -d            Deletes the host specified by inet_addr.</font>
<font size=2 face="Times New Roman">  -s            Adds the host and associates the Internet address inet_addr</font>
<font size=2 face="Times New Roman">                with the Physical address eth_addr.  The Physical address is</font>
<font size=2 face="Times New Roman">                given as 6 hexadecimal bytes separated by hyphens. The entry</font>
<font size=2 face="Times New Roman">                is permanent.</font>
<font size=2 face="Times New Roman">  eth_addr      Specifies a physical address.</font>
<font size=2 face="Times New Roman">  if_addr       If present, this specifies the Internet address of the</font>
<font size=2 face="Times New Roman">                interface whose address translation table should be modified.</font>
<font size=2 face="Times New Roman">                If not present, the first applicable interface will be used.</font>


<font size=2 face="sans-serif">Ted Sears

Analytical Technology Division
Eastman Kodak
Rochester NY 14650-02102
585-722-7632</font>---You are currently subscribed to vrf as: rsb@soco.agilent.comTo subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".  If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".  

Outcomes