No external network access from virtual machine

Hello:
I'm configuring a Windows Server 2012 Standard with Hyper-V and want to share a network card so that both the virtual machine and the host access a LAN using the same wire.
HOST SYSTEM:
OS: Windows Server 2012 Standard
IP: 192.168.50.1
VIRTUAL MACHINE: Windows XP
IP: 192.168.50.4
PHYSICAL SWITCH (CISCO):
IP: 192.168.50.6
I've configured an external virtual switch, assigned to it a physical card and activated the sharing between host and virtual machine.
With this configuration:
ping from HOST to VM and viceversa: OK
ping from HOST to REAL SWITCH: OK
ping from VM to REAL SWITCH: FAIL
If I configure the network card to work exclusively with the VM, it can access the external switch from the VM, but I lose any connection with the host.
I could solve the problem installing another physical card and using one for the host and one for the VM, but I can't get both working with the same card, even though they are in the same subnet, see each other, share files between VM and host... I'm not
trying to connect to the internet.
Any idea? Thanks.

Hello again,
Sorry for the delay.
After system update, the problem has not been solved. The external switches do not limit the number of MACs, so this is not the problem either.
After updating the system I deleted the virtual switch and created it again. I also rebooted the VM and even the server. It just doesn't share the access: only the VM or the server can access to the net at the same time, even if both see each other all the
time (server and VM).
Apart from that, every time I delete the virtual switch and create a new one, I reconfigure the VM as well (I delete the network card at the VM and create it again). When I do that I have to assign an IP address to the network card in the VM (no DHCP
installed, so this is normal), but I can use the same IP I was using before deleting the virtual switch. When I do so, a message appears saying the IP is used in a virtual network adapter, but this is hidden because it is not in use anymore. I haven't found
a way to see and delete these hidden network adapters either.
I think I'll install VMWare, because Hyper-V is more a problem than a solution.

