Mengkonfigurasikan Switch Sebagai DHCP
Halo sahabat. Berjumpa lagi dengan Blog Cisco Banten. Kali ini Blog Cisco Banten akan membahas kali ini tentang Mengkonfigurasikan Switch Sebagai DHCP. Langsung aja cara-cara Mengkonfigurasikan Switch Sebagai DHCP.
1.Buatlah topologi seperti gambar dibawah ini
2.Setting Switch0 lewat CLI seperti di bawah ini.
Switch>enable
1.Buatlah topologi seperti gambar dibawah ini
2.Setting Switch0 lewat CLI seperti di bawah ini.
Switch>enable
Switch#conf
Switch(config)#vlan 10
Switch(config-vlan)#ex
Switch(config)#vlan 20
Switch(config-vlan)#ex
Switch(config)#int fa
Switch(config)#int fastEthernet 0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#ex
Switch(config)#int fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#ex
Switch(config)#int fastEthernet 0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#ex
Switch(config)#int fastEthernet 0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#ex
Switch(config)#ip dhcp pool vlan10
Switch(dhcp-config)#network 11.11.11.0 255.0.0.0
Switch(dhcp-config)#dns-server 8.8.8.8
Switch(dhcp-config)#default-router 11.11.11.254
Switch(dhcp-config)#ex
Switch(config)#ip dhcp pool vlan20
Switch(dhcp-config)#network 22.22.22.0 255.0.0.0
Switch(dhcp-config)#dns-server 8.8.8.8
Switch(dhcp-config)#default-router 22.22.22.254
Switch(dhcp-config)#ex
Switch(config)#int vlan 10
Switch(config-if)#ip address 11.11.11.254 255.0.0.0
Switch(config-if)#no sh
Switch(config-if)#ex
Switch(config)#int vlan 20
Switch(config-if)#ip address 22.22.22.254 255.0.0.0
Switch(config-if)#no sh
Switch(config)#
3.Sekarang kita cek settinggan DHCP pada Switch0 dengan mengetik sh ip dhcp pool
Switch#sh ip dhcp pool
Pool vlan10 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 16777214
Leased addresses : 2
Excluded addresses : 0
Pending event : none
1 subnet is currently in the pool
Current index IP address range Leased/Excluded/Total
11.0.0.1 11.0.0.1 - 11.255.255.254 2 / 0 / 16777214
Pool vlan20 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 16777214
Leased addresses : 2
Excluded addresses : 0
Pending event : none
1 subnet is currently in the pool
Current index IP address range Leased/Excluded/Total
22.0.0.1 22.0.0.1 - 22.255.255.254 2 / 0 / 16777214
Switch#
Itulah pembahasannya kali ini tentang Mengkonfigurasikan Switch Sebagai DHCP. Semoga bermanfaat dan sampai jumpa lagi di pembahasan berikutnya.
Komentar
Posting Komentar