10-13-2009
You've connected the virtual machine via NAT. This means the IP headers of any packets leaving the guest are re-written to match the hosts network settings. But VirtualBox does not do any kind of reverse NAT (except for established connections), not even for packets originating from the host machine.
What I would do is create a direct connection ("Host interface"), keeping the guest in it's own subnet, and create a second IP for the host for them to communicate.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
if i wanted to ping all the machines in a given directory (/etc/hosts) and return a total count of responses how would i go about scripting that?
complete newbie...so be gentle
if ; then //$1 = /etc/hosts
cd "$1"
//this puts me into the directory i need...but how do i send ... (2 Replies)
Discussion started by: trostycp
2 Replies
2. UNIX for Dummies Questions & Answers
DEar all
i am receiving this error on start and then unable to ping
(dlpid): unable to open network adapter driver (/dev/mdi/e3h0)
what to do ? (2 Replies)
Discussion started by: sak900354
2 Replies
3. IP Networking
We are unable to bring one of our linux boxes into the network once it was restarted. But once we stop and start the network service. We are able to ping the gateway and get into network. After a minute or two we get the following reponse for the ping command
64 bytes from 124.168.215.40:... (6 Replies)
Discussion started by: chrisanto_2000
6 Replies
4. IP Networking
hi all.
am unable to ping a freebsd machine using fully qualified domain name from a windows machine.
i have already set the fqdn for the machine.
plz advise me.
thanks. (2 Replies)
Discussion started by: coolatt
2 Replies
5. Solaris
I have a vista on my PC . I have created a Solaris 10 server on it using VM ware . I have selected bridge mode to connect my PC and virtual machine together .I have alloted ip 192.168.1.2 to my virtual machine and 192.168.1.11 to my PC . I am able to ping the virtual machine from the base machine... (1 Reply)
Discussion started by: asalman.qazi
1 Replies
6. UNIX for Advanced & Expert Users
i have found a way to start vm with commanda as follows -
VBoxManage startvm <uuid>|<name>
it is installed inside oracle virtualbox.
in vmware we have a way to do this --
$vmware-cmd -v -H localhost -U user -P password /var/lib/vmware-server/Virtual\ Machines/Ubuntu/Ubuntu.vmx... (0 Replies)
Discussion started by: upvan111
0 Replies
7. AIX
Hi all,
I have gone through many posts related to this issue,but my issue wasn't resolved hence creating new thread.
I am unable to ping localhost.
ping localhost tries to ping localhost which is defined in DNS.
My /etc/hosts has entry for localhost as
127.0.0.1 loopback localhost.
... (8 Replies)
Discussion started by: chpsam
8 Replies
8. Linux
Hi,
Could you please help me with the below issue..
I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1).
I'm trying to connect to server from the client machine using ftp service.
I have installed vsftpd daemon on both the machines.
I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies
9. IP Networking
Hi
I have established LAN with the help of D-Link router. I am having 2 desktops ethernet connection managed by this D-Link router.
One PC is with Windows 7 OS
Second PC is with Redhat Linux 6.1
Both the PCs now stands connected to internet via this D-Link router.
I could ping windows PC... (12 Replies)
Discussion started by: videsh77
12 Replies
LEARN ABOUT DEBIAN
virt-viewer
VIRT-VIEWER(1) User Contributed Perl Documentation VIRT-VIEWER(1)
NAME
virt-viewer - display the graphical console for a virtual machine
SYNOPSIS
virt-viewer [OPTIONS] DOMAIN-NAME|ID|UUID
DESCRIPTION
virt-viewer is a minimal tool for displaying the graphical console of a virtual machine. The console is accessed using the VNC or SPICE
protocol. The guest can be referred to based on its name, ID, or UUID. If the guest is not already running, then the viewer can be told to
wait until is starts before attempting to connect to the console The viewer can connect to remote hosts to lookup the console information
and then also connect to the remote console using the same network transport.
OPTIONS
The following options are accepted when running "virt-viewer":
-h, --help
Display command line help summary
-V, --version
Display program version number
-v, --verbose
Display information about the connection
-c URI, --connect=URI
Specify the hypervisor connection URI
-w, --wait
Wait for the domain to start up before attempting to connect to the console
-r, --reconnect
Automatically reconnect to the domain if it shuts down and restarts
-z PCT, --zoom=PCT
Zoom level of the display window in percentage. Range 10-200.
-d, --direct
Do not attempt to tunnel the console over SSH, even if the main connection URI used SSH.
-a, --attach
Use libvirt to directly attach to a local display, instead of making a TCP/UNIX socket connection. This avoids the need to
authentication with the remote display, if authentication with libvirt is already allowed. This option does not work with remote
displays.
-f, --full-screen
Start with the window maximised to fullscreen
--debug
Print debugging information
EXAMPLES
To connect to the guest called 'demo' running under Xen
virt-viewer demo
To connect to the guest with ID 7 running under QEMU
virt-viewer --connect qemu:///system 7
To wait for the guest with UUID 66ab33c0-6919-a3f7-e659-16c82d248521 to startup and then connect, also reconnecting upon restart of VM
virt-viewer --reconnect --wait 66ab33c0-6919-a3f7-e659-16c82d248521
To connect to a remote console using TLS
virt-viewer --connect xen://example.org/ demo
To connect to a remote host using SSH, lookup the guest config and then make a direct non-tunnelled connection of the console
virt-viewer --direct --connect xen+ssh://root@example.org/ demo
AUTHOR
Written by Daniel P. Berrange, based on the GTK-VNC example program gvncviewer.
BUGS
Report bugs to the mailing list "http://www.redhat.com/mailman/listinfo/virt-tools-list"
COPYRIGHT
Copyright (C) 2007-2008 Red Hat, Inc., and various contributors. This is free software. You may redistribute copies of it under the terms
of the GNU General Public License "http://www.gnu.org/licenses/gpl.html". There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
virsh(1), "virt-manager(1)", the project website "http://virt-manager.org"
perl v5.14.2 2012-05-28 VIRT-VIEWER(1)