About this list Date view Thread view Subject view Author view Attachment view

From: Karsten Horsmann (witchdoc_at_netzwech.de)
Date: Fri 16 Sep 2005 - 10:00:26 BST


Hello.

On my servers i used the Vserver-Patch 2.0 and i like it. So i took
the patch vs2.1.0-pre7 on my laptop with 2.6.13.1 Kernel.

Works find with Debian/Sarge and the Debian util-vserver from Sid.

Now i ve two problems. I want to use an dhcpd within the vserver
guest and i want diffrent networkdevice for the vps.

Question #1 Whats the right setup for an dhcpd inside a vps?

the dhcpd (or dnsmasq, provides dhcp/dns)
I need some capabilities.

cat /etc/vservers/mobil/bcapabilities
CAP_NET_RAW
CAP_NET_BROADCAST

Okay, that works fine and i can start the dnsmasq (dhcp-Service).

The old Config Style use this Entries:
IPROOT=192.168.0.210
IPROOTBCAST=192.168.0.255
IPROOTBCAST=255.255.255.255

I try this

cat /etc/vservers/mobil/interfaces/0/dev ath0
cat /etc/vservers/mobil/interfaces/0/ip 192.168.100.210
cat /etc/vservers/mobil/interfaces/0/prefix 24
cat /etc/vservers/mobil/interfaces/0/name mo0

cat /etc/vservers/mobil/interfaces/1/dev ath0
cat /etc/vservers/mobil/interfaces/1/ip 192.168.100.255
cat /etc/vservers/mobil/interfaces/1/prefix 24
cat /etc/vservers/mobil/interfaces/1/name mo1

cat /etc/vservers/mobil/interfaces/2/dev ath0
cat /etc/vservers/mobil/interfaces/2/ip 255.255.255.255
cat /etc/vservers/mobil/interfaces/2/prefix 32
cat /etc/vservers/mobil/interfaces/2/name mo2

Maybe the ip/netmask setup is the Problem?

Question #2 How can i switch between 2 nics?

This mobile Vserver guest shouldt provide some services
on my ath0 (wireless network) or on my eth0 (wired) device.

The Host should have network access too.

Whats the right solution for this?

Put the VPS on an dummy0 and add this to an bridge with the
connected device? Or something else?

Thanks for any hints :-).

-- 
MfG
Karsten Horsmann


_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 16 Sep 2005 - 10:00:56 BST by hypermail 2.1.3