Re: TCP connection to MAC address



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 ***
.



Relevant Pages

  • Re: Exch2k3 drops remote connection attempts
    ... network telnet is working as it should be. ... If you connect from the internet ... to the smtp port than the server drops the connection. ...
    (microsoft.public.exchange.admin)
  • Re: Vista Home Premium cant RDP to Server2003 from Internet
    ... installation of an Open Source telnet substitute isn't ... Networking, Internet, Routing, VPN Troubleshooting on ... How to Setup Windows, Network, VPN & Remote Access on ...
    (microsoft.public.windows.vista.networking_sharing)
  • Telnet - attempting to initiate a telnet session within an established telnet session
    ... network connectivity and one for connectivity between slots. ... Ethernet backplane and each slot has a different IP address (10.0.0.9 ... I am trying to build a script with Ruby that allows me to first telnet ...
    (comp.lang.ruby)
  • Re: nethack.alt.org server down?
    ... their nameservers aren't responding. ... maybe their hosting service has some network problems. ... but telnet just hangs. ... could be hardware network card failure or power related too. ...
    (rec.games.roguelike.nethack)
  • Re: Me again... :-)
    ... Thomas Sapp wrote: ... > I would use SSH except I am not allow to install software on my work ... Do you think that Thomas' network administrators would agree with that? ... I'd also suggest that telnet still has a place. ...
    (Fedora)

Loading