Dell 6200 SERIES Computer Accessories User Manual


 
Routing Configuration 103
Example 5: Enable IP Helper on a VLAN Routing Interface to a Server (DHCP and DNS)
To relay DHCP and DNS packets to 192.168.30.1, use the following commands:
console(config-if-vlan100)#ip helper-address 192.168.30.1 dhcp
console(config-if-vlan100)#ip helper-address 192.168.30.1 domain
Example 6: Enable IP Helper on Multiple VLAN Routing Interfaces
With the following configuration, the relay agent relays:
DHCP packets received on any interface other than VLAN 200 and VLAN 300 to 192.168.40.1
DHCP and DNS packets received on VLAN 200 to 192.168.40.2
SNMP traps (port 162) received on interface VLAN 300 to 192.168.23.1
Drops DHCP packets received on VLAN 300
console(config)#ip helper-address 192.168.40.1 dhcp
console(config)#interface vlan 200
console(config-if-vlan200)#ip helper-address 192.168.40.2 dhcp
console(config-if-vlan200)#ip helper-address 192.168.40.2 domain
console(config-if-vlan200)#exit
console(config)#interface vlan 300
console(config-if-vlan300)#ip helper-address 192.168.23.1 162
console(config-if-vlan300)#ip helper-address discard dhcp
console(config-if-vlan300)#exit