martedì 4 novembre 2025

Configurazione del protocollo BGP su Cisco Packet Tracer


Ecco una configurazione di base di BGP su Cisco Packet Tracer tra due router.

Scenario:

  • Due router: R1 e R2

  • AS (Autonomous System) di R1: 65001

  • AS di R2: 65002

  • Interfacce collegate tra i router:

    • R1GigabitEthernet0/0192.168.12.1/30

    • R2GigabitEthernet0/0192.168.12.2/30


Configurazione di R1

enable configure terminal ! Configura l'interfaccia interface GigabitEthernet0/0 ip address 192.168.12.1 255.255.255.252 no shutdown exit ! Configura BGP router bgp 65001 neighbor 192.168.12.2 remote-as 65002 exit

Configurazione di R2

enable configure terminal ! Configura l'interfaccia interface GigabitEthernet0/0 ip address 192.168.12.2 255.255.255.252 no shutdown exit ! Configura BGP router bgp 65002 neighbor 192.168.12.1 remote-as 65001 exit

Verifica della Configurazione

Dopo aver configurato i router, usa questi comandi per verificare il funzionamento:

  1. Verificare lo stato della sessione BGP

    show ip bgp summary
    • Se tutto è corretto, lo stato della connessione con il vicino dovrebbe essere "Established".

  2. Verificare la tabella BGP

    show ip bgp
  3. Testare la connettività tra i router

    ping 192.168.12.2

Nessun commento:

Posta un commento

ACL (Access Control List). Cosa sono?

What is an IP Access Control List (ACL)? Access Control Lists (ACLs) are one of the most powerful tools in networking for traffic filtering...