Re: [Users] Re: 2.6.18-ovz028test015 and 2.6.18-ovz028test018 break IPv6

2007-03-05 Thread Kir Kolyshkin

Wolfgang Schnerring wrote:

* Michael H. Warfield [EMAIL PROTECTED]:
  

This may not be an OpenVZ problem, per se, though.  Some time in the
very later part of the 2.6.18 kernel.org release updates, a problem was
introduced that broke IPv6.  Some patch or another caused nodes to fail
to join the all nodes multicast (ff02::1) address.  This is critical
to IPv6 router discovery and advertisement, neighbor discovery, and
autoconfiguration.  All fall down go boom.



I've raised that same issue here: http://bugzilla.openvz.org/show_bug.cgi?id=476

But even though Den Lunev found and backported the upstream patch (I
think from 2.6.20) that fixes the problem, I don't think this ever got into the
OpenVZ repository... any update on this?
As Kirill said in comment #4 to the bug, this patch goes to 028test019 
-- which is not yet released.
So you either have to wait till we release 019 (or later) kernel, or use 
the patch from the bugreport.

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] Using veth on debian

2007-03-05 Thread Nils Domrose

Hi all,

today i need setup a Virtual Server with a veth device since a  
commercial Software required a Mac Address for the license.


I think that it won't be the lasttime that we require such a setup  
(unfortunately), therfore I put some more effort into the scripts and  
added information to the wiki.


http://wiki.openvz.org/Virtual_Ethernet_device


I basicaly change the vznetaddroute script mentioned in the wiki:

#!/bin/bash

VZCONFDIR=/etc/vz
VZHOSTIF=$BASH_ARGV

. $VZCONFDIR/conf/$VEID.conf

if [ -n $VETH_IP_ADDRESS ]; then
echo Adding interface $VZHOSTIF and route $VETH_IP_ADDRESS  
for VE$VEID to VE0

/sbin/ifconfig $VZHOSTIF 0
echo 1  /proc/sys/net/ipv4/conf/$VZHOSTIF/proxy_arp
echo 1  /proc/sys/net/ipv4/conf/$VZHOSTIF/forwarding
/sbin/ip route add $VETH_IP_ADDRESS dev $VZHOSTIF
else
echo found no VETH_IP_ADDRESS in  $VZCONFDIR/conf/$VEID.conf!
exit 1;
fi
exit

with this little script one is finaly able to just apply changes to  
the VE's config file by adding a VETH_IP_ADDRESS variable including  
the desired IP Address, the rest is done by the script.


I decided to not include the sysctl / proc settings for forwarding  
and proxy arp into this script since I prefere the /etc/networks/ 
interfaces way.



e.g.

auto eth0
iface eth0 inet static
address 10.1.1.1
netmask 255.255.255.0
network 10.1.1.0
broadcast 10.1.1.255
gateway 10.215.1.254
dns-nameservers 10.215.1.20
dns-search prod.your.domain
up sysctl -w net.ipv4.conf.eth0.proxy_arp=1
up sysctl -w net.ipv4.conf.eth0.forwarding=1




Hope this helps someone ;-)


Nils Domrose



___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users