[Pkg-uml-pkgs] Re: Bug#399328: linux-patch-skas: user-mode-linux seems to not work on 2.6.18 patched with this package

Stefano Melchior stefano.melchior at openlabs.it
Fri Nov 24 16:32:40 CET 2006


On Fri, Nov 24, 2006 at 03:50:44PM +0100, Peder Chr. =?UTF-8?Q?N=C3=B8rgaard ?= wrote:
Dear Peder,
> in /etc/network/interfaces:
> 
> auto tap0
> iface tap0 inet static
>         address 172.16.0.1
>         netmask 255.255.255.0
>         tunctl_user uml-net
>         up /sbin/ip -4 route add to 172.16.1.0/24 via 172.16.0.2
>         up /sbin/ip -4 route add to 172.16.2.0/24 via 172.16.0.2
> 	
What I can not understand is the "tunctl_user uml-net" line: what is
"tunctl_user"? The following is the example of my "tap0" definition on
/etc/network/interfaces: in my case the user "ste" belongs to the
"uml-net" group and is the "launcher" of my uml instances.

iface tap0 inet static
        address 10.0.1.100
        netmask 255.255.255.0
        network 10.0.1.0
        pre-up tunctl -u ste
        post-down tunctl -d ste
        pre-up iptables -t NAT -A POSTROUTIG -o eth0 -j MASQUERADE
        pre-up bash -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'

Can you check this?

Cheers

SteX
-- 
Stefano Melchior, GPG key = D52DF829 - <stefano.melchior at openlabs.it>
http://www.openlabs.it/~stex    --     <stefano.melchior at openlabs.it>
http://etinarcadiaego.dyndns.org  --  <ste at etinarcadiaego.dyndns.org>
Skype ID "stefanomelchior"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/attachments/20061124/75e1cc40/attachment.pgp


More information about the Pkg-uml-pkgs mailing list