home       basis       routing       switching       advanced       security       overig       testen       english      

switch rules

 
REGEL 1: Zit het SOURCE MAC-address al in de MAC-table?
Indien niet, voeg toe.
RULE 1: IS the SOURCE MAC-address in the MAC-table?
if not, add
 
REGEL 2: is het DESTINATION-address een broadcast? (FF:FF:FF:FF:FF:FF)
Indien JA: FORWARD het PACKET OVERAL behalve waar het vandaan komt, en waar geen HOST is aangesloten
RULE 2: is the destination a broadcast? (FF:FF:FF:FF:FF:FF)
if yes, forward the packet everywhere except where it came from or to ports where no host is attached
 
REGEL 3: is het DESTINATION-address UNKNOWN (nog niet in de MAC-TABLE)
Indien JA: FLOODING = FORWARD het PACKET OVERAL behalve waar het vandaan komt, en waar geen HOST is aangesloten
RULE 3: is the destination address unknown (not yet in the mac-table)
If yes: FLOODING = FORWARD the PACKET everywhere except where it came from or to ports where no host is attached
 
REGEL 4:  
is het DESTINATION-address bekend (KNOWN) (in de MAC-TABLE)
EN
zitten source en destination elk op een andere poort?
Indien twee keer JA: FORWARD het PACKET alleen naar de DESTINATION
RULE 4: is the destination address known in the MAC-table AND are source and destination at a different port -> if 2 times yes, FORWARD the PACKET only to the destination.
 
REGEL 5:
is het DESTINATION-address bekend (KNOWN) (in de MAC-TABLE)
EN
zitten source en destination allebei op dezelfde poort?
Indien twee keer JA: DROP het PACKET (de switch doet niets)
RULE 5: is the destination address known in the MAC-table AND are source and destination connected to the same switch port?
if twice YES, DROP the PACKET (switch doesnt do anything)
 
AGE OUT:

  • na 300 seconden “radio-stilte” verwijdert de switch MAC adressen uit de MAC-TABLE //
  • after 300 seconds of not having seen a given MAC, the switch will remove that/those MAC-addresses from the MAC-table