Re: [FRnOG] [TECH] MTU sur switch Huawei CE

2023-12-17 Par sujet Jean-Daniel Pauget via frnog
hello,
on n'est plus vendredi, mais pour moi c'est plutot :

ethernet 14 + IP 20 + ICMP 8 + ping payload 9170 + FCS 4
= L2 frame 9216

(FCS = frame check sequence, un checksum quoi ...)

-- 
Jean-Daniel Pauget

--
On Sun, Dec 17, 2023 at 08:45:33AM +0100, Thomas Trupel via frnog wrote:
> Ou bien :
> payload icmp + header icmp + header ip + header ethernet avec tag VLAN 
> (ajouté en interne uniquement)
> 9170 + 8 + 20 + 14 + 4 = 9216
> 
> Thomas
> 
> 15 déc. 2023 17:32:30 Paul Rolland (ポール・ロラン) :
> 
> > Hello,
> > 
> > On Fri, 15 Dec 2023 17:20:57 +0100
> > Laurent-Charles FABRE  wrote:
> > 
> >> Switch 1 :
> >> Route Port,The Maximum Transmit Unit is 9600,The Maximum Frame Length is
> >> 9216
> > 
> >> Le plus gros paquet que je passe:
> >> ping -f -s 9170 10.0.61.75
> >>   PING 10.0.61.75: 9170  data bytes, press CTRL_C to break
> >>     Reply from 10.0.61.75: bytes=9170 Sequence=1 ttl=254 time=1 ms
> >> 
> >> Y'a un truc qui m'échappe
> >> Qui saurait me dire pourquoi 9170 ?
> > 
> > Maximum frame, c'est cote Ethernet ca, non ?
> > Donc, tu as:
> > 9170 octets de data ICMP + 8 octets de header ICMP + 20 octets de header IP
> > soit 9198 octets... pour arriver a 9216, il te faut encore 18 octets :
> > - 6 de dest mac,
> > - 6 de src mac,
> > - 2 d'ether type
> > - 4 de fcs
> > 
> > Ca doit ca a peu pres...
> > 
> > Mais comme tu as ecrit, c'est le bon jour pour passer pour une buse ;)
> > 
> > Paul
> > 
> > -- 
> > Paul Rolland    E-Mail : rol(at)witbe.net
> > CTO - Witbe.net SA  Tel. +33 (0)1 47 67 77 77
> > 18 Rue d'Arras, Bat. A11    Fax. +33 (0)1 47 67 77 99
> > F-92000 Nanterre    RIPE : PR12-RIPE
> > 
> > Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un
> > navigateur "Some people dream of success... while others wake up and work
> > hard at it"
> > 
> > "I worry about my child and the Internet all the time, even though she's
> > too young to have logged on yet. Here's what I worry about. I worry that 10
> > or 15 years from now, she will come to me and say 'Daddy, where were you
> > when they took freedom of the press away from the Internet?'"
> > --Mike Godwin, Electronic Frontier Foundation
> > 
> > 
> > ---
> > Liste de diffusion du FRnOG
> > http://www.frnog.org/
> 
> 
> ---
> Liste de diffusion du FRnOG
> http://www.frnog.org/


---
Liste de diffusion du FRnOG
http://www.frnog.org/


Re: [FRnOG] [TECH] MTU sur switch Huawei CE

2023-12-16 Par sujet Thomas Trupel via frnog
Ou bien :
payload icmp + header icmp + header ip + header ethernet avec tag VLAN (ajouté 
en interne uniquement)
9170 + 8 + 20 + 14 + 4 = 9216

Thomas

15 déc. 2023 17:32:30 Paul Rolland (ポール・ロラン) :