Similar Messages

  • WIN2008R2: No external network access from Hyper-V guest using Virtual Machine Bus - Legacy ok

    Windows Server 2008 R2 Enterprise x64 Hyper-V host
    HP DL370 G6, HP NC375i integrated Quad Port Multifunction Gigabit Server Adapter
    Static IP (.11), internet connection via a Cisco switch and PIX firewall
    External virtual network connected to port 1, allowing management OS to share the network adapter
    Windows Server 2008 R2 Enterprise x64 guest
    Static IP (.21) on the same subnet, same subnet mask and default gateway (.1) as host
    * with Virtual Machine Bus network adapter:
     - host can ping guest (.21), switch (.5), and has internet access
     - guest can ping host (.11), but cannot ping switch (.5) and has no internet access. 
     - network map shows the guest and host connected via a hub (Microsoft virtual switch), connected to a gateway, then a red X between gateway and internet
    * with Legacy network adapter:
     - host can ping guest (.21), switch (.5), and has internet access
     - guest can ping host (.11), switch (.5) and has internet access. 
     - network map shows the guest and host connected via a hub (Microsoft virtual switch), connected to a gateway, and no red X between gateway and internet
    I installed Hyper-V before adding the HP network drivers (there's a known problem if you install Hyper-V after adding the network drivers), so that's not it.
    This happens both with straight network adapters, and also when two are configured as a network team - no difference.
    I don't want to use the Legacy network adapter as the performance is terrible, but right now I have no choice as otherwise I can't get network or internet access from the guest. 
    Any ideas?

    Hi,
    Please refer to the following post to see whether you can resolve the issue.
    Network Adapter (not Legacy) does not work on Virtual Machine after installation through ISO
    http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2virtualization/thread/b1e9d24c-e298-472e-ad72-90cf079f6fbd
    By the way, did you only encounter this issue with one VM or all VMs? Please do the same test on VMs with other version of Windows such as Windows Server 2008 or Windows Server 2003.
    Best Regards,
    Vincent Hu

  • How to access Oracle Apps 11i forms from Virtual Machine(Vmware Player)?

    Hi,
    I have installed Oracle Apps 11i on native OS OEL5 Server and Windows XPP on Virtual Machine using Vmware Player on standalone same desktop.Now how to access Oracle Apps 11i from Virtual Machine(Windows XPP)?
    Thank's
    Regard's
    Rerry

    Hi,
    Sorry my instance is PROD instead of TEST.
    1)Renamed the sqlnet.ora and make the following change in the tnsnames.ora (SERVICE_NAME = PROD) to (SID = PROD) and tryed but same error.
    2)Only one oracle homes on the cleint machine
    3)The output of tnsping PROD
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>tnsping PROD 5
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 23-FEB-20
    10 00:38:40
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=SHUBH.hnp.com)(PORT=1521))
    TNS-12570: TNS:packet reader failure
    Normal ping is ok from both host to guest and guest to host.
    Thank's
    Regard's
    Rerry

  • How to transfer files from virtual machine to host machine

    Hello, 
    I want to know how to copy files from virtual machine o host machine while the virtual machine running. I can't share files from virtual machine because i am just studying for mcsa in company computer. I can't connect my virtual machine to same network so
    i'm using a different ip range and i created a internal network switch for my virtual machines in hyper-v. Please give me a best solution for my studies.
    Regards,
    Ashane Deshapriya.
    Ashane Deshapriya ( MCP )

    Finally I got the solution...
    Here is how you can share files between a Hyper-V host and any virtual machines running on that host.
    If you've used Microsoft Virtual PC or Microsoft Virtual Server, you'll have enjoyed the fact that you can copy and paste between a virtual machine and those platforms. This doesn’t work with Hyper-V however—you can't copy/paste between a VM and the Hyper-V
    host.
    The workaround is to do the following:
    1. On your Hyper-V host, create a shared folder and assign Change permission to Everyone.
    2. On the virtual machine running on the host, open the Network and Sharing Center and enable File and Printer Sharing.
    3. On the virtual machine, click Start and type \\host_name\share_name where host_name is the name of your Hyper-V host and share_name is the name of the share you created.
    4. Press ENTER and an Explorer window will open in the VM showing the contents of the shared folder on the host.
    5. You can now copy files from the VM to the host and vice versa as needed.
    Regards.
    Ashane Deshapriya ( MCP )

  • BadRequest: Virtual machines with secondary network interfaces and virtual machines with no secondary network

    I'm trying to create an "ExtraLarge" VM with multiple NICs.  The New-AzureVM returns the following error:
    BadRequest: Virtual machines with secondary network interfaces and virtual machines with no secondary network
    interfaces are not supported in the same deployment, also a virtual machine having no secondary network interfaces
    cannot be updated to have secondary network interfaces and vice-versa.
    But I have no other VMs.  Or at least I did and then deleted them and all their disks.  The service has no deployments (either staging or production).
    Why is New-AzureVM complaining about a mismatch of VMs with and without secondary network interfaces when no other VMs exist?
    I have tried many things to fix this, including the deletion of ALL of my resources.  I have deleted and created the service many times, both with an affinity group and without.  I have a screen print of the -debug output if your interested.
    Thanks for the outstanding help.

    Hi Ron,
    IMPORTANT NOTE: Please do not post the CONFIDENTIAL DETAILS ever on the public forums, this is HIGH RISK action.
    Please send an email with your contact details to my email
    [email protected] so that I guide you on steps which help you come out of the current scenario. Thank you for understanding.
    I suggest you to create a new VNET and new VM with cloud services. Create Multiple NIC VM. Let us know the results.
    Ref:
    http://azure.microsoft.com/blog/2014/10/30/multiple-vm-nics-and-network-virtual-appliances-in-azure/
    http://blogs.technet.com/b/canitpro/archive/2014/11/04/step-by-step-create-a-vm-with-multiple-nics-in-azure.aspx
    If you are unable to create a VM with multiple NIC, please open a support case as it requires more confidential information which is out of scope of FORUM support offerings.
    Regards,
    Girish

  • Does the bad formance results from Virtual Machine?

    My Oracle 10g testing database is runing on a Virtual Mchine and its performance is not good. Does the bad formance results from Virtual Machine?
    Though the resources are enough, I still think the virtual machine can damage the performance. Does any one has the same experience?
    Thank you

    Answered the same just a while ago...
    Can Virtual Machin system make negative impact to the database performance?

  • How to access for Virtual machines in System Center 2012 r2 by remote console through code?

    Hi All,
    I am new in System Center. I am using System Center 2012 R2. I have a web application written by dot net, which shows the list of virtual machines created in the SCVMM.  Now, I need to select a Virtual Machine from the list, and click a link named "console
    access". This will allow the console access to the virtual machine. How can I perform this task?
    Thanks in advance,
    Moohak

    The SCVMM VM console is an ActiveX application.
    It is installed with the SCVMM Console application.
    If you search around for the old SCVMM Self Service portal, you will discover how MSFT originally enabled this from a web front end.
    If you look at Windows Azure Pack you will find a new pattern using RDP gateway.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Sync folder to and from Virtual Machine

    i have a folder i would like to sync between my windows 7 virtual machine desktop and my mac desktop. i am imagining that what i add to one and/or delete from one would be added to or deleted from the other. same for organizing the files and folders.
    is this feasible?
    is this something for ChronoSync?
    thanks for any advice or expertise.
    - Jon

    Ask on your virtual machine software makers website how to go about doing this.
    I don't let Windows touch my precious, I use a external USB instead, but I know sharing is possible because VMFusion asked me once and I denied it.

  • Networking arch linux virtual machine networking

    For a project, I've got an arch linux virtual machine running on the school network. The image has SSH installed and that works just fine, the problem is that the network admin didn't give it access to the internet (so I can access it only over lan). What I would like to do is run updates on it and install several libraries that I need for deploying a web application (rails). The easy way to install them is obviously through pacman, which leads me to my question: Is there a way to make a network interface on the server that would use ssh to make a bridged connection to the internet?
    Not super sure if I worded that correctly, but it seems that it ought to be possible to have a network interface on the vm that, when the vm opens an ssh connection to some ssh server (on the lan) allows the vm to use that connection for more than just ssh.
    Thanks.

    I was making this too complicated... I set up a squid proxy on a different machine and it all works well.

  • Use DVD drive from  Virtual Machine

    Hi! I have successfully installed Oracle VM Server and Manager Template on the same machine.
    I also have created and run a Virutal Machine from the OEL 5.3 Template from Edelivery.
    Now I need to use the DVD ROM drive because I need to install E-Business Suite from that VM.
    How can I mount the DVD ROM so thats it usable from within a VM?

    sumit kapila wrote:
    I have installed a VM manager on one machine and a VM server on the other. I have also installed OEL4 (virtual machine) on the server through the manager. But when i open the console of the virtual machine it is not detecting the cdrom. How can it be detected??Did you even read the posts above yours? They explain exactly how to provide CD data to a guest.
    Also how to open that virtual machine on some other machine or on the server??I have no idea what you mean. If you're talking about connecting to your guest over the network, you can use SSH.

  • Add network card to virtual machine and all available virtual networks aren't showing

    Have a Hyper V 2012 cluster....we have a network card cabled for our DMZ network ...it's enabled.
    Under a host in cluster in  Virtual Switch Manager we have the virtual switch configured as external and it matches up with NIC number in the OS network connections...NIC 9.  It's configured like the other virtual switches that are showing.
    On our Hyper V Mgr console...under VM Networks..the DMZ network shows...I checked...settings same as other networks.
    Still on our Hyper V Mgr console..under Logical Networks...the DMZ network shows...I checked...settings same as other networks.
    When we go into Virtual Machine Mgr...hardware configuration for VM we created...add network adapter...the DMZ network doesn't show up in the list for VM networks so we can't assign IP or really add NIC in general.
    I was able to go to an actual Hyper V host...under Hyper V Mgr that the VM was running on this particular host and I was able to add a network card/virtual switch..VM can ping devices...however if I go into the Hyper V Mgr in the Hyper V Mgr server and go
    to properites of VM...a NIC is not listed.

    Have a Hyper V 2012 cluster....we have a network card cabled for our DMZ network ...it's enabled.
    Under a host in cluster in  Virtual Switch Manager we have the virtual switch configured as external and it matches up with NIC number in the OS network connections...NIC 9.  It's configured like the other virtual switches that are showing.
    On our Hyper V Mgr console...under VM Networks..the DMZ network shows...I checked...settings same as other networks.
    Still on our Hyper V Mgr console..under Logical Networks...the DMZ network shows...I checked...settings same as other networks.
    When we go into Virtual Machine Mgr...hardware configuration for VM we created...add network adapter...the DMZ network doesn't show up in the list for VM networks so we can't assign IP or really add NIC in general.
    I was able to go to an actual Hyper V host...under Hyper V Mgr that the VM was running on this particular host and I was able to add a network card/virtual switch..VM can ping devices...however if I go into the Hyper V Mgr in the Hyper V Mgr server and go
    to properites of VM...a NIC is not listed.

  • Network access from VM

    Hello,
    I have imported a 2.x VM to a 3.0.3 server, using 3.1.1 manager as a template. I removed network entries from the vm.cfg file before the import. Now I need to configure this VM to have network access, but I'm having a hard time putting all the different pieces together.
    What is the procedure to do this? I am going through the user's guide, but any other sources are much appreciated.
    Thanks.

    Well i was used to using VM Server 2.1.1 without the Manager, which I found too buggy to use and grew accustomed to just using the server itself. Now I went for VM Server 3.0.3 to check out the new manager which looks promising :-)
    I figured out my network issues so I'll mark this thread as answered, thanks.
    My problem was very very simple, no bond mapped to a network :-D I couldn't figure it out for a while, because I was trying to create a new network and that, of course, couldn't assign the already assigned bond. I was shocked how many people blog about Oracle VM installation only posting screenshots and text output of the actual installation, just seems pointless.
    The official User Manual is a great resource, but it's a bit harder to read for someone who only needs the simplest network to manage sandbox environments. I'm also using separate servers, each having their own (internal) repository and individual network.

  • How to get Virtual Network name for Virtual Machine in Azure PowerShell?

    I want to know what Virtual Network name is for specific Virtual Machine.
    How can I get this through Azure PowerShell?

    If this is SCVMM (since SCVMM has things called 'virtual networks') you would:
    $vm = Get-SCVirtualMachine -Name foo
    $vm.virtualNetworkAdapters will display the VM network adapter objects.  Each VM Network Adapter object has a "VM Network"  and a "Logical Network" property.
    So you can walk the chain of objects.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • Transfer Network settings from one machine to another?

    I'd like to transfer my Network locations on my old PowerBook running Panther to my new one that's running Tiger. What files would I have to move over? Is there an easier way to export these settings and import them into the new machine?

    You can use the Migration Assistant to bring over network settings from one Mac OS X installation to another. The transfer can be done through FireWire or from another drive connected directly to the computer.
    (11309)

  • Qemu-kvm: network access from host to guest

    I need ssh and http access from my host (Arch) to the guest (other Linux). I've failed at setting up Tap networking as described in the wiki. I don't need to have the whole LAN access the guest, so is there another way the host can access the guest? Using the guest's IP of 10.0.2.15 doesn't work, but I'm hoping there is a way to do it.
    Thanks.

    Mr.Elendig wrote:Bridging is the best way todo it, so you should give us some more info on your atempt at it, so that we can help you fix it.
    Ok, I've followed the instructions from the wiki.
    One problem is that I'm on a laptop. eth0 is wireless and eth1 is wired. I chose to use eth1 since I thought it'd be easier to get working on one device before trying to make it work on both.
    1. bridge and tun modules are loaded from rc.conf
    2. In /etc/conf.d/bridges I have this:
    bridge_br0="eth1"
    BRIDGE_INTERFACES=(br0)
    3. In /etc/rc.conf I changed my networking portion to this:
    eth1="eth1 up"
    br0="dhcp"
    INTERFACES=(eth1 br0)
    4. In /etc/udev/rules.d/65-kvm.rules I have this:
    KERNEL=="tun", NAME="net/%k", GROUP="kvm", MODE="0660"
    5. My user is part of the kvm group, although I have also tried running qemu-kvm as root.
    6. In /etc/qemu-ifup I put:
    #!/bin/sh
    echo "Executing /etc/qemu-ifup"
    echo "Bringing up $1 for bridged mode..."
    sudo /sbin/ifconfig $1 0.0.0.0 promisc up
    echo "Adding $1 to br0..."
    sudo /usr/sbin/brctl addif br0 $1
    sleep 2
    7. Using visudo I added this to the bottom:
    Cmnd_Alias QEMU=/sbin/ifconfig,/sbin/modprobe,/usr/sbin/brctl,/usr/bin/tunctl
    %kvm ALL=NOPASSWD: QEMU
    8. I launch qemu-kvm with the following script:
    USERID=`whoami`
    IFACE=`sudo tunctl -b -u $USERID`
    qemu-kvm -net nic -net tap,ifname="$IFACE" -vga std -m 1024 -k en-us -usbdevice tablet -localtime /dev/sda
    sudo tunctl -d $IFACE &> /dev/null
    My system starts with br0 getting the dhcp IP on boot, so that part is working.
    When I run the qemu-kvm start script I get this error (running as user or root):
    /etc/qemu-ifup: could not launch network script
    Could not initialize device 'tap'
    /etc/qemu-ifup is executable
    Last edited by shakin (2009-06-05 19:13:14)

