Re: teach pf to refragment ipv4 packets

2021-09-13 Thread Alexander Bluhm
On Wed, Sep 01, 2021 at 08:08:48AM +1000, David Gwynne wrote: > I guess the overall question is if an IPv4 packet size is a hop by hop > thing, or whether the endpoints should have final say about what they're > prepared to deal with. You are moving the layer 2 MTU size configuration to the

Re: teach pf to refragment ipv4 packets

2021-08-31 Thread David Gwynne
On Tue, Aug 31, 2021 at 09:34:19PM +0200, Alexander Bluhm wrote: > Hi, > > This looks like a hack for a problem that should not exist. I should unconditionally refragment reassembled packets? > What is the MTU of the outgoing interface on your pf router? If > the layer 2 switches do not

Re: teach pf to refragment ipv4 packets

2021-08-31 Thread Alexander Bluhm
Hi, This looks like a hack for a problem that should not exist. What is the MTU of the outgoing interface on your pf router? If the layer 2 switches do not support 9k jumbo frames, it must be 1500. Why are the outgoing packets not fragmented to the MTU? Is the dont-fragment flag set? Does pf

teach pf to refragment ipv4 packets

2021-08-31 Thread David Gwynne
i am in an annoying situation where i peer with a campus network on an ospf link with a 9k mtu, but some corners of that network have layer 2 hops that don't support 9k packets. i sometimes want to tunnel large (1500 byte) packets to hosts in those corners of the network by letting the