Difference between revisions of "How to get the IP Address"

Line 25: Line 25:
# Now we have to make the Barix device listening to the IP address 192.168.0.6 using the Telnet command. To do so type into the command window telnet 192.168.0.6 1  and hit the Enter  key (the number one must be there for this command to work correctly !!!) The Barix device will refuse the connection on port 1 (one) immediately but will be available for web access on the IP address used as long as the Barix device stays powered.  
# Now we have to make the Barix device listening to the IP address 192.168.0.6 using the Telnet command. To do so type into the command window telnet 192.168.0.6 1  and hit the Enter  key (the number one must be there for this command to work correctly !!!) The Barix device will refuse the connection on port 1 (one) immediately but will be available for web access on the IP address used as long as the Barix device stays powered.  
# To check if the Barix device is responding you can use the ping command again. To do so type into the command window ping 192.168.0.6  and hit the Enter  key. If you do get a reply this IP address can be used to access the Barix device using a web browser and set the IP address permanently. If you do get Request timed out  instead of a reply then please repeat step 6 carefully (most likely mistyped the telnet command).
# To check if the Barix device is responding you can use the ping command again. To do so type into the command window ping 192.168.0.6  and hit the Enter  key. If you do get a reply this IP address can be used to access the Barix device using a web browser and set the IP address permanently. If you do get Request timed out  instead of a reply then please repeat step 6 carefully (most likely mistyped the telnet command).
NOTE: On Windows Vista this method may not work, the arp -s returns an error code of 5 and no entry is generated.  It is an account rights question: "user" accounts apparently cannot do the arp -s.
In this case you need to disable the user account controller at Windows Vista.

Revision as of 11:31, 1 April 2009

How to get the IP Address

If the IP Address of the Barix device is not known or undefined, it can be found out using two different procedures or set temporary via the third procedures as described in the following three sections.

DHCP Device List from Router

This procedure is applicable only if you have administrative access (user name and password) to a router with DHCP service (usually your Internet modem/gateway). Otherwise skip to the next section.

  1. Use two network cables to connect the Barix device and the PC to the local network (LAN) over a network switch or directly to the router which is running the DHCP service.
  2. Power the Barix device and note the MAC address to find the IP address in the next step.
  3. Open a browser window on your PC and log into the router which is running the DHCP service. Look for Diagnostics or Maintenance and find the link to show the issued DHCP addresses (on some routers called attached devices ). Find the MAC address in the the list to obtain the issued IP address. This IP address can be used to access the Barix device using a web browser and set the IP address permanently.

Getting IP from Syslog Message

This procedure is applicable only if you have a router with DHCP service running (usually your Internet modem/gateway) and can run a SYSLOG application like the free Kiwi Syslog Daemon or WireShark. Otherwise skip to the next section.

  1. Use two network cables to connect the Barix device and the PC to the local network (LAN) over a network switch or directly to the router which is running the DHCP service.
  2. Run the SYSLOG application on your PC and power the Barix device.
  3. Find the issued IP address in the SYSLOG application in the Hostname column. This IP address can be used to access the Barix device using a web browser and set the IP address permanently.

Setting temporary IP address using ARP command

This procedure is to temporarily set the IP address for the first time browser access. Attention: After this procedure the temporary IP will be active only as long as the Barix device stays powered. After a restart the procedure has to be repeated unless you have configured the IP address using the WEB User Interface of the Barix device.

  1. Use either a crossover network cable between the Barix device and the PC or use two network cables to connect the Barix device and the PC to a network switch.
  2. Make sure that you have a valid IP address configured on your PC (e.g. 192.168.0.2) and power the Barix device.
  3. Open a command window with a click on Start followed by a click on Run. In the Open field type cmd and click on OK
  4. Please skip this step if you used a crossover network cable in step 1 and proceed to step 5. To ensure that we use a free IP address (not already used by another device in the network) we have to use the Ping command. In this example we assume the PC to have the IP address 192.168.0.2 and want to check if 192.168.0.6 is free. To do so type into the command window ping 192.168.0.6 and hit the Enter key. If you get a reply (IP already used) then try to ping another IP until you find one that is not used. If the request times out (as shown in the above window) then the pinged IP is free and we can continue with the next step.
  5. Now we are going to make your PC talk to the Barix device's MAC address using the IP address 192.168.0.6. (The MAC address of the Barix device unit is printed on a label placed on the bottom of the device) using the arp command with parameter -s for set followed by the chosen IP address and the MAC address (12 hex digits, separated by a hyphen every 2 digits) To do so type into the command window arp -s 192.168.0.6 00-20-4A-93-7F-D4 and hit the Enter key.
  6. Now we have to make the Barix device listening to the IP address 192.168.0.6 using the Telnet command. To do so type into the command window telnet 192.168.0.6 1 and hit the Enter key (the number one must be there for this command to work correctly !!!) The Barix device will refuse the connection on port 1 (one) immediately but will be available for web access on the IP address used as long as the Barix device stays powered.
  7. To check if the Barix device is responding you can use the ping command again. To do so type into the command window ping 192.168.0.6 and hit the Enter key. If you do get a reply this IP address can be used to access the Barix device using a web browser and set the IP address permanently. If you do get Request timed out instead of a reply then please repeat step 6 carefully (most likely mistyped the telnet command).

NOTE: On Windows Vista this method may not work, the arp -s returns an error code of 5 and no entry is generated. It is an account rights question: "user" accounts apparently cannot do the arp -s. In this case you need to disable the user account controller at Windows Vista.