Docsity

ECE3076 Fall 2007 HW-7: Ethernet and MAC Addresses - Prof. John Copeland, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
Name (print) _________________ Section _______
ECE3076, Fall 2007
HW-7 due Friday Nov. 9 (beginning of class)
1. Unique Mac addresses are in ROM in each adapter card. The first two or three bytes indicate the manufacturer.
Look at http://www.iana.org/assignments/ethernet-numbers
The first list is "Type" numbers ("EtherTypes") for various "next protocols."
What is the next protocol if the (hex) Type is
a. 0800? ____________ b. if the Type is 0806? _________________
Find the manufacturer of cards with the following MAC addresses (hint: scroll down to second list, Vendor Address
Components).
a. 00:AA:00:77:f0:a6 ________________
b. 08:00:09:68:3a:52 _____________
Which organization assigns blocks of MAC addresses to vendors? __________________
2. When you type "www.cnn.com" into your browser, what are the two hosts whose Ethernet addresses must be
obtained (if not cached)?
a. _________________________________ b. _________________________________________
What protocol is used to obtain MAC addresses (that are not your own)? ____________________
3 . Ethernet is called CSMA/CD, while WiFi is called CSMA/CA. MA stands for Multiple Access.
a. What does CA mean ? _________________________________________________________
b. What does it do? ____________________________________________________
c. What does CD mean ? ____________________________________________________
d. What does it do? ________________________________________________________
c. What does CS mean ? ____________________________________________________
d. What does it do? ________________________________________________________
4. What information is provided by DHCP when your PC is configured "automatically?
a. __________________________________________________________________
b. __________________________________________________________________
c. __________________________________________________________________
d. __________________________________________________________________
p. 1 of 2
pf2

Partial preview of the text

Download ECE3076 Fall 2007 HW-7: Ethernet and MAC Addresses - Prof. John Copeland and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

Name (print) _________________ Section _______

ECE3076, Fall 2007

HW-7 due Friday Nov. 9 (beginning of class)

1. Unique Mac addresses are in ROM in each adapter card. The first two or three bytes indicate the manufacturer.

Look at http://www.iana.org/assignments/ethernet-numbers

The first list is "Type" numbers ("EtherTypes") for various "next protocols."

What is the next protocol if the (hex) Type is

a. 0800? ____________ b. if the Type is 0806? _________________

Find the manufacturer of cards with the following MAC addresses (hint: scroll down to second list, Vendor Address

Components).

a. 00:AA:00:77:f0:a6 ________________

b. 08:00:09:68:3a:52 _____________

Which organization assigns blocks of MAC addresses to vendors? __________________

2. When you type "www.cnn.com" into your browser, what are the two hosts whose Ethernet addresses must be

obtained (if not cached)?

a. _________________________________ b. _____ ____________________ ________________

What protocol is used to obtain MAC addresses (that are not your own)? ____________________

3. Ethernet is called CSMA/CD, while WiFi is called CSMA/CA. MA stands for Multiple Access.

a. What does CA mean? _________________________________________________________

b. What does it do? ____________________________________________________

c. What does CD mean? ____________________________________________________

d. What does it do? ________________________________________________________

c. What does CS mean? ____________________________________________________

d. What does it do? ________________________________________________________

4. What information is provided by DHCP when your PC is configured "automatically?

a. __________________________________________________________________

b. __________________________________________________________________

c. __________________________________________________________________

d. __________________________________________________________________

p. 1 of 2

Name (print) _________________ Section _______

5. Ethernet Switch - Learning (20 points)

Assume the Ethernet switch X's forwarding table is empty. Show the lines added (Host - Port, like "A - c") after

each of the following frames are sent, and which hosts see the frame (A, B, and/or C).

Frame ( source - destination) Which hosts see it (A, B, and/

or C)

What line is added to forwarding table

(host A,B, or C - port a, b, or c)

A - B

B - A

C - A

A - C

6. Answer the following with: H for hub, S for switch, B for both, N for neither Ethernet device.

[ ] Send most Ethernet frames out only one port.

[ ] Sends all Ethernet frames out every port, except the arrival port.

[ ] Learns which port a host with an Ethernet address is on by looking at frame source addresses.

[ ] For WiFi connected hosts, a Wireless Access Port behaves like a ______(H or S).

[ ] Sends MAC-layer broadcast frames out every port, except the arrival port.

[ ] Sends ARP packets to link IP addresses with Ethernet addresses.

[ ] Cheapest way to connect several computers in a room to a single Ethernet wall socket.

[ ] Can be used to partition an Ethernet network into multiple collision domains.

7. Name that Protocol (OSPF, RIP, BGP, IP, ARP, DHCP, UDP, TCP, HTTP)

[ ] Broadcasts information only about delays on links connected to itself.

[ ] Sends network neighbors information about its hop-count values to all nodes in network.

[ ] Uses UDP port 67 and 68 to negotiate a lease for network configuration information.

[ ] Allows packets to be split into a series of smaller packets.

[ ] Sends MAC broadcast frames to discover Ethernet addresses.

8. Many common link layers use an N-bit CRC for error detection.

a. Is this easy to do with hardware (logic gates)? [Y/N] ________

b. Can it always detect a <N-bit burst of errors? [Y/N] _______

p. 2 of 2

A

B

C

X

a

b

c