Re: TCP connection to MAC address
- From: Nicolas Noakes <annesville@xxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 06:58:35 -0700
Chris,
The device a networked logic controller. There is no practical method
available for displaying or otherwise retrieving it's current IP
address. It does not support DHCP - I assume for the same reason that it
cannot tell you what it is using so it would be pointless. The device
may not have an address set (as supplied), or may be on another IP
subnet, or you may just not know its IP address.
Therefore, until you have set the device to an explicit IP address that
you know of, you have no way of communicating with it on the network.
So, here are the instructions from the manufacturer to assign a
temporary IP address to the device (works until the device is rebooted)
1) Create a static ARP entry linking its MAC address to the IP address
you want to give it. e.g.:
arp -s 192.168.1.100 00-02-20-a0-b4-cd
2) Attempt to telnet to this IP address on TCP port 1. Note that this is
expected to fail, it is just a check measure. e.g.:
telnet 192.168.1.100 1
3) Access the device's web interface on the chosen IP address and
explicitly set its IP address, etc. e.g.:
http://192.168.1.100
This process in not difficult or problematic, but it is very manual. I
would like to write a small utility where I can simply enter the MAC
address and desired IP address and click "Set". Both as a useful tool,
and to learn networking from a C# point of view.
Does that help? Thanks for your interest.
Regards,
Nicolas
*** Sent via Developersdex http://www.developersdex.com ***
.
- Follow-Ups:
- Re: TCP connection to MAC address
- From: Chris Shepherd
- Re: TCP connection to MAC address
- References:
- Re: TCP connection to MAC address
- From: Chris Shepherd
- Re: TCP connection to MAC address
- Prev by Date: Re: Oppinion wanted
- Next by Date: Re: Refresh "parent" form after filling out child popUp form?
- Previous by thread: Re: TCP connection to MAC address
- Next by thread: Re: TCP connection to MAC address
- Index(es):
Relevant Pages
|
Loading