MPLS

468 views
Skip to first unread message

19Max84

unread,
Apr 21, 2011, 10:25:36 AM4/21/11
to ns-3-users
Hi,
can you tell me, please, where to download and how to integrate mpls
in NS3?
Yours sincerely

Massimo Aliberti

andrey churin

unread,
Apr 21, 2011, 4:46:15 PM4/21/11
to ns-3-users

19Max84

unread,
Apr 26, 2011, 2:50:23 AM4/26/11
to ns-3-users
Hi,
I followed the steps in the guide, but I get the following error:


[1187/1288] cxx: src/mpls/model/mpls-label-space.cc -> build/debug/src/
mpls/model/mpls-label-space_1.o
Waf: Leaving directory `/home/massimo/ns-3-dev/build'
Build failed: -> task failed (err #1):
{task: cxx mpls-nhlfe-selection-policy.cc -> mpls-nhlfe-selection-
policy_1.o}


What is the problem ?

thanks

19Max84

unread,
Apr 26, 2011, 4:04:57 AM4/26/11
to ns-3-users
Who to replace point-to-point-net-device.cc and net-device ?

Ruben Merz

unread,
Apr 26, 2011, 4:26:18 AM4/26/11
to ns-3-...@googlegroups.com, 19Max84
Dear Massimo,

The mpls module seems to be in alpha state. So please try to contact the
main developer of this extension. You should be able to find his contact
information on code.google.com.

Best,
Ruben

andrey churin

unread,
Apr 26, 2011, 3:43:56 PM4/26/11
to ns-3-users
Hi,

I have no problems with it.
You should replace ns-3-dev/src/network/model/net-device.cc and ns-3-
dev/src/network/model/net-device.h
with patched ns-3-mpls/src/network/model/net-device.cc and ns-3-mpls/
src/network/model/net-device.h
If you want to use PPP devices and channels (PointToPointNetDevice)
you also should replace
ns-3-dev/src/point-to-point/model/point-to-point-net-device.cc with
ns-3-mpls/src/devices/point-to-point/point-to-point-net-device.cc
Then update and rebuild ns-3-dev:

cd ~/ns-3-dev
hg pull -u
./waf distclean configure build

putut wijaya

unread,
Nov 20, 2012, 12:52:51 AM11/20/12
to ns-3-...@googlegroups.com
good afternoon andrey churin,

i have success for running MPLS, is it support wireshark?

because i have mpls.pcap and cannot found label

karthik kesiraju

unread,
Feb 12, 2013, 5:21:35 PM2/12/13
to ns-3-...@googlegroups.com
Hey Andrey Churin,

I'm trying to install the mpls module in NS-3 from the link you have given and after ./ waf configure build ..it says that mpls(no python) and i am not able to run any program.
I am using Ubuntu 12.04.

I need help ASAP please, immediate help would be greatly appreciated.

Thank You,
Karthik.

Manasi sharma

unread,
Feb 11, 2015, 3:12:02 PM2/11/15
to ns-3-...@googlegroups.com, aach...@gmail.com
Hey Andry, 

I appreciate your efforts for ns-3 and MPLS work.I am currently trying to run MPLS network using ns-3 and I am getting this error while I am trying to "./waf configure build"

[1007/1739] cxx: src/mpls/test/mpls­test.cc ­> build/src/mpls/test/mpls­test.cc.1.o

../src/mpls/test/mpls­test.cc: In constructor ‘ns3::mpls::MplsTestSuite::MplsTestSuite()’:

../src/mpls/test/mpls­test.cc:74:38: error: no matching function for call to

‘ns3::mpls::MplsTestSuite::AddTestCase(ns3::mpls::NhlfeTestCase*)’

AddTestCase (new NhlfeTestCase ());

../src/mpls/test/mpls­test.cc:74:38: note: candidate is:

In file included from ../src/mpls/test/mpls­test.cc:23:0:

./ns3/test.h:1137:8: note: void ns3::TestCase::AddTestCase(ns3::TestCase*,

ns3::TestCase::TestDuration)

void AddTestCase (TestCase *testCase, enum TestDuration duration);

^

./ns3/test.h:1137:8: note: candidate expects 2 arguments, 1 provided

^

Please help me here ASAP. Appreciate it.

Thank you,
Manasi 
Reply all
Reply to author
Forward
0 new messages