Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Networking in VMWare
New Posts  All Forums:Forum Nav:

Networking in VMWare

post #1 of 11
Thread Starter 
What's the best way to have a virtual machine show up on your network but NOT connect to the internet? I thought adding a custom VMnet and giving it a 0.0.0.0 subnet would do it but the VMWare version I have won't let me edit the subnet.

Example of what I want:

Physical machines:
-Office 1
-Office 2
-VMWare Host
Virtual machines on VMWare host
---E-mail server
---Print Server

I'd like the print server to show up on the network but not have internet access. I get the feeling this is simple but I'm not looking at it the right way.
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
post #2 of 11
Subnet 0.0.0.0 ?
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Cisco Cisco Cisco Cisco 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Cisco Cisco Cisco Cisco 
  hide details  
Reply
post #3 of 11
Well if you want to connect all the virtual machines together you would need them in "host only mode" thats how it is done on ESXI anyway
Darth
(15 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 C1 @ 3.40 Evga 790i FTW 2x EVGA GTX 560 8GB Sector 5 1600 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Agility 2 Hitachi 2TB  Segate 1TB ASUS 
OSMonitorKeyboardPower
Windows 7 Pro 64 Bit Samsung 2333HD ThermalTake Meka Gunit  Antec EW 750w 
CaseMouseMouse Pad
HAF 932 Black Edition Logitech Performance MX EVGA Performance Surface 
  hide details  
Reply
Darth
(15 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 C1 @ 3.40 Evga 790i FTW 2x EVGA GTX 560 8GB Sector 5 1600 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Agility 2 Hitachi 2TB  Segate 1TB ASUS 
OSMonitorKeyboardPower
Windows 7 Pro 64 Bit Samsung 2333HD ThermalTake Meka Gunit  Antec EW 750w 
CaseMouseMouse Pad
HAF 932 Black Edition Logitech Performance MX EVGA Performance Surface 
  hide details  
Reply
post #4 of 11
Quote:
Originally Posted by Damarious25 View Post
What's the best way to have a virtual machine show up on your network but NOT connect to the internet? I thought adding a custom VMnet and giving it a 0.0.0.0 subnet would do it but the VMWare version I have won't let me edit the subnet.

Example of what I want:

Physical machines:
-Office 1
-Office 2
-VMWare Host
Virtual machines on VMWare host
---E-mail server
---Print Server

I'd like the print server to show up on the network but not have internet access. I get the feeling this is simple but I'm not looking at it the right way.
Considering that you should be using static IP addresses for your servers, you should just go into the Guest, set a static IP address, and then leave the default gateway field blank.

I assume you're talking about the Print server?
ESXi Host 1
(15 items)
 
  
CPUMotherboardGraphicsRAM
(2x) Intel Xeon E5520 Dell OnBoard Matrox G200 24GB DDR3 12x2GB UDIMMS (18 slots total) 
Hard DriveHard DriveHard DriveHard Drive
PERC6-RAID50 Intel 730 480GB Intel 320 300GB Synology DS414 iSCSI SAN 
OSMonitorKeyboardPower
VMWare vSphere5 Enterprise Plus Dell iDRAC6 Remote Management [KVM-Over-IP] Dell iDRAC6 KVM Dell Hot-Swap Redundant 1100W 
CaseMouse
Dell PowerEdge T710 Stock Dell iDRAC6 KVM 
  hide details  
Reply
ESXi Host 1
(15 items)
 
  
CPUMotherboardGraphicsRAM
(2x) Intel Xeon E5520 Dell OnBoard Matrox G200 24GB DDR3 12x2GB UDIMMS (18 slots total) 
Hard DriveHard DriveHard DriveHard Drive
PERC6-RAID50 Intel 730 480GB Intel 320 300GB Synology DS414 iSCSI SAN 
OSMonitorKeyboardPower
VMWare vSphere5 Enterprise Plus Dell iDRAC6 Remote Management [KVM-Over-IP] Dell iDRAC6 KVM Dell Hot-Swap Redundant 1100W 
CaseMouse
Dell PowerEdge T710 Stock Dell iDRAC6 KVM 
  hide details  
Reply
post #5 of 11
As stated, don't specify a default gateway for that device.
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
post #6 of 11
Thread Starter 
Hey. Thanks for all the advice. Host only didn't connect to the entire network, just to the host machine. And changing the subnet to 0.0.0.0 in the virtual OS turned it into a public network and wouldn't share the printer with the rest of the network. Eventually I just bridged the connection and gave it the network subnet. It works but I want to disable it. I also thought about blocking it at the router but my router only filters wireless mac address.

@com. it's a small network so I just left DHCP on. the only static IP I set is for the virtual OS print server. your saying if I give the host machine a static as well I might get closer to what I want?
Here are the added OS's. It's Windows 7 on the print server that's giving me trouble. With subnet 0.0.0.0 it only allows to select public network.... as far as I could tell but it was very late. Also, Windows 7 was probably a poor choice but I'm a student and only have access to so many keys. I'd rather not run pirated OS's and I'm still learning linux so I take what I can get.

Physical machines:
-Office 1 (Windows 7)
-Office 2 (Windows 7)
-VMWare Host (Server 08 R2 running VMWare)
Virtual machines on VMWare host:
---E-mail server (Windows XP - also used for web browsing on Server08 machine)
---Print Server (Windows 7 - minimal x86/512Ram)
Edited by Damarious25 - 1/17/11 at 5:25am
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
post #7 of 11
I use "bridge" mode every time I setup a VM. As stated before, just don't put a gateway on the guest. Since it does not have a gateway, this will disrupt it's ability to talk to public addresses. This will only allow it to talk to other clients on it's same subnet.
1090T
(13 items)
 
  
CPUMotherboardGraphicsRAM
1090T GA-890FXA-UD5 HIS 4670 G.SKILL ECO Series 4GB (1600) 
Hard DriveOSPowerCase
WD Black (Raid 0) Win 7 Home Premium x64 CORSAIR 850W COOLER MASTER Storm Sniper 
  hide details  
Reply
1090T
(13 items)
 
  
CPUMotherboardGraphicsRAM
1090T GA-890FXA-UD5 HIS 4670 G.SKILL ECO Series 4GB (1600) 
Hard DriveOSPowerCase
WD Black (Raid 0) Win 7 Home Premium x64 CORSAIR 850W COOLER MASTER Storm Sniper 
  hide details  
Reply
post #8 of 11
Thread Starter 
Quote:
Originally Posted by Thorn-Blade View Post
I use "bridge" mode every time I setup a VM. As stated before, just don't put a gateway on the guest. Since it does not have a gateway, this will disrupt it's ability to talk to public addresses. This will only allow it to talk to other clients on it's same subnet.
The OS is Windows 7 and without the subnet Windows 7 thinks your on a public network and it wouldn't let me share the printer.
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
post #9 of 11
Without the subnet mask or gateway? I can see not putting in a subnet mask causing an issue.
1090T
(13 items)
 
  
CPUMotherboardGraphicsRAM
1090T GA-890FXA-UD5 HIS 4670 G.SKILL ECO Series 4GB (1600) 
Hard DriveOSPowerCase
WD Black (Raid 0) Win 7 Home Premium x64 CORSAIR 850W COOLER MASTER Storm Sniper 
  hide details  
Reply
1090T
(13 items)
 
  
CPUMotherboardGraphicsRAM
1090T GA-890FXA-UD5 HIS 4670 G.SKILL ECO Series 4GB (1600) 
Hard DriveOSPowerCase
WD Black (Raid 0) Win 7 Home Premium x64 CORSAIR 850W COOLER MASTER Storm Sniper 
  hide details  
Reply
post #10 of 11
Thread Starter 
Windows 7 won't allow "me" any other subnet then 255.255.255.0.

When I change the gateway the OS changes the "home network" to a "public network" and won't really let me share the printer with the machines on the "home network"
Edited by Damarious25 - 1/17/11 at 9:46am
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Pentium III @ 533MHz QDI Advance 10F lol 255MB 
Hard DriveOSPower
IDE TC Hamster wheel 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Networking in VMWare