hostname NUROHMAN
!
ip dhcp excluded-address 192.168.10.1 192.168.10.10
ip dhcp excluded-address 192.168.10.250 192.168.10.254
ip dhcp excluded-address 192.168.20.1 192.168.20.10
ip dhcp excluded-address 192.168.20.250 192.168.20.254
!
ip dhcp pool 10
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.4.4
ip dhcp pool 20
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 8.8.4.4
!
vtp mode transparent
!
vlan 10
name 10
!
vlan 20
name 20
!
interface range FastEthernet0/1-12
description vlan 10
switchport access vlan 10
switchport mode access
!
!
interface range FastEthernet0/13-24
description vlan 20
switchport access vlan 20
switchport mode access
!
interface Vlan10
description vlan 10
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
description vlan 20
ip address 192.168.20.1 255.255.255.0
!
0 Comments