DHCPv4 relay scenario 2

(This scenario is not supported on the 6200 Switch Series.)

In this scenario, the two host computers communicate with two different DHCP servers. Each server is reached on a different VRF. The physical topology of the network looks like this:

Procedure
  1. Create the two VRFs.
    switch#configswitch(config)#vrf vrf 1switch(config)#vrf vrf 2
  2. Configure interface1/1/1. Set its IP address, associate it with VRF 1, and define the helper IP address to reach DHCP server 1.
    switch(configif)#在terface 1/1/1switch(configif)#多联机附加vrf1switch(configif)#ip address 20.0.0.1/8switch(configif)#ip helper-address 10.0.10.2
  3. Configure interface1/1/2. Set its IP address and associate it with VRF 1.
    switch(configif)#在terface 1/1/2switch(configif)#多联机附加vrf1switch(configif)#ip address 10.0.10.1/24
  4. Configure interface1/1/3. Set its IP address and associate it with VRF 1.
    switch(configif)#接口1/1/3switch(configif)#多联机附加vrf2switch(configif)#ip address 9.0.0.1/24
  5. Configure interface1/1/4. Set its IP address, associate it with VRF 2, and define the helper IP address to reach DHCP server 2.
    switch(configif)#在terface 1/1/4switch(configif)#多联机附加vrf2switch(configif)#ip address 30.0.0.1/8switch(configif)#ip helper-address 9.0.0.2