Chapter 7
IP Address Assignment
RUGGEDCOM ROX II
CLI User Guide
222 Example: Configuring the Device as a Relay Agent
IMPORTANT!
The values shown are specific to the provided topology. Actual values can vary based on the user's
configuration.
192.168.0.52
P2, switch.0001
192.168.0.8
P10, PVID=1
10.10.10.1/24
P2, PVID=3
172.16.10.1/24
P1, PVID=2
Figure4:Topology – Device as a Relay Agent
1.DHCP Server 2.LAN A 3.Client 2 4.LAN B 5.DHCP Relay Agent (RUGGEDCOM ROX II Device) 6.LAN C 7.Client 1
To configure the device as a DHCP relay agent per the topology, do the following:
1. Configure the device as a DHCP relay agent:
a. Add VLAN 2 and VLAN 3. For more information, refer to Section8.5.5.2, “Adding a Static VLAN”.
b. Assign IP address 192.168.0.8 to VLAN 1. For more information, refer to Section7.1.3.2, “Adding an IPv4
Address” or Section7.1.4.2, “Adding an IPv6 Address”.
c. Change the PVID of port 1 to PVID 2, and change the PVID of port 2 to PVID 3. Refer to Section8.1.2,
“Configuring a Switched Ethernet Port” for more information.
2. Configure a separate device as the DHCP Server. If the DHCP server being used is a RUGGEDCOM ROX II
device, refer to Section7.3.19, “Example: Configuring the Device as a DHCP Server to Support a Relay Agent”
for more information.
Final Configuration Example
The following configuration reflects the topology:
# show running-config switch dhcp-relay-agent
dhcp-server-address 192.168.0.52
dhcp-client-ports lm4 1
!
dhcp-client-ports lm4 2
!