Перейти до основного вмісту
Теґи
Answer confirmed
Question

Your network contains two VLANs for client computers and one VLAN for a datacenter. Each VLAN is assigned an IPv4 subnet. Currently, all the client computers use static IP addresses.
You plan to deploy a DHCP server to the VLAN in the datacenter.
You need to use the DHCP server to provide IP configurations to all the client computers.
What is the minimum number of scopes and DHCP relays you should create? To answer, select the appropriate option the answer area.
NOTE: Each correct selection is worth one point.

Proposed answer

 

Suggested answer

  
Box 1: 3 -
You need a DHCP scope for each of the three subnets.

Box 2: 2 -
The two client VLANs need a DHCP Relay Agent to forward DHCP requests to the DHCP server. The datacenter VLAN that contains the DHCP server does not require a DHCP Relay Agent. 

 

 

Correct answer
  • DHCP Scopes: 2 (You need DHCP scopes only for computer VLANs)
  • DHCP Relays: 2 (Relays needed only in client VLANs)

 


 

Comments
AvoKikinha

Highly Voted 2 years, 6 months ago 

Box 1: 3 You need a DHCP scope for each of the three subnets. Box 2: 2 The two client VLANs need a DHCP Relay Agent to forward DHCP requests to the DHCP server. The datacenter VLAN that contains the DHCP server does not require a DHCP Relay Agent.

upvoted 23 times 

loulouka

2 years, 5 months ago 

You need to use the DHCP server to provide IP configurations to all the client computers. The subnet is 2 for clients!

upvoted 9 times 

GoforIT21

2 years, 4 months ago 

Well, the question reads: "Your network contains two VLANs for client computers", not one VLAN for two client computers. :-) So, as far as I can see, you need one DHCP Relay Agent per subnet without a DHCP server. Two in total then.

upvoted 4 times 

GoforIT21

2 years, 4 months ago 

And there's even Microsoft a source for it! https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc771390(v=ws.11) (Assuming that networking hasn't changed since Windows Server 2008 R2. :-) I think that's also what the Cisco source provided with the answer on the site implies. ("Repeat for every subinterface you have configured.")

upvoted 3 times 

GoforIT21

2 years, 4 months ago 

So, to be clear, I agree with AvoKikinha, the correct answer is Box 1: 3 Box 2: 2

upvoted 2 times 

sanni

2 years, 2 months ago 

it is saying to dhcp for client computers only (2 VLANs), not for servers. so why Box1 is 3? It should be 2.

upvoted 16 times 

Leocan

2 years ago 

Box 1: 2. You need a scope for each client subnet, but you don't need a scope for the datacenter subnet.

upvoted 11 times 

loulouka

2 years, 5 months ago 

Box 1:2 box 2:2 You need to use the DHCP server to provide IP configurations to all the client computers. We need to create two DHCP address scopes. One scope for each subnet, that contains client computers. Because DHCPDISCOVER packets sent by the DHCP clients are transport within the local subnet only, we need to add a DHCP relay agent to each subnet that does not contain a DHCP server. The DHCP relay agent will react on the DHCPDISCOVER broadcasts within it's local subnet and will contact the configured DHCP server to retrieve an IP address for the client.

upvoted 28 times 

stormyR

1 year, 5 months ago 

I disagree with your first response of 2 subnets, it should be 3. Whether datacenter vlan is dynamic/static assigned it requires a scope for IP assignment regardless.

upvoted 1 times 

stormyR

1 year, 5 months ago 

I am changing my claim to agree. The question only asks for provision of scopes for client computers.. X 2

upvoted 6 times 

SJHCI

Highly Voted 2 years, 3 months ago 

Scopes: 2. You need a scope for each client subnet, but you don't need a scope for the datacenter subnet. DHCP relay agents: 2. One for each client subnet.

upvoted 14 times 

Ksk08

Most Recent 4 weeks ago 

Answer is both 2

upvoted 1 times 

