How to Custom the DNS and Gateway published by DHCP Server ?

Discussion in 'General Questions' started by JasonChen, Apr 1, 2023.

  1. JasonChen

    JasonChen Bit poster

    Messages:
    1
    Hi,

    I'm now having a default Shared network and it works well:
    Address range: 172.22.100.5-250
    Network mask: 255.255.255.0
    NAT gateway/dns server: 172.22.100.1
    Host adapter: 172.22.100.2

    But now I'd like to custom the dns and gateway address that the VMs would obtain from the parallels DHCP server, say, changing the gateway in DHCP response to 172.22.100.2 (yes, it's same to the host ip, and leave the actual NAT gateway untouched), and change the DNS in DHCP response to 8.8.8.8
    I know I can do this in the guest OS instead of touching the parallels settings, but I prefer to a DHCP solution.

    I've found the network.desktop.xml file, but I don't know if it's able to achieve my goal.
    Could anyone help me with it? Thanks!
     

Share This Page