Maybe you are looking for

  • Interactive PDF stopped working after upgrade to Safari 7.1 (i.e. all Mavericks users), Suggestions?

    We have a set of interactive PDF forms that our users access via the web.  We have to use the PDF forms online because they are configured to pre-fill basic information that is acquired from our database/information system, which our users can only a

  • Problem in Rough Cut Plan while displaying Date & the nbre of columns

    Hi Expert, During the creation of Rough Cut plan for material Trx MC87, the system display only one Column and the displayed date  is 2012. I Tried to extend the period by using the the button "page Right" and "page left" but there is no  chance. you

  • Copy Paste HTML to Excel Word issue

    Web site used for business has "printable excel view". In prior versions of Firefox I could copy and paste into word or excel. In version 4, it locks up Word with Problem signature: Problem Event Name: APPCRASH Application Name: WINWORD.EXE Applicati

  • Create two different websites Iweb mobilme

    I have bought domain "A.com" and set up a Iweb site with mobilme and linked it to "A.com". This works fine. I have bought domain B.com and want to set up a Iweb with mobilme and link ti to "B.com". When i try this i only have the possiblity to link B

  • Could do with help for a better expression

    Hi guys im using the following code to detect if a file is a text file it works however it is possible to fool it by having a file file.txt.doc. can anyone suggest a better way to do this? bear in mind its a javascript function. var filter = /.txt/;