Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-19-2013, 04:31 PM
|
#1
|
Member
Registered: Apr 2011
Posts: 142
Rep:
|
Networking options on UML
I'm experimenting with UML for application virtualization. The idea is to have a collection of files - a static UML binary, a launcher script, and a minimal filesystem - that can be used to run a given application in its own filesystem, on most Linux systems.
Right away, a problem: networking on UML is painful!
- TUN/TAP requires creating a new network device for each UML user (or running UML as root). It does work without issue, but the per-user setup makes it undesirable for desktop purposes.
- SLIP likewise requires root access, otherwise I get permissions problems when trying to bring up the interface.
I haven't tried any of the the other options yet, but they don't look a whole lot more promising.
What I'd like is to be able to have something like Xen's NAT functionality - the host gets a static "gateway" IP, the guests each get a static IP, and packets to and from the guests are forwarded via the host. Is this possible, or am I out of luck?
|
|
|
08-19-2013, 08:23 PM
|
#2
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,311
|
What is UML in this context?
|
|
|
08-19-2013, 09:18 PM
|
#3
|
LQ Newbie
Registered: Aug 2013
Posts: 17
Rep:
|
User Mode Linux?
|
|
|
08-19-2013, 09:36 PM
|
#4
|
Member
Registered: Apr 2011
Posts: 142
Original Poster
Rep:
|
Yes, that would be User Mode Linux, sorry.
|
|
|
08-19-2013, 10:02 PM
|
#5
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,311
|
Quote:
Originally Posted by Gullible Jones
Yes, that would be User Mode Linux, sorry.
|
Thanks - I am not familiar with that and was trying to imagine how your question related to the Unified Modeling Language...
So now that I understand the questions, I am sorry that I have no useful answer and you must wait for someone else to chime in.
|
|
|
All times are GMT -5. The time now is 06:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|