1.konfigurasi di router kiri
--- System Configuration Dialog ---Would you like to enter the initial configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi0/0/1
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#n sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/1, changed state to up
Router(config-if)#int gi0/0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#n sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to up
Router(config-if)#ex
Router(config)#ip dhcp pool ali
Router(dhcp-config)#network 192.168.2.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.2.1
ganti di client dengan ipdhcp
2.konfigurasi di router kanan
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gi0/0/1
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#n sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/1, changed state to up
Router(config-if)#int gi0/0/0
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#n sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0, changed state to up
Router(config-if)#ex
Router(config)#ip dhcp pool alu
Router(dhcp-config)#network 192.168.3.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.3.1
ganti di client dengan ipdhcp
3.konfigurasi routing
konfigurasikan di router kanan
Router(config)# ip route 192.168.3.0 255.255.255.0 192.168.1.2
konfigurasikan di router kiri
Router(config)# ip route 192.168.2.0 255.255.255.0 192.168.1.1
konfigurasi routing di cisco pacet recer
Reviewed by kang demen
on
November 18, 2019
Rating:
No comments: