Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Konfigurasi 2 Router RIP

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Konfigurasi 2 router RIP:

Untuk router1

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#exit
Router(config)#interface Serial0/0/0
Router(config-if)#ip address 10.10.10.1 255.0.0.0
Router(config-if)#ip address 10.10.10.1 255.0.0.0
Router(config-if)#no shutdown

outer(config)#router rip
Router(config-router)#network 192.168.20.0
Router(config-router)#network 10.10.10.1
Router(config-router)#network 192.168.10.0
Router(config-router)#network 10.10.10.2

Untuk Router 2:

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#exit
Router(config)#interface Serial0/0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface Serial0/0/1
Router(config-if)#ip address 10.10.10.2 255.0.0.0
Router(config-if)#ip address 10.10.10.2 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#router rip
Router(config-router)#network 192.168.10.0
Router(config-router)#network 10.0.0.0
Router(config-router)#network 192.168.20.0
Router(config-router)#network 10.10.10.2

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface GigabitEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
ip address 10.10.10.2 255.0.0.0
Router(config-if)#ip address 10.10.10.2 255.255.0.0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface GigabitEthernet0/2
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state


to up
ip address 192.168.20.1 255.255.255.0
Router(config-if)#ip address 192.168.20.1 255.255.0.0
Router(config-if)#ip dhcp pool dhcp1
Router(dhcp-config)#default-router 192.168.20.1
Router(dhcp-config)#network 192.168.20.0 255.255.0.0
Router(dhcp-config)#ip excluded-address 192.168.20.1

You might also like