SNOOPING - DHCP #3
SNOOPING - DHCP
Alat dan Bahan :
- Laptop / PC
- Cisco Packet Tracer
Router(config)#int fa 0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0 --> IP Address
Router(config-if)#no shutdown
Router(config)#ip dhcp pool 5
Router(dhcp-config)#network 192.168.10.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#dns 8.8.8.8
Switch(config)#int fa 0/1
Switch(config-if)#switchport mode trunk --> Enable Trunk
Switch(config)#ip dhcp snooping
Switch(config)#ip dhcp snooping vlan 1 --> Default Vlan
Switch(config)#no ip dhcp snooping information option
Switch(config)#int fa 0/1 --> Interface arah Server Asli
Switch(config-if)#ip dhcp snooping trust
CHECK DHCP SNOOPING
Switch(config)#do show ip dhcp snooping
Switch DHCP snooping is enabled
DHCP snooping is configured on following VLANs:
1
Insertion of option 82 is disabled
Option 82 on untrusted port is not allowed
Verification of hwaddr field is enabled
Interface Trusted Rate limit (pps)
----------------------- ------- ----------------
FastEthernet0/1 yes unlimited
CHECK IP BINDING DHCP SNOOPING
Switch#sh ip dhcp snooping binding
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- -----------------
00:D0:58:04:0B:E2 192.168.10.2 86400 dhcp-snooping 1 FastEthernet0/3
00:05:5E:A9:29:0E 192.168.10.3 86400 dhcp-snooping 1 FastEthernet0/4
Total number of bindings: 2
Komentar
Posting Komentar