Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am not sure that your problem has much to do with the larger "picture" of the network as vbox.
When I started using vbox, I attempted to go it alone. Within a short time, going through links and links in Google I came to the realization that most of the answers were in the vbox manual. The vbox network arrangements, although difficult when you look at it are not necessarily difficult to understand.
Your address issue, specifically, I cannot help you. I do think you will save yourself a lot of hassle going through the manual and understanding NAT, Host Only, Bridge and Internal network.
Also, I can tell you from the experiences I have had so far (six months), you will still need to share The host directories that you want to see.
and ifconfig output on arch gives only the eth0 with 10.x.x.x and lo
Cable modem is connected to this ubuntu system. How can i write iptables rules? What will be the interface of original network card on arch?
Correct.
Arch (guest) needs only one IP address to connect to the Internet -- which is what you presumably want to do.
You don't need IPTABLES to connect Arch (guest) to the Internet; the VirtualBox software looks after everything for you automatically as long as you have given the Arch virtual machine the right type of network adapter. NAT is the default and works "out of the box".
The next step is to analyse Internet connectivity on Arch in the same way as if it were running on real hardware. What is the output of the following commands on Arch:
My system has two network cards - Only one is currently connected( to the cable modem)
But I have assigned ipno 192.168.0.2 to other network interface. In the host system (ubuntu ) it is there. Where is the second network interface on arch?
And
The eth0 interface is different from the real network interface. Vertual machine eth0 has 10.x.x.x and the real one is a different range.
Getting internet is not my issue. I want to connect the arch virtual machine to the rest of the network (One connected to the second interface having no 192.168.0.). I have to do iptable rules for the correct working as this is a multihomes pc and hence with the absense of iptable rules local network will not work correctly.
My goal is to connect the virtual pc to the local network. I think instead of nat ihave to do bridged connection. And how can Ido it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.