Hi All
I have a question about MTU of jail vimage by netgraph.
Please reference illustration of running system as follows.
Running routing mode with gateway_enable="YES" @ /etc/rc.conf.
Connect Jail of ssh from netif msk0(internet) via ssh.
Log in is OK, but disconnect unexpected when high data traffic (example: list directory/file @
All work fine when all of MTU=1492
Result of
And
Both have options JUMBO_MTU, it added automatically either MTU 1492 or 9000.
Jumbo frame support I suppose.
My question:
Addition information about MTU of bridge
In https://freebsdfoundation.org/wp-content/uploads/2020/03/Jail-vnet-by-Examples.pdf
"MTU increased to 9000, allowing large numbers of neighbors..." written
And example code also as follow
The case is if_bridge(), I does not find this kind of example for ng_bridge() with my case.
Sorry many question.
Thanks a lot.
I have a question about MTU of jail vimage by netgraph.
Please reference illustration of running system as follows.
Running routing mode with gateway_enable="YES" @ /etc/rc.conf.
Connect Jail of ssh from netif msk0(internet) via ssh.
Log in is OK, but disconnect unexpected when high data traffic (example: list directory/file @
ls
).All work fine when all of MTU=1492
Result of
ifconfig ng0
Code:
ng_vimage0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1492
options=28<VLAN_MTU,JUMBO_MTU>
ifconfig ng0_sshd
Code:
ng0_sshd: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1492
options=28<VLAN_MTU,JUMBO_MTU>
Jumbo frame support I suppose.
My question:
- Is netgraph does not support jumbo frame?
- If above true, problem caused by packet fragmentation/de-fragmentation,
Is configure require or other? - Because host <-> jail @ IPv6 only and IPv6 routers do not fragment IPv6 packets,
Can not use jumbo frame with IPv6 meant? - Missing some else?
Addition information about MTU of bridge
In https://freebsdfoundation.org/wp-content/uploads/2020/03/Jail-vnet-by-Examples.pdf
"MTU increased to 9000, allowing large numbers of neighbors..." written
And example code also as follow
ifconfig bridge create name vnetdemobridge mtu 9000 up
The case is if_bridge(), I does not find this kind of example for ng_bridge() with my case.
Sorry many question.
Thanks a lot.