[Nfd-dev] Changing the MTU size

Davide Pesavento davidepesa at gmail.com
Thu Nov 7 07:22:01 PST 2019


On Thu, Nov 7, 2019 at 10:15 AM Aboodi Ahed Hussein Ali
<aboodi at student.usm.my> wrote:
>
> Thank you for your response, that clarifies a lot of things. Then, is it possible to set the mtu using nfd.conf before the start-up?

No, that's not possible as far as I know. It could be something worth
implementing though. I suggested a potential (very hackish) solution
in my other email. Let me know if it works for you.

> What about the MAX_NDN_PACKET_SIZE in the tlv.hpp?

This is a different thing. It represents the maximum network-level
packet length. I strongly recommend against changing it, as it is a
global maximum, not per-link, and setting it to a value as low as 127
is very likely to break a number of things.

Davide

>
> Ahed
> ________________________________
> From: Davide Pesavento <davidepesa at gmail.com>
> Sent: Thursday, November 7, 2019 11:04 PM
> To: Aboodi Ahed Hussein Ali <aboodi at student.usm.my>
> Cc: nfd-dev at lists.cs.ucla.edu <nfd-dev at lists.cs.ucla.edu>
> Subject: Re: [Nfd-dev] Changing the MTU size
>
> Hi Ahed,
>
> On Wed, Nov 6, 2019 at 4:05 AM Aboodi Ahed Hussein Ali
> <aboodi at student.usm.my> wrote:
> >
> > Hi,
> >
> > I am trying to change the MTU size for the ethernet multicast face (remote=ether://[01:00:5e:00:17:aa]) to 127 but  I am not sure how to do that.
> >
> > I have tried to change the MTU of the multicast face with the below command, but I got "Error 406 when creating face: Cannot create multicast Ethernet faces"
> > The command: nfdc face create remote ether://[01:00:5e:00:17:aa] local dev://ens33 mtu 127
>
> This command won't work for two reasons: (1) creating multicast faces
> via nfdc is not supported, all multicast faces are created by NFD at
> startup according to whitelist and blacklist settings in nfd.conf; (2)
> manually setting the MTU via nfdc is supported only for unicast faces.


More information about the Nfd-dev mailing list