SIAMIANJI

6 months, 2 weeks ago 

Two clients VLAN -> two subnets -> Two DHCP Scopes. Each scope need a relay agent -> Two DHCP relay agent.

upvoted 1 times 

AK_1234

6 months, 2 weeks ago 

DHCP Scopes - 2 DHCP Relays 2

upvoted 1 times 

JackBauer

1 year, 1 month ago 

trick question. read it carefully. you don't need a scope for servers you need 2x scopes for 2x subnet clients. and 1 dhcp relay for each subnet (total =2) box1: 2 box2: 2

upvoted 1 times 

MR_Eliot

1 year, 2 months ago 

Its 2 & 2.

upvoted 1 times 

syu31svc

1 year, 8 months ago 

"two VLANs for client computers" "provide IP configurations to all the client computers" https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc771390(v=ws.11) A relay agent is a small program that relays DHCP/BOOTP messages between clients and servers on different subnets One scope per subnet Answer is 2 scopes and 2 relays

upvoted 3 times 

raulgar

1 year, 8 months ago 

It's very confusing.If we think two vlans for clients and one for datacenter (only servers) it's 2 -2, but if we think that in datacetner could be clients it's 3-2.A standard environment is datacenter without clients, only servers, so I think 2-2

upvoted 1 times 

empee1977

1 year, 9 months ago 

Box 1: 3 and Box 2: 2 You would need to create 3 DHCP scopes (1 for each VLAN) and 2 DHCP relays (1 for each VLAN that is not the datacenter VLAN, where the DHCP server is located). This is because the DHCP server needs to be able to provide IP configurations to all the client computers on all the VLANs, and the DHCP relays are needed to forward DHCP broadcast messages from the client computers on the non-datacenter VLANs to the DHCP server in the datacenter VLAN.

upvoted 2 times 

STFN2019

1 year, 10 months ago 

It should be 2 n 2

upvoted 1 times 

STFN2019

1 year, 9 months ago 

Correction, it is 3 n 2

upvoted 1 times 

johosofat

2 years ago 

1 Dhcp server can work with all the vlans https://social.technet.microsoft.com/Forums/ie/en-US/d4f4a734-ca38-405b-8fbb-279eb7ae82f0/dhcp-for-multiple-vlans?forum=winserver8setup#:~:text=A%20single%20DHCP%20server%20should%20be%20able%20to%20handle%20all%20the%20VLANs.,-.%20%3A&text=0-,Hi%20boe_d%2C,relay%20packets%20between%20different%20VLANs. 2. One dhcp server can serve 2 subnets with 2 scopes 3. 2 scopes/subnets will require one relay agent per subnet - so 2 relay agents https://social.technet.microsoft.com/Forums/ie/en-US/7d76e12f-9e47-4cc4-a280-2f9695de0b11/single-dhcp-server-managing-multiple-subnets?forum=winserveripamdhcpdns

upvoted 2 times 

sloky

2 years ago 

Hmm, I'd say 2 and 2. Yes there are 3 subnets, but the question states "Your network contains two VLANs for client computers..." - "You need to use the DHCP server to provide IP configurations to all the client computers..." It doesn't say you need DHCP addresses for the datacentre, only that you are deploying a DHCP server in the datacentre. So in theory it should be 2 scopes.

upvoted 5 times 

spamgohere

2 years ago 

I agree with your reasoning.

upvoted 1 times 

TtotheA2021

2 years, 6 months ago 

3 and 2 based on the folliwing article: Communication for DHCP lease generation uses IP broadcasts. Because IP broadcasts aren't routed, you need to configure a DHCP server on each subnet or configure a DHCP relay. Many routers include DHCP relay functionality.

upvoted 2 times 

Alter12

2 years, 6 months ago 

DHCP RELAY 2

upvoted 2 times 

Alter12

2 years, 6 months ago 

DHCP SCOPE 3 AND DHCP QUATOS 2

upvoted 2 times