CJ van den Berg
2006-Feb-03 12:53 UTC
Re: [Xen-users] ''Link veth0 is missing'' - caused by having no ''ip'' command
On Fri, Feb 03, 2006 at 01:08:37PM +0000, Richard Jones wrote:> But there is no "ip" command under Linux, and it doesn''t look like Xen > installs one either. How do I get this command?It''s a standard Linux command. You didn''t mention what distribution you''re using. In Debian the ip command is in the iproute package, so "apt-get install iproute" should do it. -- CJ van den Berg mailto:cj@vdbonline.com xmpp:cj@vdbonline.com sip:8918316@sipgate.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alexander Wilms
2006-Feb-03 12:59 UTC
Re: [Xen-users] ''Link veth0 is missing'' - caused by having no ''ip'' command
Hi Richard, don''t know which distro you are using, but the ip command is in a package normally called as iputils. I''m surprised that you don''t have it installed in your distro, because it''s the "modern" way of configuring networking under Linux HTH, Alex Richard Jones schrieb:> I get the error attached below when I run network-bridge start by > hand. I have a veth0 interface. Looking at the script, it seems > the reason the command fails is because the script tries to run > this function to test for veth0: > > link_exists() { if ip link show "$1" >/dev/null 2>/dev/null then > return 0 else return 1 fi } > > But there is no "ip" command under Linux, and it doesn''t look like > Xen installs one either. How do I get this command? > > Rich. > > ---------------------------------------------------------------------- > > > # /etc/xen/scripts/network-bridge start > > Link veth0 is missing. This may be because you have reached the > limit of the number of interfaces that the loopback driver > supports. If the loopback driver is a module, you may raise this > limit by passing it as a parameter (nloopbacks=<N>); if the driver > is compiled statically into the kernel, then you may set the > parameter using loopback.nloopbacks=<N> on the domain 0 kernel > command line. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Richard Jones
2006-Feb-03 13:08 UTC
[Xen-users] ''Link veth0 is missing'' - caused by having no ''ip'' command
I get the error attached below when I run network-bridge start by hand. I have a veth0 interface. Looking at the script, it seems the reason the command fails is because the script tries to run this function to test for veth0: link_exists() { if ip link show "$1" >/dev/null 2>/dev/null then return 0 else return 1 fi } But there is no "ip" command under Linux, and it doesn''t look like Xen installs one either. How do I get this command? Rich. ---------------------------------------------------------------------- # /etc/xen/scripts/network-bridge start Link veth0 is missing. This may be because you have reached the limit of the number of interfaces that the loopback driver supports. If the loopback driver is a module, you may raise this limit by passing it as a parameter (nloopbacks=<N>); if the driver is compiled statically into the kernel, then you may set the parameter using loopback.nloopbacks=<N> on the domain 0 kernel command line. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alvin Starr
2006-Feb-03 13:12 UTC
Re: [Xen-users] ''Link veth0 is missing'' - caused by having no ''ip'' command
Richard Jones wrote:>I get the error attached below when I run network-bridge start by >hand. I have a veth0 interface. Looking at the script, it seems the >reason the command fails is because the script tries to run this >function to test for veth0: > >link_exists() >{ > if ip link show "$1" >/dev/null 2>/dev/null > then > return 0 > else > return 1 > fi >} > >But there is no "ip" command under Linux, and it doesn''t look like Xen >installs one either. How do I get this command? > >Rich. > >---------------------------------------------------------------------- > ># /etc/xen/scripts/network-bridge start > >Link veth0 is missing. >This may be because you have reached the limit of the number of interfaces >that the loopback driver supports. If the loopback driver is a module, you >may raise this limit by passing it as a parameter (nloopbacks=<N>); if the >driver is compiled statically into the kernel, then you may set the parameter >using loopback.nloopbacks=<N> on the domain 0 kernel command line. > > > >ip is part of the iproute package. I guess that should be added to the list of xen dependencies. -- Alvin Starr || voice: (416)585-9971 Interlink Connectivity || fax: (416)585-9974 alvin@iplink.net || _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Richard Jones
2006-Feb-03 14:17 UTC
Re: [Xen-users] ''Link veth0 is missing'' - caused by having no ''ip'' command
On Fri, Feb 03, 2006 at 01:53:03PM +0100, CJ van den Berg wrote:> On Fri, Feb 03, 2006 at 01:08:37PM +0000, Richard Jones wrote: > > But there is no "ip" command under Linux, and it doesn''t look like Xen > > installs one either. How do I get this command? > > It''s a standard Linux command. You didn''t mention what distribution you''re > using. In Debian the ip command is in the iproute package, so > "apt-get install iproute" should do it.Thanks to everyone who answered. Yes, ''apt-get install iproute'' fixed all my problems ... Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users