[ns] how to patch MTENS on ns2.32

2012-02-23 Thread prabin maharjan


hello everyone
I tried to patch MTENS for ns2.32 and follow according to the instruction 
http://netserv.iet.unipi.it/software/mtens/readme but couldn't patch.If anyone 
had patched this file can you please help me on patching this file?
With RegardsPrabin

[ns] help me on upstream label assignment on mpls

2012-02-08 Thread prabin maharjan


hello


I' doing upstream label assignment in mpls multicast network and when i use 
enable-data-driven instead of enable-control-driven then i got following 
output. In the following output, the incoming label has incomplete values. If 
anyone has idea about upstream label assignment, then can you please suggest me?


FEC PHB LIBptr AltanativePath
2 -1 0 -1
4 -1 1 -1
7 -1 2 -1

___LIB dump___ [node: 1]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 2 0 -1
1: -1 -1 4 0 -1
2: -1 -1 4 999 -1

--) ___ERB dump___ [node: 1] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 2] (--
-
FEC PHB LIBptr AltanativePath
1 -1 0 -1
3 -1 1 -1

___LIB dump___ [node: 2]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 1 0 -1
1: -1 -1 3 0 -1

--) ___ERB dump___ [node: 2] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 3] (--
-
FEC PHB LIBptr AltanativePath
2 -1 0 -1
4 -1 1 -1
6 -1 2 -1
7 -1 3 -1

___LIB dump___ [node: 3]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 2 0 -1
1: -1 -1 4 0 -1
2: -1 -1 6 0 -1
3: 4 999 6 0 -1

--) ___ERB dump___ [node: 3] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 4] (--
-
FEC PHB LIBptr AltanativePath
1 -1 0 -1
3 -1 1 -1
5 -1 2 -1
7 -1 3 -1

___LIB dump___ [node: 4]
-

# iIface iLabel oIface oLabel LIBptr
0: -1 -1 1 0 -1
1: -1 -1 3 0 -1
2: -1 -1 5 0 -1
3: 1 999 3 999 -1

--) ___ERB dump___ [node: 4] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 5] (--
-
FEC PHB LIBptr AltanativePath
4 -1 0 -1
6 -1 1 -1

___LIB dump___ [node: 5]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 4 0 -1
1: -1 -1 6 0 -1

--) ___ERB dump___ [node: 5] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 6] (--
-
FEC PHB LIBptr AltanativePath
3 -1 0 -1
5 -1 1 -1

___LIB dump___ [node: 6]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 3 0 -1
1: -1 -1 5 0 -1

--) ___ERB dump___ [node: 6] (--
-
FEC LSPid LIBptr  

[ns] help me on packet combining

2012-02-02 Thread prabin maharjan


hello

I'm new to ns2 and i'm searching the code on piggybacking the two packets in 
multicast networks. While sending the packets, two packets will be piggyback or 
merge up to the certain nodes and the original packet has to extract again and 
send it to the respective nodes. If it is possible, then can you please help me.


Thanking in advance



With Regards
Prabin