Topologi 2 Router
Topologi 2 Router
Soal.
Di sebuah perusahaan terdapat 2 ruangan,
yaitu ruang A dengan 6 PC dan ruang B dengan 4 PC. Bagaimaa bentuk
topologinya?...
(ruang A 10.10.10.10.20 dan ruang B
10.1.1.20)
Ruangan
A
10.10.10.20/28
(16-32)
Network
: 10.10.10.16
IP
Awal : 10.10.10.17
IP
Akhir : 10.10.10.30
Broadcast
: 10.10.10.31
Gateway
: 10.10.10.20
Subnet
Mask : 255.255.255.240
Ruangan
B
10.1.1.20/28
Network
: 10.1.1.16
IP
Awal : 10.1.1.17
IP
Akhir : 10.1.1.30
Broadcast
: 10.1.1.31
Gateway
: 10.1.1.20
Subnet
Mask : 255.255.255.240
Tolls
(Bahan)
1) 10 PC/Laptop (disini saya menggunakan
PC)
2) 2 Switch (2950-24)
3) 2 Router (1841)
4) Kabel straight atau cross
Setting 1 Router
Continue with 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 fa0/0
Router(config-if)#ip add 10.10.10.20
255.255.255.240
Router(config-if)#no shut
Router(config-if)#
%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 fa0/1
Router(config-if)#ip add 10.1.1.20
255.255.255.240
Router(config-if)#no shut
Router(config-if)#
%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-if)#exit
Router(config)#
Masuk
ke IP Configuration
Isikan IP ke semua PC, satu persatu.
Berdasarkan kelompoknya
Ruang A (10.10.10.20)
PC 1
IP Address : 10.10.10.17
Subnet Mask : 255.255.255.240
Default Gateway : 10.10.10.20
PC 2
IP Address : 10.10.10.18
Subnet Mask : 255.255.255.240
Default Gateway : 10.10.10.20
PC 3
IP Address : 10.10.10.19
Subnet Mask : 255.255.255.240
Default Gateway : 10.10.10.20
PC 4
IP Address : 10.10.10.21
Subnet Mask : 255.255.255.240
Default Gateway : 10.10.10.20
PC 5
IP Address : 10.10.10.22
Subnet Mask : 255.255.255.240
Default Gateway : 10.10.10.20
PC 6
IP Address : 10.10.10.23
Subnet Mask : 255.255.255.240
Default Gateway : 10.10.10.20
Ruang B (10.1.1.20)
PC 1
IP Address : 10.1.1.17
Subnet Mask : 255.255.255.240
Default Gateway : 10.1.1.20
PC 2
IP Address : 10.1.1.18
Subnet Mask : 255.255.255.240
Default Gateway : 10.1.1.20
PC 3
IP Address : 10.1.1.19
Subnet Mask : 255.255.255.240
Default Gateway : 10.1.1.20
Selanjutnya,
Setting
2 Router
Router
1
Press RETURN to get started!
Router>en
Router#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#int fa 0/1
Router(config-if)#ip add
Router(config-if)#ip address 192.168.10.6
255.255.255.252
Router(config-if)#no shut
Router(config-if)#
%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-if)#exit
Router(config)#int fa 0/0
Router(config-if)#ip add
Router(config-if)#ip address
10.1.1.20 255.255.255.240
Router(config-if)#no shut
Router(config-if)#
%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)#ip route 10.10.10.16
255.255.255.240 192.168.10.5
Router(config)#do sh run
Building configuration...
Current configuration : 644 bytes
!
version 12.4
no service timestamps log datetime
msec
no service timestamps debug datetime
msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
Router(config)#
Router 2 (Melanjutkan settingan pertama)
Continue with configuration dialog?
[yes/no]: n
Press RETURN to get started!
%LINEPROTO-5-UPDOWN: Line protocol
on Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface FastEthernet0/1, changed state to up
Router>en
Router#conf t
Router(config)#ip route 10.1.1.16
255.255.255.240 192.168.10.6
Router(config)#do sh run
Building configuration...
Current configuration : 629 bytes
!
version 12.4
no service timestamps log datetime
msec
no service timestamps debug datetime
msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
Router(config)#
(Setting
juga router satunya seperti itu, dengan IP sebaliknya)
Semoga Membantu J
0 comments: