LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-13-2005, 04:47 AM   #1
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Rep: Reputation: 30
User Mode Linux: Routing question - Update


<edit>
I've updated what I'm looking to try below, at post 5.
</edit>


Hi all

I'm thinking about installing User Mode Linux on a development server so I can better mimic the environments of all our main servers which run different distros. This dev server has a single external IP pointing at it.

I'm just wondering whether I can use this single IP to access sites on the different environments, or whether I'll have to set up an IP for each environment?

Thanks.

Last edited by neocookie; 06-01-2006 at 07:40 AM.
 
Old 10-13-2005, 05:48 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
Re: User Mode Linux: Routing question

use nat to point for diffrent machine
eg
192.168.0.10:80 <- might use this as default from external XXX.XXX.XXX.XXX
192.168.0.20:800
192.168.0.30:8080

can be done

Quote:
Originally posted by neocookie
Hi all

I'm thinking about installing User Mode Linux on a development server so I can better mimic the environments of all our main servers which run different distros. This dev server has a single external IP pointing at it.

I'm just wondering whether I can use this single IP to access sites on the different environments, or whether I'll have to set up an IP for each environment?

Thanks.
 
Old 10-17-2005, 08:20 AM   #3
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Would this be done via a router, or could this be done on the UML machine?
 
Old 10-17-2005, 08:40 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
In the router have to set with NAT
to point the port forwarding to difrent ip address in the LAN

in the workstation have to set with httpd.conf
one machine run one port for webserver as default
if 3 machine all those must be diffrent port for apache then nat can forward it to respective machine
 
Old 06-01-2006, 07:37 AM   #5
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Thought I'd update what I'm trying to do...

Essentially, I have a dev machine (running debian) which I'm planning to use as a host for UML. It has an direct connection to the internet with an IP, so we can test from different machines and work from outside the office.

What I need to have is 4+ UML instances running on this host machine, each running FC2. They each need to be able to run a web server, and recieve requests from outside/the internet.

The idea was to have each UML instance listening to a different subdomain (a.oursite.com, b.oursite.com, c.oursite.com), and have each web server listening on port 80. We need to access sites (eg: red.a.oursite.com, blue.b.oursite.com, etc) from the internet as well as on our network.

I have pretty much full control over the whole system, so anything's possible.

Any help you can offer would be great!
 
Old 06-01-2006, 08:49 AM   #6
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
I've come across this pdf:
http://mia.ece.uic.edu/~papers/publi...ML-1_final.pdf
which outlines how to enable the host to act as a NAT gateway for the UML instances.

Would it be possible, then, to have the host listening on one IP, forwarding all requests for subdomains to their respective UML instances?
 
Old 06-04-2006, 02:28 AM   #7
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
i think this one u need to look for

ftp://mirror.pacific.net.au/linux/user-mode-linux
 
  


Reply

Tags
linux, mode, uml, user



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User Mode Linux theblaze Linux - Software 1 11-22-2005 03:15 PM
User Mode Linux (UML) EggZ Fedora 4 09-20-2004 10:46 AM
user mode linux supradrvr Linux - Software 0 06-01-2004 10:29 PM
user mode linux? ZoZo Linux - Newbie 1 09-21-2002 11:54 AM
User-Mode Linux darkmage Linux - General 2 08-05-2002 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:27 PM.

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