Re: [Users] Kernel panic with latest 2.6.24 from git

2008-06-11 Thread Alexey Dobriyan
On Monday 09 June 2008 14:35:36 Dietmar Maurer wrote:
 Just compiled latest 2.6.24 from git. I consistently get a kernel 
 Panic when i stop a CT (ipv6 related)  - someone else observing that?

Yes, and this is already fixed in, again, current git. :-)

VE: let -ve_netns live a bit more
VE: let -ve_netns live a bit more
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Veth mac generation

2008-06-11 Thread Kirill Korotaev
and yes and no.
These upper 3 bytes are reserved for our company, so selecting them you
will never conflict with other devices in network infrastructure.
i.e. the worst what can happen 2 veths will conflict.

On the other hand - you are right, 6 bytes are better :)

Kirill

Dietmar Maurer wrote:
 Hi all,
 
 The code to generate mac addresses for veth (generate_mac in veth.c)
 uses the
 Constant SW_OUI for upper 3 bytes, and random values for lower 3 bytes.
 Thus 
 giving 2^24 possible values.
 
 Isn't it better to use random numbers for all 6 bytes, like the code 
 in the linux kernel:
 
 static inline void random_ether_addr(u8 *addr)
 {
 get_random_bytes (addr, ETH_ALEN);
 addr [0] = 0xfe;   /* clear multicast bit */
 addr [0] |= 0x02;   /* set local assignment bit (IEEE802) */
 }
 
 That would make conflict less likely.
 
 - Dietmar
 
 
 
 ___
 Users mailing list
 Users@openvz.org
 https://openvz.org/mailman/listinfo/users
 

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


AW: [Users] Veth mac generation

2008-06-11 Thread Dietmar Maurer
Why I asked is because of that bridge problem:

http://forum.openvz.org/index.php?t=msgth=5291#msg_26576

A bridge always select the lowest mac address.

This patch solves the problem, but i am not sure if there are side effects.

https://lists.linux-foundation.org/pipermail/bridge/2008-June/005895.html
 
The SWSOFT OID is quite 'low', so the problem occurs frequently.

- Dietmar


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag von Kirill Korotaev
 Gesendet: Mittwoch, 11. Juni 2008 15:47
 An: users@openvz.org
 Betreff: Re: [Users] Veth mac generation
 
 and yes and no.
 These upper 3 bytes are reserved for our company, so 
 selecting them you will never conflict with other devices in 
 network infrastructure.
 i.e. the worst what can happen 2 veths will conflict.
 
 On the other hand - you are right, 6 bytes are better :)


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