+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
237
33.3 DHCP Snooping option 82
Application Examples
DHCP option 82 typical application example
In the above example, layer 2 Switch1 will transmit the request message from DHCP client to
DHCP serer through enable DHCP Snooping. It will also transmit the reply message from the
server to DHCP client to finish the DHCP protocol procedure. After the DHCP SNOOPING
option 82 function is enabled, the Switch1 appends the port information of accessing Switch1
to the request message from the client by option 82.
The following is the configuration of Switch1 (MAC address is 00-1f-ce-02-33-01):
Switch1(config)#ip dhcp snooping enable
Switch1(config)#ip dhcp snooping binding enable
Switch1(config)# ip dhcp snooping information enable
Switch1(Config-If-Ethernet1/12)#ip dhcp snooping trust
Linux ISC DHCP Server supports option 82, its configuration file /etc/dhcpd.conf is ddns-
update-style interim;
ignore client-updates;
class "Switch1Vlan1Class1" {
match if option agent.circuit-id = "Vlan1+Ethernet1/3" and option agent.remote-
id=00:1f:ce:02:33:01;
}
subnet 192.168.102.0 netmask 255.255.255.0 {
option routers 192.168.102.2;
option subnet-mask 255.255.255.0;
option domain-name "example.com ";
option domain-name-servers 192.168.10.3;
authoritative;
pool {
DHCP Client PC1
Vlan1:eth1/3
Switch1
DHCP Server
Содержание QSW-2800 series
Страница 189: ...7 495 797 3311 www qtech ru 18 1 175...
Страница 414: ...7 495 797 3311 www qtech ru 18 1 400...