Results 1 to 3 of 3
  1. #1

    Issue setting up public IPs on vms with Hetzner

    Hi All,

    I am running a Hyper-V 2012 R2 server on a Dell R720 with Hezner, and have trouble configuring VMs to get internet access, when they are assigned public IPs (I brought an ipv4 subnet).

    As many may now, they route IPs through the main server ip (the host server in this case, with the vm sitting on te same host).

    I've configured ip forwarding as per mentioned in the 1st link below (the explnation At the bottom of that thread), and I have set up internal switch on my host. The vm says it has internet access, but it cannot ping either the host or any internet address (no internet browsing possible, etc).

    What am I missing here? I've raised this with hetzner but as we know, they don't support unmanaged configs. A one time vid of setting this up end-to-end would be good though!

    I can't post links yet, but the steps were :

    For Hyper-V, enable IP forwarding:
    1. open command prompt, type
    netsh interface ipv4 show int
    and take note the Idx value for hyper v nic. (let say 16 in this example)
    2. type
    netsh interface ipv4 set int 16 forwarding=enabled
    (16 is Idx value)
    3. After that, choose 1 IP from /28 subnet and put the IP into the nic as secondary IP. This IP will be act as gateway for VPS. (So, cannot be the first and last IP of /28 subnet.)
    4. Then, the rest IP (13 usable) can be use freely on VPS.

  2. #2
    Join Date
    Mar 2003
    Moved > Hosting Security and Technology .
    Specially 4 You
    JoneSolutions.Com ( Jones.Solutions ) is on the net 24/7 providing stable and reliable web hosting solutions and services since 2001

  3. #3
    Join Date
    May 2008
    Citrus Heights, CA
    In Robot, are you requesting a virtual MAC and assigning it to the VM's network card?
    Best Regards,


Similar Threads

  1. Setting up KVM on a Hetzner server
    By Martin_Hell in forum Dedicated Server
    Replies: 8
    Last Post: 04-22-2014, 04:13 PM
  2. Need some help setting up Hetzner Esxi Networking
    By scottledeuce in forum Systems Management Requests
    Replies: 1
    Last Post: 05-24-2012, 10:25 AM
  3. blocking incoming ips at virtual host to protect VMs
    By programguy in forum Colocation and Data Centers
    Replies: 11
    Last Post: 04-30-2012, 11:08 AM
  4. Setting up root server on hetzner
    By DAWN1404 in forum Hosting Security and Technology
    Replies: 10
    Last Post: 02-21-2012, 04:06 PM
  5. Setting up virtualisation with Hetzner servers
    By IceBlueHost in forum Software & Scripts Requests
    Replies: 0
    Last Post: 12-09-2011, 03:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts