Re: [Vserver] IPv6 with Bruno patch doesn't work for me

From: Bruno <bonbons67_at_internet.lu>
Date: Mon 26 Feb 2007 - 21:44:50 GMT
Message-Id: <200702262244.51438.bonbons67@internet.lu>

Hi Eddy,

Well, I always setup IP addresses on the host, thus don't use util-vserver for
configuring interfaces.

In order for util-vserver to configure your interfaces you need the following
file with correct content:
  interfaces/X/dev (content is interface name)

Use
  interfaces/X/nodev (empty file)
to tell util-vserver not to bother setting up any address on any interface
(e.g. that's done by the host)

If you see an error message like "Broadcast can be set only for IPv4
addresses" you will need to check with the following patch (against
util-vserver 0.30.213-rc4) or ask Daniel (daniel_hozac) for help.
http://people.linux-vserver.org/~dhozac/p/uv/experimental/delta-ipv6-fix01.diff

Hope this helps,
Bruno

On Monday 26 February 2007 20:57:35 Eddy Vervest wrote:
> Hi Bruno,
>
> After setting up the same ipv6-address on the host system it works
> fine.... thanks for the help (and the patch in the first place)!
>
> The documentation on http://linux-vserver.org/IPv6 however suggest that
> with version 0.30.212 it will be done all automagically when added to the
> interface configuration of the vserver (like there isn't a difference
> between ipv4 and 6 in configuration). With just ipv4 I didn't have to add
> the quest ip address to the host like I needed to do with ipv6.
>
> Thanks,
> Eddy
>
> > Hi Eddy,
> >
> > Could you provide the contents of /proc/virtnet/106/info as well as check
> > that
> > the address is correctly set on the host?
> >
> > Adding an address to a guest that is not configured on the host will just
> > tell
> > the kernel that whenever that address gets available the guest may also
> > use
> > it. (this is the same for IPv4)
> >
> > If both show the same address and the address is not visible inside the
> > guest
> > (also check with ip from iproute2 packages, though both should work and
> > do here) then more hunting is required...
> >
> > Regards,
> > Bruno
> >
> > On Monday 26 February 2007 13:36:21 Eddy Vervest wrote:
> >> Hi All,
> >>
> >> After looking at http://linux-vserver.org/IPv6 I decided to give it a
> >> try,
> >> but I wasn't successfull.
> >>
> >> I used your patch-2.6.19.3-vs2.2.0.ipv6-rc13.1.diff patch and applied it
> >> (patched and compiled without errors), but no ipv6 support in my
> >> vserver.
> >>
> >> # uname -a
> >> Linux named 2.6.19.3-vs2.2.0.ipv6-rc13.1 #1 Thu Feb 22 20:59:52 CET 2007
> >> i686 GNU/Linux
> >>
> >> >From the host using naddress doesn't show an error:
> >>
> >> # naddress --add --nid 106 --ip 2001:610:614::53/48
> >> Adding 2001:610:614::53
> >>
> >> , but the ipv6 address doesn't show up in the quest using "ifconfig"
> >>
> >> Adding the IPv6 specification to the interfaces directory didn't work
> >> either. Running vserver-util 0.30.212 (build from debian/sid sources).
> >>
> >> What do I do wrong?
> >>
> >> Regards, Eddy
> >>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Feb 26 21:50:51 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 26 Feb 2007 - 21:50:59 GMT by hypermail 2.1.8