Interview Question


Country: United States




Comment hidden because of low score. Click to expand.
1
of 1 vote

IPoE:
- Laptop will broadcast a message asking for DHCP help.
- DHCP will return info that includes IP, subnet mask, and IP address of gateway
- Laptop will ARP to find Mac address correponding to IP address of gateway

Now laptop knows: Its IP, subnet mask, and mac address of gateway
Now it can do some cool stuff.

- Anonymous March 23, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

will it send a L2 broadcast message ? How the packet reaches DHCP server ?

- Remo March 24, 2014 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

DHCP uses UDP with L3 broadcast address, using a L2 broadcast frame

The exchange is actually a 4 way handshake (DORA, discovery, offer, request, ack).

Who asked you this question?

- Anonymous March 25, 2014 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Both Discovery and Request are broadcast at L2 and L3 level.

- Anonymous March 25, 2014 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More