LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2013, 04:31 PM   #1
Gullible Jones
Member
 
Registered: Apr 2011
Posts: 142

Rep: Reputation: 10
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?
 
Old 08-19-2013, 08:23 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,311
Blog Entries: 24

Rep: Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263
What is UML in this context?
 
Old 08-19-2013, 09:18 PM   #3
blip
LQ Newbie
 
Registered: Aug 2013
Posts: 17

Rep: Reputation: Disabled
User Mode Linux?
 
Old 08-19-2013, 09:36 PM   #4
Gullible Jones
Member
 
Registered: Apr 2011
Posts: 142

Original Poster
Rep: Reputation: 10
Yes, that would be User Mode Linux, sorry.
 
Old 08-19-2013, 10:02 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,311
Blog Entries: 24

Rep: Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263
Quote:
Originally Posted by Gullible Jones View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to network - /etc/networking/options deprecated buckwheat12 Debian 2 12-07-2005 04:45 AM
No networking options in kernel configuration ab_s0248 Linux - Distributions 1 04-28-2005 04:18 PM
No networking options in kernel configuration ab_s0248 Linux - Networking 1 04-28-2005 02:05 PM
UML networking with wlan0 coindood Linux - Networking 0 05-23-2004 08:39 PM
Help with choosing networking options Erikj Linux - Networking 2 03-29-2004 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration