IOS vs XR: DHCP Relay

Scenario
Extremely simple setup showing a WAN interface in a VRF configured with DHCP Relay.

IOS Config

interface Gi0/0.100
 description WAN link to customer
 encapsulation dot1q 100
 ip vrf forwarding CUSTOMER_1
 ip address 192.168.1.1 255.255.255.252
 ip helper-address 10.1.1.1 
!

XR Config

interface GigabitEthernet0/0/0/0.100
 description WAN link to customer
 vrf CUSTOMER_1
 ipv4 address 192.168.1.1/30
 encapsulation dot1q 100
!
dhcp ipv4 
!
 profile CUST1_RELAY relay
 helper-address vrf default 10.1.1.1
 ! 
 interface GigabitEthernet0/0/0/0.100 relay profile CUST1_RELAY
!

Back to top