> Hello,
> 
> On Fri, 15 Dec 2023 17:20:57 +0100
> Laurent-Charles FABRE  wrote:
> 
>> Switch 1 :
>> Route Port,The Maximum Transmit Unit is 9600,The Maximum Frame Length is
>> 9216
> 
>> Le plus gros paquet que je passe:
>> ping -f -s 9170 10.0.61.75
>>   PING 10.0.61.75: 9170  data bytes, press CTRL_C to break
>>     Reply from 10.0.61.75: bytes=9170 Sequence=1 ttl=254 time=1 ms
>> 
>> Y'a un truc qui m'échappe
>> Qui saurait me dire pourquoi 9170 ?
> 
> Maximum frame, c'est cote Ethernet ca, non ?
> Donc, tu as:
> 9170 octets de data ICMP + 8 octets de header ICMP + 20 octets de header IP
> soit 9198 octets... pour arriver a 9216, il te faut encore 18 octets :
> - 6 de dest mac,
> - 6 de src mac,
> - 2 d'ether type
> - 4 de fcs
> 
> Ca doit ca a peu pres...
> 
> Mais comme tu as ecrit, c'est le bon jour pour passer pour une buse ;)
> 
> Paul
> 
> -- 
> Paul Rolland    E-Mail : rol(at)witbe.net
> CTO - Witbe.net SA  Tel. +33 (0)1 47 67 77 77
> 18 Rue d'Arras, Bat. A11    Fax. +33 (0)1 47 67 77 99
> F-92000 Nanterre    RIPE : PR12-RIPE
> 
> Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un
> navigateur "Some people dream of success... while others wake up and work
> hard at it"
> 
> "I worry about my child and the Internet all the time, even though she's
> too young to have logged on yet. Here's what I worry about. I worry that 10
> or 15 years from now, she will come to me and say 'Daddy, where were you
> when they took freedom of the press away from the Internet?'"
> --Mike Godwin, Electronic Frontier Foundation
> 
> 
> ---
> Liste de diffusion du FRnOG
> http://www.frnog.org/


---
Liste de diffusion du FRnOG
http://www.frnog.org/


Re: [FRnOG] [TECH] MTU sur switch Huawei CE

2023-12-15 Par sujet David Ponzone
Et j’ajoute: pour rendre les choses encore plus chiantes, certaine 
implémentations de ping prennent en argument la taille du payload sans les 
headers ICMP, et d’autres la taille du payload avec les headers ICMP.

> Le 15 déc. 2023 à 17:31, Paul Rolland (ポール・ロラン)  a écrit 
> :
> 
> Hello,
> 
> On Fri, 15 Dec 2023 17:20:57 +0100
> Laurent-Charles FABRE  wrote:
> 
>> Switch 1 :
>> Route Port,The Maximum Transmit Unit is 9600,The Maximum Frame Length is
>> 9216
> 
>> Le plus gros paquet que je passe:
>> ping -f -s 9170 10.0.61.75
>>  PING 10.0.61.75: 9170  data bytes, press CTRL_C to break
>>Reply from 10.0.61.75: bytes=9170 Sequence=1 ttl=254 time=1 ms
>> 
>> Y'a un truc qui m'échappe
>> Qui saurait me dire pourquoi 9170 ?
> 
> Maximum frame, c'est cote Ethernet ca, non ?
> Donc, tu as:
> 9170 octets de data ICMP + 8 octets de header ICMP + 20 octets de header IP
> soit 9198 octets... pour arriver a 9216, il te faut encore 18 octets :
> - 6 de dest mac,
> - 6 de src mac,
> - 2 d'ether type
> - 4 de fcs
> 
> Ca doit ca a peu pres... 
> 
> Mais comme tu as ecrit, c'est le bon jour pour passer pour une buse ;)
> 
> Paul
> 
> -- 
> Paul RollandE-Mail : rol(at)witbe.net
> CTO - Witbe.net SA  Tel. +33 (0)1 47 67 77 77
> 18 Rue d'Arras, Bat. A11Fax. +33 (0)1 47 67 77 99
> F-92000 NanterreRIPE : PR12-RIPE
> 
> Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un
> navigateur "Some people dream of success... while others wake up and work
> hard at it" 
> 
> "I worry about my child and the Internet all the time, even though she's
> too young to have logged on yet. Here's what I worry about. I worry that 10
> or 15 years from now, she will come to me and say 'Daddy, where were you
> when they took freedom of the press away from the Internet?'"
> --Mike Godwin, Electronic Frontier Foundation 
> 
> 
> ---
> Liste de diffusion du FRnOG
> http://www.frnog.org/


