[ndnSIM] MCU

Alex Afanasyev aa at CS.UCLA.EDU
Thu Feb 16 11:11:57 PST 2017


For this, you need to set default size of MTU for NS-3's PointToPoint devices:

There are several ways, the simplest one is

  Config::SetDefault("ns3:: PointToPointNetDevice::Mtu", StringValue("65535"));

---
Alex

> On Feb 16, 2017, at 10:43 AM, 呂建德 <v0918732669 at gmail.com> wrote:
> 
> I have already modified it.
> 
> But it pop up this message.
> 
> assert failed. cond="packet->GetSize() <= m_netDevice->GetMtu()", msg="Packet size 142480 exceeds device MTU 1500", file=../src/ndnSIM/model/ndn-net-device-link-service.cpp, line=139
> terminate called without an active exception
> 
> So , is it have the way to modify MTU size?
> 
> 2017-02-17 2:07 GMT+08:00 Susmit <susmit at cs.colostate.edu>:
> You need to modify MAX_NDN_PACKET_SIZE in
> ns-3/src/ndnSIM/ndn-cxx/src/encoding/tlv.hpp
> 
> On Thu, Feb 16, 2017 at 11:04 AM, 呂建德 <v0918732669 at gmail.com> wrote:
> > Dear all ndn users
> >
> >
> > I changed my max packet length ,  but it's something bad happened.
> >
> > The MCU size is to short.
> >
> > Where is the MCU attributed variable that I can set?
> >
> > Thanks
> >
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> >
> 
> 
> 
> --
> 
> Regards,
> Susmit
> 
> ====================================
> http://www.cs.colostate.edu/~susmit
> ====================================
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim




More information about the ndnSIM mailing list