Konfigurasi interface
Router 1
--- System Configuration Dialog ---
Continue with configuration dialog?
[yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.16.3.1
255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface
FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 172.16.2.1
255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface
Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol
on Interface Serial2/0, changed state to up
Konfigurasi interface
Router 2
--- System Configuration Dialog ---
--- System Configuration Dialog ---
Continue with configuration dialog?
[yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.16.1.1
255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface
FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 172.16.2.2
255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no sh
%LINK-5-CHANGED: Interface
Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol
on Interface Serial2/0, changed state to up
Router(config)#int se3/0
Router(config-if)#ip add 192.168.1.2
255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no sh
%LINK-5-CHANGED: Interface
Serial3/0, changed state to down
Router(config-if)#
Router(config-if)#exit
Router(config)#
Konfigurasi Interface Router 3
--- System Configuration Dialog ---
Continue with configuration dialog?
[yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.2.1
255.255.255.0
Router(config-if)#no shut
%LINK-5-CHANGED: Interface
FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int se2/0
Router(config-if)#ip add 192.168.1.1
255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface
Serial2/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol
on Interface Serial2/0, changed state to up
Konfigurasi
Host 2
Konfigurasi
Host 3
Konfigurasi Static
Routing
Router 2
Router 2
Router>
Router>ena
Router#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#ip route 172.16.3.0
255.255.255.0 se2/0
Router(config)#ip route 192.168.2.0
255.255.255.0 se3/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from
console by console
Router#
Route summarization
router 1
router 1
Router>ena
Router#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#
Router(config)#ip route 192.168.0.0
255.255.252.0 se2/0
Router(config)#ip route 172.16.0.0
255.255.252.0 se2/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from
console by console
Router#
Router 3
Router>ena
Router#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#ip route 172.16.0.0
255.255.252.0 se2/0
Router(config)#exit
%SYS-5-CONFIG_I: Configured from
console by console
Router#
Cara
Menghitung route summarization
Routing table
Router 1
Router 1
Router 2
Router3
Hasil pengujian dengan
ping
PC 1 ke Pc 2 dan Pc 3
PC 1 ke Pc 2 dan Pc 3
PC
2 ke Pc 1 dan Pc 3
PC 3 ke Pc 1 dan Pc 2