OpenVZ Forum


Home » Mailing lists » Users » /proc/stat ctxt/intr in VE
/proc/stat ctxt/intr in VE [message #30596] Thu, 29 May 2008 18:29 Go to next message
Josip Rodin is currently offline  Josip Rodin
Messages: 14
Registered: November 2007
Junior Member
Hi,

It looks like the number of context switches in /proc/stat is recorded for
the entire OpenVZ machine, rather than on a per-VE basis. Would it be
possible to get these to match the VE they run in?

The interrupts are completely missing OTOH.

-- 
     2. That which causes joy or happiness.
broadcast messages on venet0 [message #30600 is a reply to message #30596] Thu, 29 May 2008 20:06 Go to previous messageGo to next message
Zhaohui Wang is currently offline  Zhaohui Wang
Messages: 10
Registered: May 2008
Junior Member
Hi all

 

Any one knows the internal mechanism for broadcast messages on venet0? Virtuozzo Networking - venet0 Mode

 

When I try ping -b 192.168.1.255 inside the ve,I got know response.TCPdump outside VE on the host showed something on venet0,but nothing on eth0.When I do the samething outside VE,at least tcpdump will show the ping request message on eth0s.

 

It seems that venet0 dropped the broadcast messages?

 

I also tried 

 

Ifconfig venet0 broadcast 192.168.1.255,but the system do not allow me to do this?

 

My template is ubuntu804,and host openvz kernel is ovz004. I found some threads talking about venet0:0,someone said it’s a bug,other said it’s designed like this for Debian based templates.Is just an alias,righ?Any clarification?

 

Anyone has some idea to get the broadcast message get through?

 

 

Thanks in advance

 

 

 

 

Best Regards

Zhaohui Wang
Re: broadcast messages on venet0 [message #30613 is a reply to message #30600] Fri, 30 May 2008 06:33 Go to previous messageGo to next message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
- broadcasts incoming to a VE are dropped
- outgoing broadcasts gone to the HWN like to the router and not routed
further as usual, so you'll see nothing in eth0. This is normal. The
interface if point-to-point so other VEs do not see this packet.

Regards,
	Den

On Thu, 2008-05-29 at 16:06 -0400, Zhaohui Wang wrote:
>  
> 
>  
> 
> Hi all
> 
>  
> 
> Any one knows the internal mechanism for broadcast messages on venet0?
> Virtuozzo Networking - venet0 Mode
> 
>  
> 
> When I try ping -b 192.168.1.255 inside the ve,I got know
> response.TCPdump outside VE on the host showed something on venet0,but
> nothing on eth0.When I do the samething outside VE,at least tcpdump
> will show the ping request message on eth0s.
> 
>  
> 
> It seems that venet0 dropped the broadcast messages?
> 
>  
> 
> I also tried 
> 
>  
> 
> Ifconfig venet0 broadcast 192.168.1.255,but the system do not allow me
> to do this?
> 
>  
> 
> My template is ubuntu804,and host openvz kernel is ovz004. I found
> some threads talking about venet0:0,someone said it¢s a bug,other said
> it¢s designed like this for Debian based templates.Is just an
> alias,righ?Any clarification?
> 
>  
> 
> Anyone has some idea to get the broadcast message get through?
> 
>  
> 
>  
> 
> Thanks in advance
> 
>  
> 
>  
> 
>  
> 
>  
> 
> Best Regards
> 
> Zhaohui Wang
> 
>  
> 
>  
> 
>
Re: broadcast messages on venet0 [message #30615 is a reply to message #30613] Fri, 30 May 2008 07:57 Go to previous messageGo to next message
Dariush Pietrzak is currently offline  Dariush Pietrzak
Messages: 40
Registered: November 2007
Member
> - broadcasts incoming to a VE are dropped
are you sure? I have directed broadcasts into VE and have seen them
arriving to VE...


-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure
Re: broadcast messages on venet0 [message #30618 is a reply to message #30615] Fri, 30 May 2008 08:34 Go to previous messageGo to next message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
On Fri, 2008-05-30 at 09:57 +0200, Dariush Pietrzak wrote:
> > - broadcasts incoming to a VE are dropped
> are you sure? I have directed broadcasts into VE and have seen them
> arriving to VE...
> 

I am pretty sure that packets with destination address other than VE IP
address specified by vzctl can't go through venet0 device from VE0 to
VE.

You can see broadcasts on
- veth
- other net devices like vlans etc

Regards,
	Den
RE: broadcast messages on venet0 [message #30633 is a reply to message #30615] Fri, 30 May 2008 12:50 Go to previous message
Zhaohui Wang is currently offline  Zhaohui Wang
Messages: 10
Registered: May 2008
Junior Member
Hi Dariush

Can you introduce how to do that ?

Thanks


Best Regards
Zhaohui Wang


> -----Original Message-----
> From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
> Behalf Of Dariush Pietrzak
> Sent: Friday, May 30, 2008 3:58 AM
> To: users@openvz.org
> Subject: Re: [Users] broadcast messages on venet0
> 
> > - broadcasts incoming to a VE are dropped
> are you sure? I have directed broadcasts into VE and have seen them
> arriving to VE...
> 
> 
> --
> Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
>  Total Existance Failure
Previous Topic: How do I install APF firewall into the VE?
Next Topic: /proc/meminfo in VE
Goto Forum:
  


Current Time: Tue Mar 19 02:08:52 GMT 2024

Total time taken to generate the page: 0.02417 seconds