Quagga bgpd build error

94 views
Skip to first unread message

Akshay Tambe

unread,
Mar 7, 2014, 5:57:50 AM3/7/14
to ns-3-...@googlegroups.com
hi , I am trying to run DCE- quagga to simulate BGP , I used bake.py to set dce environment. I used instructions from this link to get install dce and quagga.

http://www.nsnam.org/docs/dce/release/1.0/manual/html/getting-started.html

But when I tried to run dce-quagga-bgpd.cc it shows following error

assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::LinuxSocketFdFactory not found", file=../src/core/model/type-id.cc, line=540 terminate called without an active exception .

Is it OK to simulate BGP with ns-3 stack??

Please help...

Hajime Tazaki

unread,
Mar 9, 2014, 10:04:09 PM3/9/14
to ns-3-...@googlegroups.com

Hi,

At Fri, 7 Mar 2014 02:57:50 -0800 (PST),
Akshay Tambe wrote:
>
> [1 <text/plain; UTF-8 (7bit)>]
> hi , I am trying to run DCE- quagga to simulate BGP , I used bake.py to set
> dce environment. I used instructions from this link to get install dce and
> quagga.
>
> http://www.nsnam.org/docs/dce/release/1.0/manual/html/getting-started.html
>
> But when I tried to run dce-quagga-bgpd.cc it shows following error
>
> assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName:
> ns3::LinuxSocketFdFactory not found", file=../src/core/model/type-id.cc,
> line=540 terminate called without an active exception .

as you may notice, the example tried to use Linux stack by
default, which was not available in your
installation. probably you installed dce with dce-ns3
module: with dce-linux, you can use linux stack and the
error should be disappeared.

> Is it OK to simulate BGP with ns-3 stack??

http://www.nsnam.org/docs/dce/release/1.2/manual-quagga/html/getting-started.html

if you used only with IPv4 BGP, it should be okay.
if you want IPv6, Linux stack is better.


-- Hajime

Akshay Tambe

unread,
Mar 10, 2014, 6:37:47 AM3/10/14
to ns-3-...@googlegroups.com
Sir, thank you very much. I reinstalled dce with linux stack. now its working properly.
Thanks once again.



--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/g3OYyar4QOo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Jonay Rodríguez Báez

unread,
Oct 21, 2016, 8:52:33 AM10/21/16
to ns-3-users
Other possibility is run the script with ns-3 stack:

 ./waf --run  "dce-quagga-bgpd  --netStack=ns3"

Regards
Reply all
Reply to author
Forward
0 new messages