Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have only 1 NIC on my server and the IP address of it is 62.X.X.107. And the gateway I've received from the datacenter is 62.X.X.1. I have bought 2 more IP addresses from the datacenter to use them for my virtual machines, but the IP addresses starts with 5! I mean they are 5.X.X.X. I'm really confused how to get it work!

Note: The virtual machines have Windows Server 2008 R2 installed on them.

share|improve this question
    
Actually, how can I give an IP adddress like 5.X.X.X to a VM with the default gateway of 62.X.X.1? How can I route that!? –  Pazis Jun 29 '13 at 18:49
    
I used 255.255.255.255 as mask to route all the trrafic to the gateway, but it didn't work! :( –  Pazis Jun 29 '13 at 20:03

1 Answer 1

up vote 1 down vote accepted

If the 5.X.X.X IPs are on-net (on the same switched network as your 62.X.X.107 IP), then the network your server is connected to has multiple subnets on it and your hosting provider should have given you a subnet mask and gateway to use with those. In that case, your server will bridge (not route) the packets to your VM; the server will act as a virtual network switch.

If the 5.X.X.X IPs are routed, then your hosting provider has created a static route that delivers those packets via your server's 62.X.X.107 IP and you need your server to route those packets into an internal VM network. The subnet mask of the 5.X.X.X network that is routed to you would have been provided.

Your hosting provider should be providing you support; they should be able to answer whether those IPs are routed or on-net and may be able to give you directions.

share|improve this answer
    
I enabled promiscuous mode on VMWare networking to make it bridged and used 255.255.255.255 mask and it worked! –  Pazis Jun 30 '13 at 16:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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