---
Liste de diffusion du FRnOG
http://www.frnog.org/


Re: [FRnOG] [TECH] MTU sur switch Huawei CE

2023-12-15 Par sujet David Ponzone


> Le 15 déc. 2023 à 17:20, Laurent-Charles FABRE  a écrit :
> 
> Bonjour,
> 
> vendredi étant un bon jour pour passer pour une buse, j'ai une question
> pour vous :-)


Je suis pas sûr d’apprécier ton allusion :)


---
Liste de diffusion du FRnOG
http://www.frnog.org/


Re: [FRnOG] [TECH] MTU sur switch Huawei CE

2023-12-15 Par sujet Paul Rolland (ポール・ロラン)
Hello,

On Fri, 15 Dec 2023 17:20:57 +0100
Laurent-Charles FABRE  wrote:

> Switch 1 :
> Route Port,The Maximum Transmit Unit is 9600,The Maximum Frame Length is
> 9216

> Le plus gros paquet que je passe:
> ping -f -s 9170 10.0.61.75
>   PING 10.0.61.75: 9170  data bytes, press CTRL_C to break
> Reply from 10.0.61.75: bytes=9170 Sequence=1 ttl=254 time=1 ms
> 
> Y'a un truc qui m'échappe
> Qui saurait me dire pourquoi 9170 ?

Maximum frame, c'est cote Ethernet ca, non ?
Donc, tu as:
9170 octets de data ICMP + 8 octets de header ICMP + 20 octets de header IP
soit 9198 octets... pour arriver a 9216, il te faut encore 18 octets :
 - 6 de dest mac,
 - 6 de src mac,
 - 2 d'ether type
 - 4 de fcs

Ca doit ca a peu pres... 

Mais comme tu as ecrit, c'est le bon jour pour passer pour une buse ;)

Paul

-- 
Paul RollandE-Mail : rol(at)witbe.net
CTO - Witbe.net SA  Tel. +33 (0)1 47 67 77 77
18 Rue d'Arras, Bat. A11Fax. +33 (0)1 47 67 77 99
F-92000 NanterreRIPE : PR12-RIPE

Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un
navigateur "Some people dream of success... while others wake up and work
hard at it" 

"I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry that 10
or 15 years from now, she will come to me and say 'Daddy, where were you
when they took freedom of the press away from the Internet?'"
--Mike Godwin, Electronic Frontier Foundation 


---
Liste de diffusion du FRnOG
http://www.frnog.org/


[FRnOG] [TECH] MTU sur switch Huawei CE

2023-12-15 Par sujet Laurent-Charles FABRE
Bonjour,

vendredi étant un bon jour pour passer pour une buse, j'ai une question
pour vous :-)

Switch 1 :
Route Port,The Maximum Transmit Unit is 9600,The Maximum Frame Length is
9216
IP Sending Frames' Format is PKTFMT_ETHNT_2,...
Internet Address is 10.0.61.75/31
Switch 2
Route Port,The Maximum Transmit Unit is 9600,The Maximum Frame Length is
9216
IP Sending Frames' Format is PKTFMT_ETHNT_2,...
Internet Address is 10.0.61.74/31

Les 2 ports sont reliés en direct, pas de vlan, vxlan vpn...  rien de rien
Le plus gros paquet que je passe:
ping -f -s 9170 10.0.61.75
  PING 10.0.61.75: 9170  data bytes, press CTRL_C to break
Reply from 10.0.61.75: bytes=9170 Sequence=1 ttl=254 time=1 ms

Y'a un truc qui m'échappe
Qui saurait me dire pourquoi 9170 ?
Merci de vos lumières !

Laurent FABRE

---
Liste de diffusion du FRnOG
http://www.frnog.org/