Simulasi Routing BGP dengan Cisco Packet Tracer
Simulasi Routing BGP dengan Packet Tracer
Simulasi Routing BGP dengan Cisco Packet Tracer
Router(config)#hostname Router1
Router1(config)#interface FastEthernet 0/0
Router1(config-if)#ip address 192.168.0.1 255.255.255.0
Router1(config)#interface FastEthernet 0/1
Router1(config-if)#ip address 192.168.1.1 255.255.255.0
Router1(config)#ip dhcp pool LAN
Router1(dhcp-config)#network 192.168.1.0 255.255.255.0
Router1(dhcp-config)#default-router 192.168.1.1
Router1(config)#ip dhcp excluded-address 192.168.1.1
Router1(config)#interface FastEthernet 0/0
Router1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router1(config)#interface FastEthernet 0/1
Router1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config)#hostname Router2
Router2(config)#interface FastEthernet 0/0
Router2(config-if)#ip address 192.168.0.2 255.255.255.0
Router2(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router2(config)#interface FastEthernet 0/1
Router2(config-if)#ip address 192.168.2.1 255.255.255.0
Router2(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router2(config)#ip dhcp pool LAN
Router2(dhcp-config)#network 192.168.2.0 255.255.255.0
Router2(dhcp-config)#default-router 192.168.2.1
Router2(config)#ip dhcp excluded-address 192.168.2.1
Router(config)#hostname Router3
Router3(config)#interface FastEthernet 0/0
Router3(config-if)#ip address 192.168.0.3 255.255.255.0
Router3(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router3(config)#interface FastEthernet 0/1
Router3(config-if)#ip address 192.168.3.1 255.255.255.0
Router3(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router3(config)#ip dhcp pool LAN
Router3(dhcp-config)#network 192.168.3.0 255.255.255.0
Router3(dhcp-config)#default-router 192.168.3.1
Router3(config)#ip dhcp excluded-address 192.168.3.1
%SYS-5-CONFIG_I: Configured from console by console
Router1(config)#router bgp 65001
Router1(config-router)#network 192.168.0.0
Router1(config-router)#network 192.168.1.0
Router1(config-router)#neighbor 192.168.0.2 remote-as 65002
Router1(config-router)#neighbor 192.168.0.3 remote-as 65003
Router2(config)#router bgp 65002
Router2(config-router)#network 192.168.2.0
Router2(config-router)#neighbor 192.168.0.1 remote-as 65001
%BGP-5-ADJCHANGE: neighbor 192.168.0.1 Up
Router3(config)#router bgp 65003
Router3(config-router)#network 192.168.3.0
Router3(config-router)#neighbor 192.168.0.1 remote-as 65001
%BGP-5-ADJCHANGE: neighbor 192.168.0.1 Up
Router1(config-router)#ex
%SYS-5-CONFIG_I: Configured from console by console
Router1#show ip bgp neighbors
Router1#show ip route bgp
B 192.168.2.0/24 [20/0] via 192.168.0.2, 00:30:44
B 192.168.3.0/24 [20/0] via 192.168.0.3, 00:30:44
Router2(config-router)#ex
%SYS-5-CONFIG_I: Configured from console by console
Router2#show ip bgp neighbors
Router2#show ip route bgp
B 192.168.1.0/24 [20/0] via 192.168.0.1, 00:31:49
B 192.168.3.0/24 [20/0] via 192.168.0.1, 00:31:49
Router3(config-router)#ex
%SYS-5-CONFIG_I: Configured from console by console
Router3#show ip bgp neighbors
Router3#show ip route bgp
B 192.168.1.0/24 [20/0] via 192.168.0.1, 00:33:23
B 192.168.2.0/24 [20/0] via 192.168.0.1, 00:33:23
Test Ping PC1 ke PC0 dan PC2
Test Ping Simulasi Routing BGP
Download File Contoh Simulasi Routing BGP:
Simulasi Routing BGP dengan Cisco Packet Tracer was originally published on Kurusetra Computer