Skip to document

Exercise 1

good exercise
Course

Computer Network

29 Documents
Students shared 29 documents in this course
Academic year: 2022/2023
Uploaded by:
Anonymous Student
This document has been uploaded by a student, just like you, who decided to remain anonymous.
Lebanese International University

Comments

Please sign in or register to post comments.

Preview text

  1. What class is the IP address 193.59.107? What is the default subnet mask for this class? Class C. Since 193 lies between 192 – 223 Default subnet mask: 255.255.

  2. Taking into account only the structure of the IPv4 packet headers: a. What is the maximum permissible size (in bits) for an IPv4 packet? 65535 bytes = 524280 bits b. How many IPv4 addresses can exist? 232 = 4294967296

  3. Suppose that a router uses the following routing table: Subnet Number

SubNet Mask Next Hop

128.96.39 255.255. 28

Interface 0 128.96.39 255.255. 28

Interface 1 128.96.40 255.255. 28

Interface 2 192.4.153 255.255. 92

Interface 3 default - Interface 4

Which interface will the router use for the next hop for each of the following destination addresses: a. 128.96.39 – Interface 1 b. 128.96.40 – interface 2 c. 128.96.39 – interface 1

d. 192.4.153 – interface 3 e. 192.4.153? – interface 3

Tip: Apply each subnet mask and if the corresponding subnet number matches the SubnetNumber column, then use the entry in Next-Hop. 4. How many subnets and hosts per subnet can you get from the network 174.20.0 / 255.255.240? Subnets = Hosts = 4096

Was this document helpful?

Exercise 1

Course: Computer Network

29 Documents
Students shared 29 documents in this course
Was this document helpful?
1. What class is the IP address 193.59.107.145? What is the
default subnet mask for this class?
Class C. Since 193 lies between 192 – 223
Default subnet mask: 255.255.255.0
2. Taking into account only the structure of the IPv4 packet
headers:
a. What is the maximum permissible size (in bits) for an
IPv4 packet? 65535 bytes = 524280 bits
b. How many IPv4 addresses can exist?
232 = 4294967296
3. Suppose that a router uses the following routing table:
Subnet
Number
SubNet Mask Next Hop
128.96.39.0 255.255.255.1
28
Interface
0
128.96.39.128 255.255.255.1
28
Interface
1
128.96.40.0 255.255.255.1
28
Interface
2
192.4.153.0 255.255.255.1
92
Interface
3
default - Interface
4
Which interface will the router use for the next hop for
each of the following destination addresses:
a. 128.96.39.10 – Interface 1
b. 128.96.40.12 – interface 2
c. 128.96.39.151 – interface 1