I have the following situation:

Home network DHCP server ranged :

I need to set up a static ip for a machine in:

I cant set it up from network adapter because this machines moves from Home network to office network.

Office network : (assigned by DHCP server)

I dont have a router rule to assign IP based on mac address, i can access via telnet to router and use busybox to configure router.

Can i configure router to always assign an IP to a macadress? my router is a Huawei HG630.

Some help would be apreciated!

  • You could use a couple of cmd scripts to toggle static/dynamic IP – DavidPostill Jun 11 '16 at 18:25
  • The Huawei HG630/HG630b xDSL routers are pretty locked down, with few advanced features to speak of, intended for simple home installations. They do not have the capability of Static DHCP assignments. What you are requesting is not possible with your current equipment, you need to find an alternative such as a second network USB network adapter or running a simple batch/cmd script depending on which network you are connected to, or getting a DSL modem/router with more feature support. – acejavelin Jun 11 '16 at 18:30
  • Im not the final user for that machine, scripts arent an option in my case. If for some reason script fails, connection could fail and this is not an option. – Tomas Bond Jun 11 '16 at 18:35
  • i have a Pirelli Discus DRG A125G free right know, could it be used? – Tomas Bond Jun 11 '16 at 18:39
  • @TomasBond Simple scripts don't usually fail ... any more than DHCP fails ... – DavidPostill Jun 11 '16 at 18:48

If your router does not support DHCP reservations (a quick check online indicates that it does not), then there is nothing you can do on the router to achieve what you are looking for. You would either need to purchase a router with additional features or come up with a creative solution to automate changing the network adapter settings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.