Ubuntu Networking :: Vbox Guests On 2 Different Hosts Need To Connect?
Jul 15, 2011
In my home network I have two ubuntu desktops that are connected to a router. On each pc I have installed Virtual Box 3.2 and various OSes. I need to sometimes run multiple vm's at the same time which is very RAM intensive so I was wondering if there is any way to connect VM's on different hosts so that they appear they are in the same network? Various articles that show up as search results hardly pertain to what I want to do. Basically, I would like to make vm's visible in the network but on different hosts and with ip addresses that would reflect that those vm's are on a same network. Like ubuntu 1 has vm's a and b and ubuntu 2 has c and d. When I start all of the vm's, I would like them to connect to each other just like they are in the same network without "knowing" they are on different hosts.
I'm not sure if this is even possible and I've tired searching, but I can't seem to figure it out. I have a few shares setup in Samba. I want them to prompt for a username and password. If an invalid user/pass is entered I want the user to be authenticated as a guest.
i'm running some virtual Fedora installations on a windows server 2008 with hyper-v. Most of them are Fedora 12 and 13. Everything works fine for some years. Yesterday i want to upgrade a F13 machine to F14 by netistall. The upgrade ran without any problems. After the reebot the machine was off the network. All the networkconfigs by DHCP are OK, IP address, gateways, DNS settings and so on. But the machine can't ping or connect to other hosts. I tried an VM from scratch with both F14 i386 and x86_64 - same ****. This is the first time i had such a problem by upgrading Fedora machines.
Problem:Your company network has internal only hosts / websites with names that end in .local, e.g.Your freshly installed Ubuntu machine works fine on the network, has internet access, etc. but cannot connect to these particular systems.Testing DNS with tools like dig / nslookup works fine, but normal name resolution with ping / telnet / browsers does not work.Solution:1. Open a terminal window2. Enter the command sudo nano /etc/nsswitch.conf3. Change the following line:hosts: files mdns4_minimal [notfound=RETURN] dns mdns4to this:hosts: files dns4. Press Ctrl-X, Y, Enter to saveExplanation:Ubuntu ships configured to do name lookups for self-configuring networks, based on the AppleTalk / mDNS / Bonjour protocol. In the configuration shipped for the resolver, this protocol is considered the final aurhority for the ".local" top level domain, and DNS will not be checked. The above configuration change eliminates this and restricts lookups to (a) /etc/hosts file, followed by (b) DNS
Well, as many proxy applications, GNOME Network Proxy Preferences only allow to ignore hosts. What I want to do is exactly the opposite. I only want to use the proxy for few sites. Is it possible to define only the allowed hosts in any way?
PS: I know FoxyProxy add-on for Firefox does this, but 1)I don't use Firefox and 2)I want the proxy settings system wide not only for browser.
I installed recently opensuse 11.3 and then Virtualbox from Sun Webpage. I have a local printer connected to one of the usb ports. With 11.2, VBox saw perfectly that printer and I could connect normally to it. Now, VBox sees the printer: if I click on the usb icon in the status bar it appears, but dimmed, and I cannot connect to it. I tried to disconnect and reconnect the printer physically, but nothing changed.
I am very new to Linux, 1 week old. Have just installed fedora 5 days ago and I now need to get hosts to connect to this server through telnet. I downloaded a xinetd rmp file but do not know what do next to get it installed and configure it.
I'm trying to use ssh-keyscan to get some known_host file population going on, but I have a ton of hosts I want to scan, all with multiple aliases in /etc/hosts. Is there a way to use my current /etc/hosts file to do an ssh-keyscan instead of making a special list of hosts that (from what I've read) ssh-keyscan needs?
Probably an easy (which means stoopid) question...I am trying to reroute a website using my hosts file so that it matches my servers certificate file for testing without effect dns and the live site.When I went to edit my /etc/hosts file it is non-existent. I have, I am assuming in it's place, hosts.allow and hosts.deny. Can anyone explain why I do not have a hosts file?
I have a problem reaching some hosts on the Internet, namely newegg.com and djangoproject.com. On the same machine and network connection using Windows 7 the host names resolve properly and I can connect to them. The host names are resolving in Ubuntu, but I cannot connect to them.
All clients on the LAN, have to have their /etc/hosts file edited for my server to resolve their hostnames/LAN ip addresses. Both Windows/Mac/Linux. That shouldn't be necessary as all other stanzas are correct. If the hosts file is not ammended my maillog shows connect from unknown rip="my_external_address" when in fact it should say connect from "host" rip=192.168.0.20 Not to sure if it is an iptables issue as I have nothing for this configuration. /etc/hosts file on the server has all required hostnames and ip addresses
I bought a network printer, gave it a host name, address should be assigned by my cable or DSL router. Thats what DHCP and DNS is made for right?Now I will print to that printer from my (Lucid) Kubuntu box and resolve it by it's hostname.I can't ping it by printername, I can't ping it by printername.local.It works when I login my router, read out the IP address and hostname the printer registered at the routers DHCP-table and use that address.What can be done that a router transfers the hostnames it has in it's IP-table to clients upon DHCP resolve AND whenever a client get's a new IP-Address?
What happen if we assign a static IP address to both linux and windows host?Consider host A is a ubuntu machine and host B is a windows machine. I first set a static IP for host A (W.X.Y.Z) and connect to it through ssh. Then I duplicate that IP for host B (W.X.Y.Z).The result was that I could no longer connect to the ubuntu machine!
I have read the man files on hosts (deny/allow) and think I understand how they are supposed to work but reality has proven me wrong.
My simple test case was to add "ALL: ALL " to the end of hosts.deny which I though should make the Internet not work. I can still look up hosts fine so apparently I don't understand these files or Ubuntu is ignoring them.
This is my hosts.deny file
Code:
Code:
and hosts
Code:
hosts.deny is the only file I have edited (so far)
We got a new server with 2 network interface cards with 4 MAC addresses in total. We would like to run two virtual machines (vserver1 and vserver2); one should connect via eth1, the other via eth2, and the host (mainserver) via eth0. The content of /etc/network/interfaces is as follows:
[Code]....
A connection from mainserver to vserver1 or vserver2 is not possible; a ssh connection from mainserver to vserverx ends with a login to mainserver.
I often manually add a troublesome domain (e.g., advertisements, fake virus alerts, etc.) to my /etc/hosts file on Ubuntu 10.04 Lucid; but the effect isn't immediate.My hosts file is already fifteen thousand lines long (having combined all the hosts files I could find on the net, including the MVP one); but I still, almost daily, find a new irritant to add to my /etc/hosts file.My problem is I do not understand WHEN the /etc/hosts file is next read after a change.I've been rebooting to make sure the hosts is re-read; but there must be a simpler way.My question:
- WHEN is the /etc/hosts file reconsidered in Ubuntu? - Is there a way to have the /etc/hosts file re-read sooner?
I tried virt-manager 0.8.0-7 or 0.8.1-1, my guest like fedora 12 i386, ubuntu i686, win xp do not have any sound even they detect the driver(es1370 or ac97) correctly. I doubt it is because of the pulseaudio and the qemu's user. Qemu uses not my user, it uses qemu user.
If I uses qemu-kvm directly, it has sound and work fine.
I'm still having the problem described in this thread (F15 + VirtualBox + USB Extension doesn't work). Does anyone else have this problem, or solutions to it?
Not sure what iis going on, I can ping some hosts on the internet but not others see below (adobe is not the only example) Works OK from another host on the same network with same GW and DNS iptables is turned off
[root@havoc init.d]# ping www.arrl.org PING www.arrl.org (184.106.62.248) 56(84) bytes of data. 64 bytes from www.arrl.org (184.106.62.248): icmp_req=1 ttl=55 time=94.1 ms 64 bytes from www.arrl.org (184.106.62.248): icmp_req=2 ttl=55 time=93.0 ms 64 bytes from www.arrl.org (184.106.62.248): icmp_req=3 ttl=55 time=99.4 ms 64 bytes from www.arrl.org (184.106.62.248): icmp_req=4 ttl=55 time=96.8 ms
I'm using NAT on an AP with linux. Is it possible to route an OUTGOING host not over NAT?
I'm using SNAT but could also use MAQUERADING I think. Because both are in POSTROUTING table and this table is the last one I don't think there is a solution or is there any solution?
Background: I'm using a local VoIp client which I want to have an own ip for routing question in my network but don't want all other local machines as seperate ip's because if done so i.e. without NAT the routing table is very complicated ...
How can I find all the devices(printers,etc...) and computers along with their OS if any installed that are connected in my intranet (devices/computers may be down here)?
I did this earlier using netstat or nmap not sure what I used and how I did.
I have to build a netwrok for small lab and office setup.Setup as belowI have a PC running with Centos 5.4 and has 4 NIC cards. eth0, eth1, eth2 and eth3
I have a small office network with windows machines and a Linux Internet access server (CentOS 5.4). For Internet access I use masquerade, so everione can access every Internet service. I periodicali have quite big traffic from one of the hosts, but I can't figure out which one is that?
Is there any linux command which will show me the bytes/packets (or any useful infos) going to specific hosts?
The computer connects wirelessly to a router. The router is connected to the internet and that is working well. (If i use a cable connection to the router, I can reach the internet).
Why wont the wireless connection reach the Internet? It is a strong connection. It worked before wirelessly. I am on 10.04 beta, with the recent updates installed.