Dell FCX624-S Laptop User Manual


  Open as PDF
of 1494
 
1354 PowerConnect B-Series FCX Configuration Guide
53-1002266-01
DHCP relay agent information (DHCP Option 82)
39
PowerConnect(config)#vlan 2
PowerConnect(config-vlan-2)#untagged ethe 1/3 to 1/4
PowerConnect(config-vlan-2)#router-interface ve 2
PowerConnect(config-vlan-2)#exit
PowerConnect(config)#ip dhcp snooping vlan 2
PowerConnect(config)#vlan 20
PowerConnect(config-vlan-20)#untagged ethe 1/1 to 1/2
PowerConnect(config-vlan-20)#router-interface ve 20
PowerConnect(config-vlan-20)#exit
PowerConnect(config)#ip dhcp snooping vlan 20
On VLAN 2, client ports 1/3 and 1/4 are untrusted by default all client ports are untrusted. Hence,
only DHCP client request packets received on ports 1/3 and 1/4 are forwarded.
On VLAN 20, ports 1/1 and 1/2 are connected to a DHCP server. DHCP server ports are set to
trusted .
PowerConnect(config)#interface ethernet 1/1
PowerConnect(config-if-e10000-1/1)#dhcp snooping trust
PowerConnect(config-if-e10000-1/1)#exit
PowerConnect(config)#interface ethernet 1/2
PowerConnect(config-if-e10000-1/2)#dhcp snooping trust
PowerConnect(config-if-e10000-1/2)#exit
Hence, DHCP server reply packets received on ports 1/1 and 1/2 are forwarded, and client IP/MAC
binding information is collected.
The example also sets the DHCP server address for the local relay agent.
PowerConnect(config)#interface ve 2
PowerConnect(config-vif-2)#ip address 20.20.20.1/24
PowerConnect(config-vif-2)#ip helper-address 1 30.30.30.4
PowerConnect(config-vif-2)#interface ve 20
PowerConnect(config-vif-20)#ip address 30.30.30.1/24
DHCP relay agent information (DHCP Option 82)
DHCP relay agent information, also known as DHCP option 82, enables a DHCP relay agent to
insert information about a clients’ identity into a DHCP client request being sent to a DHCP server.
When DHCP snooping is enabled on the PowerConnect switch, DHCP option 82 is automatically
enabled. DHCP packets are processed as follows:
Before relaying a DHCP discovery packet or DHCP request packet from a client to a DHCP
server, the PowerConnect switch will add agent information to the packet.
Before relaying a DHCP reply packet from a DHCP server to a client, the PowerConnect switch
will remove relay agent information from the packet.