Song Ping (pubic emailbox)
2009-Aug-06 05:10 UTC
[Bridge] bridge on colinux: need to configure bridging in kernel
Hi: I'm trying to setup dynamips to simulate some cisco routers in ubuntu and I need to bridge the router interface out of the linux NIC (so two virtual routers hold by 2 linux can talk), and it looks I need this fancy bridge tool, but. When I install the bridge-utils and start to configure a bridge, it reports the following error: # brctl addbr br0 add bridge failed: Package not installed read through the document and realize I probably need to "configure Ethernet bridging into my kernel", here is my kernel version: root at ubuntu-1:/home/ping1# uname -r 2.6.22.18-co-0.7.4 So , yes I'm using colinux (running on top of winxp), but I don't think that should be the root cause, problem is now how do I "configure Ethernet bridging into my kernel"? Sorry this may sound a stupid question for experts but I'm not an export of linux so that sound real hard and dangrious for me , any step-by-step suggestion on that? Thanks! Regards/ping -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20090806/eacdc35f/attachment.htm
Stephen Hemminger
2009-Aug-06 22:16 UTC
[Bridge] bridge on colinux: need to configure bridging in kernel
On Thu, 6 Aug 2009 13:10:21 +0800 "Song Ping \(pubic emailbox\)" <itestitest at hotmail.com> wrote:> Hi: > > I'm trying to setup dynamips to simulate some cisco routers in ubuntu and I > need to bridge the router interface out of the linux NIC (so two virtual > routers hold by 2 linux can talk), and it looks I need this fancy bridge > tool, but. > > When I install the bridge-utils and start to configure a bridge, it reports > the following error: > > # brctl addbr br0 > > add bridge failed: Package not installed > > > > read through the document and realize I probably need to "configure Ethernet > bridging into my kernel", here is my kernel version: > > root at ubuntu-1:/home/ping1# uname -r > > 2.6.22.18-co-0.7.4 > > > > So , yes I'm using colinux (running on top of winxp), but I don't think that > should be the root cause, problem is now how do I "configure Ethernet > bridging into my kernel"? > > Sorry this may sound a stupid question for experts but I'm not an export of > linux so that sound real hard and dangrious for me , any step-by-step > suggestion on that? >If bridging is not in the kernel, you will have to reconfigure and recompile the kernel. If you don't have source and/or tools to do that, there is no other clean solution.