From: Debby (debby_at_aachenconsulting.de)
Date: Thu 06 Feb 2003 - 12:22:09 GMT
How can I access the internet and intranet from inside a vserver?
Here is the setting:
Internet (IN) <--> (hardware) Router (R) <--> 2 PCs (A,B)
-> Installed on PC 'A' is Woody (unstable) (IP 192.168.0.10) with one
vserver ('V') also with Woody (unstable) (IP 192.168.0.23).
-> Installed on PC 'B' is Woody (stable) (IP 192.168.0.20).
-> The gateway/router has the IP 192.168.0.1.
What I would like is to access the internet and PC 'A' and 'B' from the
vserver. Whatever I do it is not possible. I tried to change the
routing-table etc. To update the vserver I have to give it the same IP as PC
'A' ('*.10*') and change it back to '*.23' later using 'vserver V start /
stop' in this context. Also I would like to access the vserver from the
outside - from PC 'A' and 'B' (e.g. apache, mail, ...). Do I need to do
something like: Internet (IN) <--> (hardware) Router (R) <--> NAT/MASQ on PC
(A) <--> vserver (V)?
Also I am intersted in knowing if it is possible to run KDE on PC 'A' and
GNOME on the vserver 'V' with them showing up on different consols. Is it at
all possible to run X on the main server and on the vserver(s)? What about
two or more vserver running X-applications ...?
Thanks a lot,