[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] RE: MPLS simulation with NS/2
Hi Munaf,
I don't know your exact problem, but maybe this helps a bit.
With MNS version 2 (MPLS extension for ns-2.1b6) you can set up ER-LSP's:
$node setup-erlsp $FEC $route $LSPID
You can bind flows to such a ER-LSP:
$node bind-flow-erlsp $FEC $fid $LSPID
Further you can assign a flow id to a source:
$source set fid_ $fid
Now if you reserve 1 flow id "a" for a VPN "a", then only sources of flow id
"a" may use the LSPs you created: like a VPN.
What you maybe also want to do is reserve resources on the LSP's of a VPN.
This can be done by setting up CR-LSP's instead of ER-LSP's.
Success!
Onno
Tulius Lima wrote:
> > i am not sure whether mpls is implemented in ns2 ..... i guess not ...
>
> Wrong! MPLS has been part of NS-2 since version 2.1b6.
> I am just not sure about the VPN stuff. Maybe it will have to be
> implemented.
>
> Tulius
>
> > > Munaf Ahmed
> > > Metera Networks
> > > www.metera.com
> > > tel: 469-330-9022
> > > email: [email protected]
> > >
> > > > -----Original Message-----
> > > > From: Munaf Ahmed
> > > > Sent: Tuesday, September 11, 2001 2:16 PM
> > > > To: '[email protected]'
> > > > Cc: Munaf Ahmed
> > > > Subject: MPLS simulation with NS/2
> > > >
> > > > Hello,
> > > >
> > > > I am searching for a network simulator for MPLS
> > > > and also RFC 2547 (VPNs based on MPLS/MP-BGP).
> > > >
> > > > Has anyone used NS-2 for this ?
> > > >
> > > > Appreciate any pointers.
> > > >
> > > > Thanks,
> > > >
> > > > Munaf Ahmed
> > > >
> > >