DHCP Switch 3 Layer
DHCP
Switch 3 Layer
Konfigurasi Nama Vlan:
Konfigurasi Nama Vlan:
Switch>enable
Switch#configure terminal
Enter configuration commands, one per
line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name guru
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name siswa
Switch(config-vlan)#ex
Konfigurasi Memberikan
Ip Address pada VLAN 10 dan 20
Switch(config)#interface fastEthernet
0/1
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 10
Switch(config-if)#ex
Switch(config)#interface fastEthernet
0/2
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 10
Switch(config-if)#ex
Switch(config)#interface fastEthernet
0/3
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 10
Switch(config-if)#exit
Switch(config)#interface fastEthernet
0/4
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 10
Switch(config-if)#ex
Switch(config)#interface fastEthernet
0/5
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 10
Switch(config-if)#exit
Switch(config)#interface fastEthernet
0/6
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 20
Switch(config-if)#exit
Switch(config)#interface fastEthernet
0/7
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 20
Switch(config-if)#exit
Switch(config)#interface fastEthernet
0/8
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 20
Switch(config-if)#exit
Switch(config)#interface fastEthernet
0/9
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 20
Switch(config-if)#exit
Switch(config)#interface fastEthernet
0/10
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 20
Switch(config-if)#exit
Switch(config)#do wr
Konfigurasi Ip Address
Vlan
Switch(config)#int vlan 10
Switch(config-if)#ip address
10.10.10.1 255.255.255.0
Switch(config-if)#ex
Switch(config)#int vlan 20
Switch(config-if)#ip address
20.20.20.1 255.255.255.0
Switch(config-if)#ex
Switch(config)#do wr
Switch(config)#ip routing
Konfigurasi DHCP
Switch(config)#ip dhcp pool vlan_10
Switch(dhcp-config)#network
10.10.10.0 255.255.255.0
Switch(dhcp-config)#def
Switch(dhcp-config)#default-router
10.10.10.1
Switch(dhcp-config)#dns 8.8.8.8
Switch(dhcp-config)#ex
Switch(config)#ip dhcp pool vlan_20
Switch(dhcp-config)#network
20.20.20.0 255.255.255.0
Switch(dhcp-config)#default-router
20.20.20.0
Switch(dhcp-config)#dns 8.8.8.8
Switch(dhcp-config)#ex
Switch(config)#do wr
0 Response
Posting Komentar