NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mmcap
May 25, 2024Tutor
Nighthawk R6700AX - How to set static IP on VirtualBox VM
Hi all, My Nighthawk R6700AX router refuses to grant access to my virtual machine. It is a Linux guest machine running on a Windows 11 host machine. I have configured the the guest machine with a br...
mmcap
May 30, 2024Tutor
Thank you for the advice. I reserved my desired IP in the router to keep DHCP from assigning it to another host. Then I set that IP as a static IP in the VM. The VM connects to the internet and I am able to ping the VM from my host machine now. Problem solved.
Thanks again.
Norm
- schumakuMay 30, 2024Guru - Experienced User
Heya Norm,
Just curious, wouldn't it be wise to reserve the VM MAC address on the DHCP server for the intended application and the required IP address on the LAN, instead of yet another host? One could always deploy a static IP on top of this.
Glad to hear you figured a workable solution for your use case!
Regards,
-Kurt.
- mmcapJun 01, 2024Tutor
Hi Kurt,
I don't have a lot of experience at this so I'm not sure about your suggestion.
It's my understanding that the router is my DHCP server and I didn't see a way to reserve a MAC address in the router, just the IP.
What would be the advantage to your suggestion since the VM and router are working together now?
Thank you for taking an interest in this situation.
Norm
- schumakuJun 01, 2024Guru - Experienced User
mmcap wrote:
It's my understanding that the router is my DHCP server and I didn't see a way to reserve a MAC address in the router, just the IP.
On the router DHCP server, you maintain a table with the IP address <-> the MAC address. Instead of putting in a random MAC and IP, I'd suggest to define the effective MAC for the VM. This would allow leaving the hosted VM on DHCP instead of putting in a static IP address. Be careful, don't destroy anything now where you have it working, with a static IP tough.