What's new

Changing IP of device through bootp/dchp server.

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

SteelOwen

New Around Here
Hello there, I am currently trying to modify the IP of programmable power supply by using the bootp/dchp server software. I am running into some issues and wanted to lay them out here to see if there is anything I am doing wrong.

Firstly these are my network settings;
Device IP: 169.254.123.141
Device Subnet mask: 255.255.0.0
Laptop IP: 169.254.1.2
Laptop subnet: 255.255.0.0

I have the laptop setup and connected to the device and receive dchp requests from it in the request history section, I then add the mac address to the relation list and add the IP of the device in the prompted box. Once I have added it to the relations list I click to disable bootp/dchp and receive the following message on the status bar "Socket connect failed for (mac address) (Connection Refused)".

Another problem worth noting is that the power supply has it own set of webpages which can be accessed via the IP in the internet web browser. It is possible to adjust the settings through here but when I enter the login details to access said settings it says "the webpage can not be displayed" as if I have lost connection with the device.

A few things to confirm is that the device is functioning properly I have communicated with it via keysights connection expert and sent commands and received a response stating that there are 0 errors. I have also connected to it via the keysight command expert, I just need to find a solution to the IP problem as I need to be able to change it.

Thank you very much to anyone who responds with suggestions its much appreciated and I hope I put this question in the correct forum space, let me know if it needs to be removed.
 
Can you set your router to assign a specific IP to this MAC address?

Would that accomplish your goal?
 
I am not using a router for the application but would it still be possible to connect a router to the device and just use it to change the IP? If that is possible I believe it would accomplish my goal until I can find an full solution to the issue, I also rang the company but the individual I was speaking to didn't seem to know much.
 
If you have trouble assigning an DHCP client and want to hard code the IP address you might try taking it off the network and directly connecting you laptop. You probably have to assign an IP address to your laptop to match the same network so you can have access. You would want to reboot the power device so it starts with its default IP address. If not then set it to factory defaults. After one of these you should be able to assign an IP address.

If I want to change an IP address using DHCP and it already has a DHCP client IP address.
I look up the MAC and assign a reservation IP address to the MAC. This is basically assigning a static IP address to the MAC. For the change in IP address to take effect I usually have to reboot the device. When it reboots it will reboot with the new IP address.
 
If you have trouble assigning an DHCP client and want to hard code the IP address you might try taking it off the network and directly connecting you laptop. You probably have to assign an IP address to your laptop to match the same network so you can have access. You would want to reboot the power device so it starts with its default IP address. If not then set it to factory defaults. After one of these you should be able to assign an IP address.

If I want to change an IP address using DHCP and it already has a DHCP client IP address.
I look up the MAC and assign a reservation IP address to the MAC. This is basically assigning a static IP address to the MAC. For the change in IP address to take effect I usually have to reboot the device. When it reboots it will reboot with the new IP address.

My network only consists of the laptop and the device connected directly using Ethernet crossover cable and I have already reset the device to factory defaults, I do not think I have tried to assign a reservation IP address to the MAC, how did you go about doing this? I have been trying to do it using the bootp/dchp server programme and that hasn't worked so if you could let me know how you assign a reservation address I can try that also.
 
I think his IPs are default like Windows does when not receiving a DHCP IP or a static IP.
 
Folks realize of course that 169.254.0.0/16 is a reserved address block for auto configuration on wide area networks - see the following - https://tools.ietf.org/html/rfc3927

Use a different range...

You sure it's WAN networks? The rfc says link-local.

I think it is a commonly used address block by zeroconf, avahi/bonjour.
 
You sure it's WAN networks? The rfc says link-local.

I think it is a commonly used address block by zeroconf, avahi/bonjour.

Not so much for bonjour, but yes for zeroconf - when this is observed, usually means no bootp or DHCP server found on a LAN segment...
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top