Prashant,

> On 9 Nov 2018, at 01:39, Prashant Upadhyaya <praupadhy...@gmail.com> wrote:
> 
> Hi Ole,
> 
> Thanks for the information.
> 
> Suppose my IP datagram gets fragmented into fragments F.1 and F.2, do
> these again get submitted to ip4-input ?
> I am trying to figure out the path in the graph from the time I submit
> my v4 IP datagram to ip4-lookup.
> What is crucial for me to know is if the fragments do land up at
> ip4-input or not.

They don’t. If I recall correctly fragmentation is done in ip4-rewrite, and 
that’s were fragments end up after a trip by ip4-frag. 

Packet trace is your friend here. 

(trace add <input graph node> <no-packets>
Send large packet 
show trace)

Cheers 
Ole


> 
> Regards
> -Prashant
> 
> 
>> On Thu, Nov 8, 2018 at 10:11 PM Ole Troan <otr...@employees.org> wrote:
>> 
>> 
>> 
>>> On 8 Nov 2018, at 23:26, Prashant Upadhyaya <praupadhy...@gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> If I hand-construct an IP datagram (bigger than mtu) using chained
>>> vlib buffers and send this chain to ip4-lookup, would that be
>>> fragmented and sent out as per the mtu requirements of the interface
>>> from which the packet is determined to be sent out ? (assume that the
>>> rx and tx sw_if_index is properly set)
>>> 
>>> If not, which node do I send this datagram to, to achieve effectively
>>> the above ?
>> 
>> Yes, if IPv4 and DF==0.
>> And you better remember that IP fragments are almost never a good idea.
>> 
>> Cheers
>> Ole
>> 
>> 
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Links: You receive all messages sent to this group.
>>> 
>>> View/Reply Online (#11172): https://lists.fd.io/g/vpp-dev/message/11172
>>> Mute This Topic: https://lists.fd.io/mt/28037801/675193
>>> Group Owner: vpp-dev+ow...@lists.fd.io
>>> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [otr...@employees.org]
>>> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11180): https://lists.fd.io/g/vpp-dev/message/11180
Mute This Topic: https://lists.fd.io/mt/28037801/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to