Konfigurasi DHCP Server di Multilayer Switch Cisco
Topologi Jaringan.
Konfigurasi VLAN & IP Address.
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name RUANG-GURU
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name RUANG-KEPSEK
Switch(config-vlan)#exit
Switch(config)#
Switch(config)#interface range f0/1,f0/2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#exit
Switch(config)#interface range f0/3,f0/4
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#interface vlan 10
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to up
Switch(config-if)#ip address 10.10.10.1 255.255.255.0
Switch(config-if)#interface vlan 20
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to up
Switch(config-if)#ip address 20.20.20.1 255.255.255.0
Switch(config-if)#exit
Switch(config)#
Konfigurasi DHCP Server.
Switch(config)#ip dhcp pool VLAN10
Switch(dhcp-config)#network 10.10.10.0 255.255.255.0
Switch(dhcp-config)#default-router 10.10.10.1
Switch(dhcp-config)#dns-server 8.8.8.8
Switch(dhcp-config)#exit
Switch(config)#ip dhcp pool VLAN20
Switch(dhcp-config)#network 20.20.20.0 255.255.255.0
Switch(dhcp-config)#default-router 20.20.20.1
Switch(dhcp-config)#dns-server 8.8.8.8
Switch(dhcp-config)#exit
Switch(config)#
Switch(config)#ip dhcp excluded-address 20.20.20.2 20.20.20.20
Post a Comment for "Konfigurasi DHCP Server di Multilayer Switch Cisco"
Post a Comment