I am renting a dedicated server. I have been assigned two static IPs from different C blocks
If I use NAT Everything works. When I switch to bridged and assign the static IP to the VM it stops
I suspect it has to do with the two assigned IPs
???.169.159.94 255.255.255.255 gateway ???.169.159.1
???.169.129.30 255.255.255.255 gateway ???.169.159.1
???.169.159.94 is assigned to host. win 2008 R2 webserver 64bit
???.169.129.30 is assigned to VM. win 2k3 R2 32bit (win2k3 wont let me assign 255.255.255.255 as subnet and complains about gateway)
VM has no access to the web (IP or DNS) NS Lookup fails etc..
Is there something special I have to do because they are assigned like this
Help
Thank you
Bridge mode Host VM different subnet
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Bridge mode Host VM different subnet
I am not surprised. 255.255.255.255 puts the machine in a subnet all by itself! It cannot possibly have a default gateway when there are no other IP addresses in the same subnet. Where did you dream up that subnet?
My guess is that you have a VPN connection which would account for the 32-bit subnet (a VPN is a point to point connection, not a standard routed connection and does not need a default gateway).
My guess is that you have a VPN connection which would account for the 32-bit subnet (a VPN is a point to point connection, not a standard routed connection and does not need a default gateway).
Bill
Re: Bridge mode Host VM different subnet
I didn't dream this up. It was assigned by the server farm. I am connecting to this server via RDP not VPN I assume the server has a direct connection to there router or vlan and then to there backbone.BillG wrote:I am not surprised. 255.255.255.255 puts the machine in a subnet all by itself! It cannot possibly have a default gateway when there are no other IP addresses in the same subnet. Where did you dream up that subnet?
My guess is that you have a VPN connection which would account for the 32-bit subnet (a VPN is a point to point connection, not a standard routed connection and does not need a default gateway).
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Bridge mode Host VM different subnet
There shouldn't be anything special to do, but they might do a check on the MAC address and block what's not supposed to be there.
You should do some packet sniffing and see what's going on.
Bridge is definitly the good mode to use, so the issue seem to lie somewhere else and not with Virtualbox.
You should do some packet sniffing and see what's going on.
Bridge is definitly the good mode to use, so the issue seem to lie somewhere else and not with Virtualbox.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Bridge mode Host VM different subnet
I have setup a couple VM so I am confused by this one. But I have never been issued IPs like this.noteirak wrote:There shouldn't be anything special to do, but they might do a check on the MAC address and block what's not supposed to be there.
You should do some packet sniffing and see what's going on.
Bridge is definitly the good mode to use, so the issue seem to lie somewhere else and not with Virtualbox.
Not sure what would be the correct settings in the VM but nothing I have tried in bridge mode works.
Can I clone the mac address from the server?
Any ideas on what to try
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Bridge mode Host VM different subnet
Given the addresses you have you will need to use NAT and port forward or ask the provider to do something on their end. As BillG said the subnet of all 255's leave no gateway. Most of the time places like GoDaddy and the like aren't keen on you setting up several machines. They want you to have a presence and pay for it.