Outils pour utilisateurs

Outils du site


memo_reseau

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
memo_reseau [2026/02/02 17:04] – [WHITEBOX] huracanmemo_reseau [2026/02/04 08:08] (Version actuelle) – [WHITEBOX] huracan
Ligne 34: Ligne 34:
      
   box_VM#tcpdump -vv -i enX0 net X.X.X.X/24 and host X.X.X.X and not icmp -w smtp.pcap   box_VM#tcpdump -vv -i enX0 net X.X.X.X/24 and host X.X.X.X and not icmp -w smtp.pcap
 +  
 +  box_VM#tcpdump -i VLAN20 net 10.21.15.0/24
 +  
 +  box_VM#tcpdump -i tun104 net 10.21.15.0/24
      
   box_VM#vtysh -c "sh run" => execution cmd comme si dans WB   box_VM#vtysh -c "sh run" => execution cmd comme si dans WB
Ligne 50: Ligne 54:
      
   #iptables-legacy -t mangle -L -v -n   #iptables-legacy -t mangle -L -v -n
-  Si on voit +   
-  htb +  exemple de sortie
-  fq_codel +  Chain PREROUTING (policy ACCEPT 54G packets, 53T bytes) 
-  prio +  pkts bytes target     prot opt in     out     source               destination          
-  ingress +  463M   22G TCPMSS        --  enX0         0.0.0.0/           0.0.0.0/           tcp flags:0x06/0x02 TCPMSS set 1300 
-  ➡️ la QoS est bien active+   
 +  Chain INPUT (policy ACCEPT 13G packets, 16T bytes) 
 +  pkts bytes target     prot opt in     out     source               destination          
 +   
 +  Chain FORWARD (policy ACCEPT 20G packets, 19T bytes) 
 +  pkts bytes target     prot opt in     out     source               destination          
 +  86M   20G MARK          --  *      *       10.1.1.0/24      0.0.0.0/           MARK set 0x1 
 +  86M   20G DSCP          --  *      *       10.1.1.0/24      0.0.0.0/           DSCP set 0x2e 
 +  Chain OUTPUT (policy ACCEPT 8317M packets, 3284G bytes) 
 +  pkts bytes target     prot opt in     out     source               destination          
 +  544K  272M MARK          --  *      *       0.0.0.0/           0.0.0.0/           tcp spt:22 MARK set 0xa 
 +  544K  272M DSCP          --  *      *       0.0.0.0/           0.0.0.0/           tcp spt:22 DSCP set 0x10 
 +  8317M 3284G MARK          --  *      *       0.0.0.0/           0.0.0.0/           MARK set 0x32 
 +   
 +  Chain POSTROUTING (policy ACCEPT 29G packets, 22T bytes) 
 +  pkts bytes target     prot opt in     out     source               destination          
 +  455M   21G TCPMSS        --  *      enX0    0.0.0.0/           0.0.0.0/           tcp flags:0x06/0x02 TCPMSS set 1300
      
   #update-alternatives --display iptables   #update-alternatives --display iptables
 +  
   #tc qdisc show dev enX0   #tc qdisc show dev enX0
   #tc class show dev enX0   #tc class show dev enX0
   #tc filter show dev enX0   #tc filter show dev enX0
 +  
 +  Si on voit :
 +  htb
 +  fq_codel
 +  prio
 +  ingress
 +  => la QoS est bien active
      
   #grep -R "DSCP\|MARK" /etc   #grep -R "DSCP\|MARK" /etc
memo_reseau.1770048265.txt.gz · Dernière modification : 2026/02/02 17:04 de huracan

DokuWiki Appliance - Powered by TurnKey Linux