1. buat topologinya seperti berikut
2. kasih ip terlebih dahulu komputernya
- pc1= address-10.10.10.10 /24 gateway 10.10.10.1
- pc2= address-20.20.20.20 /24 gateway 20.20.20.1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int g0/1
Router(config-if)#ip add 10.10.10.1 255.255.255.0
Router(config-if)#no shutdown
Router(config)#int g0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#no shutdown
4. setting ip address router 1 masuk ke tab cli
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int g0/1
Router(config-if)#ip add 20.20.20.1 255.255.255.0
Router(config-if)#no shutdown
Router(config)#int g0/0
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#no shutdown
5. kemudian seeting ip route
- masuk ke router 1
= Router(config)#ip route 20.20.20.0 255.255.255.0 192.168.1.2 - masuk ke router 2 = Router(config)#ip route 10.10.10.0 255.255.255.0 192.168.1.1
6. setelah semuanya disetting kemudian coba ping
EmoticonEmoticon