SlideShare a Scribd company logo
1 of 2
Download to read offline
Network Address Port Translation. Residential Network connections via Cable or DSL usually
are allocated only a single IP Address. As end users often want to operate multiple internet
enabled devices at home, people often use small routers to map an internal network with multiple
IP addresses, to the single IP address provided by the ISP. This is referred to as Network Address
Port Translation (NAPT) or just Network Address Translation (NAT). Assume we have a home
network that is connected by a wireless router that includes NAT capabilities as well as a DHCP
server. On the wireless network we have a Desktop, a Laptop and a Video Game Console that
are switched on and used in this order. The external IP address of the router is 71.204.145.120,
the internal IP address is 192.168.1.1. The DHCP server on the router is programmed to give out
IP addresses on the nework 192.168.1.1, netmask FF:FF:00:00.
(a.) Draw the topology of the network with the router after all devices are switched on (you can
omit any hosts between the wireless router and myth18). The topology should include IP
addresses and netmasks where known.
(b.) After all three hosts on the wireless network are switched on they connect to a web server
running on myth18.stanford.edu. What IP addresses will the web server on myth18 record for the
web requests coming from the Laptop, Desktop and Video Game Console?
(c.) Both the Laptop and Desktop have an SSH server running on port 22. Is it possible to
connect from myth18 to the SSH servers? If yes, explain the steps involved in setting up the
connection. If no explain why it is not possible.
(d.) Is there an upper limit for the maximum number of parallel UDP connections from hosts on
the local network of the router to servers on the internet? If yes, what is this maximum?
Solution
A single listening port can accept more than one connection simultaneously.
There is a '64K' limit that is often cited, but that is per client per server port, and needs
clarifying.
Each TCP/IP packet has basically four fields for addressing; these are:
Inside the TCP stack, these four fields are used as a compound key to match up packets to
connections (e.g. file descriptors).
If a client has many connections to the same port on the same destination, then three of those
fields will be the same - only source_port varies to differentiate the different connections. Ports
are 16-bit numbers, therefore the maximum number of connections any given client can have to
any given host port is 64K.
However, multiple clients can each have up to 64K connections to some server's port, and if the
server has multiple ports or either is multi-homed then you can multiply that further.
So the real limit is file descriptors. Each individual socket connection is given a file descriptor,
so the limit is really the number of file descriptors that the system has been configured to allow
and resources to handle. The maximum limit is typically up over 300K, but is configurable e.g.
with sysctl.
The realistic limits being boasted about for normal boxes are around 80K for example single
threaded Jabber messaging servers.

More Related Content

Similar to Network Address Port Translation. Residential Network connections vi.pdf

Ip, subnet, gateway and routers
Ip, subnet, gateway and routersIp, subnet, gateway and routers
Ip, subnet, gateway and routersAdrian Suarez
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)Jeff Green
 
RHSA_1_Chapter(11)_Resume_chaptre_11.pptx
RHSA_1_Chapter(11)_Resume_chaptre_11.pptxRHSA_1_Chapter(11)_Resume_chaptre_11.pptx
RHSA_1_Chapter(11)_Resume_chaptre_11.pptxAbdellahELMAMOUN
 
IP Address
IP AddressIP Address
IP AddressRahul P
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.pptssuserf7cd2b
 
Lecture 23 DHCP and NAT.pptx
Lecture 23 DHCP and NAT.pptxLecture 23 DHCP and NAT.pptx
Lecture 23 DHCP and NAT.pptxHanzlaNaveed1
 
Installation Of An Iso Image Dvd
Installation Of An Iso Image DvdInstallation Of An Iso Image Dvd
Installation Of An Iso Image DvdSusan Cox
 
2 logical addressing
2 logical addressing2 logical addressing
2 logical addressinggafurov_x
 
IP fundamentals
IP fundamentals IP fundamentals
IP fundamentals sumit singh
 
Why We Need IPv6
Why We Need IPv6Why We Need IPv6
Why We Need IPv6Netwax Lab
 
Custom_IP_Network_Protocol_and_Router
Custom_IP_Network_Protocol_and_RouterCustom_IP_Network_Protocol_and_Router
Custom_IP_Network_Protocol_and_RouterVishal Vasudev
 
As robust as the IP protocol is, it does not perform the actual .docx
As robust as the IP protocol is, it does not perform the actual .docxAs robust as the IP protocol is, it does not perform the actual .docx
As robust as the IP protocol is, it does not perform the actual .docxcargillfilberto
 

Similar to Network Address Port Translation. Residential Network connections vi.pdf (20)

Ip, subnet, gateway and routers
Ip, subnet, gateway and routersIp, subnet, gateway and routers
Ip, subnet, gateway and routers
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
 
Tcp Udp Notes
Tcp Udp NotesTcp Udp Notes
Tcp Udp Notes
 
IPv6
IPv6IPv6
IPv6
 
RHSA_1_Chapter(11)_Resume_chaptre_11.pptx
RHSA_1_Chapter(11)_Resume_chaptre_11.pptxRHSA_1_Chapter(11)_Resume_chaptre_11.pptx
RHSA_1_Chapter(11)_Resume_chaptre_11.pptx
 
IP Address
IP AddressIP Address
IP Address
 
ffuyu yguyguyg.pptx
ffuyu yguyguyg.pptxffuyu yguyguyg.pptx
ffuyu yguyguyg.pptx
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
 
Lecture 23 DHCP and NAT.pptx
Lecture 23 DHCP and NAT.pptxLecture 23 DHCP and NAT.pptx
Lecture 23 DHCP and NAT.pptx
 
Installation Of An Iso Image Dvd
Installation Of An Iso Image DvdInstallation Of An Iso Image Dvd
Installation Of An Iso Image Dvd
 
Skip to Main content.docx
Skip to Main content.docxSkip to Main content.docx
Skip to Main content.docx
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
TCPIP
TCPIPTCPIP
TCPIP
 
2 logical addressing
2 logical addressing2 logical addressing
2 logical addressing
 
IP fundamentals
IP fundamentals IP fundamentals
IP fundamentals
 
Why We Need IPv6
Why We Need IPv6Why We Need IPv6
Why We Need IPv6
 
Custom_IP_Network_Protocol_and_Router
Custom_IP_Network_Protocol_and_RouterCustom_IP_Network_Protocol_and_Router
Custom_IP_Network_Protocol_and_Router
 
DHCP basics
DHCP basicsDHCP basics
DHCP basics
 
As robust as the IP protocol is, it does not perform the actual .docx
As robust as the IP protocol is, it does not perform the actual .docxAs robust as the IP protocol is, it does not perform the actual .docx
As robust as the IP protocol is, it does not perform the actual .docx
 
TCP (1).pdf
TCP (1).pdfTCP (1).pdf
TCP (1).pdf
 

More from shalins6

Describe two benefits of the industrial revolution and two proble.pdf
Describe two benefits of the industrial revolution and two proble.pdfDescribe two benefits of the industrial revolution and two proble.pdf
Describe two benefits of the industrial revolution and two proble.pdfshalins6
 
Dee Dees parents place a high value on academic achievement, but h.pdf
Dee Dees parents place a high value on academic achievement, but h.pdfDee Dees parents place a high value on academic achievement, but h.pdf
Dee Dees parents place a high value on academic achievement, but h.pdfshalins6
 
An inter satellite link is established between two satellites. One sa.pdf
An inter satellite link is established between two satellites. One sa.pdfAn inter satellite link is established between two satellites. One sa.pdf
An inter satellite link is established between two satellites. One sa.pdfshalins6
 
Circle the correct words At fertilization, eggs and sperm carrying s.pdf
Circle the correct words  At fertilization, eggs and sperm carrying s.pdfCircle the correct words  At fertilization, eggs and sperm carrying s.pdf
Circle the correct words At fertilization, eggs and sperm carrying s.pdfshalins6
 
A small object is 25.0 cm from a diverging lens as shown in the figu.pdf
A small object is 25.0 cm from a diverging lens as shown in the figu.pdfA small object is 25.0 cm from a diverging lens as shown in the figu.pdf
A small object is 25.0 cm from a diverging lens as shown in the figu.pdfshalins6
 
Cautions about experimentation and samplingSolutionWhen exper.pdf
Cautions about experimentation and samplingSolutionWhen exper.pdfCautions about experimentation and samplingSolutionWhen exper.pdf
Cautions about experimentation and samplingSolutionWhen exper.pdfshalins6
 
CH30uz Lecture Which of the f.pdf
CH30uz Lecture Which of the f.pdfCH30uz Lecture Which of the f.pdf
CH30uz Lecture Which of the f.pdfshalins6
 
Below is a code segment for the Deleteltem function in an unsorted li.pdf
Below is a code segment for the Deleteltem function in an unsorted li.pdfBelow is a code segment for the Deleteltem function in an unsorted li.pdf
Below is a code segment for the Deleteltem function in an unsorted li.pdfshalins6
 
A parts assembly station on a production line exhibits a severe vibra.pdf
A parts assembly station on a production line exhibits a severe vibra.pdfA parts assembly station on a production line exhibits a severe vibra.pdf
A parts assembly station on a production line exhibits a severe vibra.pdfshalins6
 
You are conducting a study investigating the effects of a high-fat d.pdf
You are conducting a study investigating the effects of a high-fat d.pdfYou are conducting a study investigating the effects of a high-fat d.pdf
You are conducting a study investigating the effects of a high-fat d.pdfshalins6
 
Which of the following is not a premise of the Koch’s postulatesA.pdf
Which of the following is not a premise of the Koch’s postulatesA.pdfWhich of the following is not a premise of the Koch’s postulatesA.pdf
Which of the following is not a premise of the Koch’s postulatesA.pdfshalins6
 
What is inclusionSolutioninclusions in biology means the foll.pdf
What is inclusionSolutioninclusions in biology means the foll.pdfWhat is inclusionSolutioninclusions in biology means the foll.pdf
What is inclusionSolutioninclusions in biology means the foll.pdfshalins6
 
What organ systems that work with the digestive system to deliver nu.pdf
What organ systems that work with the digestive system to deliver nu.pdfWhat organ systems that work with the digestive system to deliver nu.pdf
What organ systems that work with the digestive system to deliver nu.pdfshalins6
 
What are the major design considerations for secondary clarifers fol.pdf
What are the major design considerations for secondary clarifers fol.pdfWhat are the major design considerations for secondary clarifers fol.pdf
What are the major design considerations for secondary clarifers fol.pdfshalins6
 
What is meant by composite pavement What is meant by composit.pdf
What is meant by composite pavement  What is meant by composit.pdfWhat is meant by composite pavement  What is meant by composit.pdf
What is meant by composite pavement What is meant by composit.pdfshalins6
 
Use C++ Write a function to merge two doubly linked lists. The input.pdf
Use C++ Write a function to merge two doubly linked lists. The input.pdfUse C++ Write a function to merge two doubly linked lists. The input.pdf
Use C++ Write a function to merge two doubly linked lists. The input.pdfshalins6
 
Using an intensity of 1 × 10-12 Wm2 as a reference, the threshold o.pdf
Using an intensity of 1 × 10-12 Wm2 as a reference, the threshold o.pdfUsing an intensity of 1 × 10-12 Wm2 as a reference, the threshold o.pdf
Using an intensity of 1 × 10-12 Wm2 as a reference, the threshold o.pdfshalins6
 
Tissue regeneration is an emerging and exciting biomedical field. As.pdf
Tissue regeneration is an emerging and exciting biomedical field. As.pdfTissue regeneration is an emerging and exciting biomedical field. As.pdf
Tissue regeneration is an emerging and exciting biomedical field. As.pdfshalins6
 
The preeminent American naturalist of the late 1800s was Charles Dar.pdf
The preeminent American naturalist of the late 1800s was  Charles Dar.pdfThe preeminent American naturalist of the late 1800s was  Charles Dar.pdf
The preeminent American naturalist of the late 1800s was Charles Dar.pdfshalins6
 
The LS and LF are calculated using thebackward pass through the ne.pdf
The LS and LF are calculated using thebackward pass through the ne.pdfThe LS and LF are calculated using thebackward pass through the ne.pdf
The LS and LF are calculated using thebackward pass through the ne.pdfshalins6
 

More from shalins6 (20)

Describe two benefits of the industrial revolution and two proble.pdf
Describe two benefits of the industrial revolution and two proble.pdfDescribe two benefits of the industrial revolution and two proble.pdf
Describe two benefits of the industrial revolution and two proble.pdf
 
Dee Dees parents place a high value on academic achievement, but h.pdf
Dee Dees parents place a high value on academic achievement, but h.pdfDee Dees parents place a high value on academic achievement, but h.pdf
Dee Dees parents place a high value on academic achievement, but h.pdf
 
An inter satellite link is established between two satellites. One sa.pdf
An inter satellite link is established between two satellites. One sa.pdfAn inter satellite link is established between two satellites. One sa.pdf
An inter satellite link is established between two satellites. One sa.pdf
 
Circle the correct words At fertilization, eggs and sperm carrying s.pdf
Circle the correct words  At fertilization, eggs and sperm carrying s.pdfCircle the correct words  At fertilization, eggs and sperm carrying s.pdf
Circle the correct words At fertilization, eggs and sperm carrying s.pdf
 
A small object is 25.0 cm from a diverging lens as shown in the figu.pdf
A small object is 25.0 cm from a diverging lens as shown in the figu.pdfA small object is 25.0 cm from a diverging lens as shown in the figu.pdf
A small object is 25.0 cm from a diverging lens as shown in the figu.pdf
 
Cautions about experimentation and samplingSolutionWhen exper.pdf
Cautions about experimentation and samplingSolutionWhen exper.pdfCautions about experimentation and samplingSolutionWhen exper.pdf
Cautions about experimentation and samplingSolutionWhen exper.pdf
 
CH30uz Lecture Which of the f.pdf
CH30uz Lecture Which of the f.pdfCH30uz Lecture Which of the f.pdf
CH30uz Lecture Which of the f.pdf
 
Below is a code segment for the Deleteltem function in an unsorted li.pdf
Below is a code segment for the Deleteltem function in an unsorted li.pdfBelow is a code segment for the Deleteltem function in an unsorted li.pdf
Below is a code segment for the Deleteltem function in an unsorted li.pdf
 
A parts assembly station on a production line exhibits a severe vibra.pdf
A parts assembly station on a production line exhibits a severe vibra.pdfA parts assembly station on a production line exhibits a severe vibra.pdf
A parts assembly station on a production line exhibits a severe vibra.pdf
 
You are conducting a study investigating the effects of a high-fat d.pdf
You are conducting a study investigating the effects of a high-fat d.pdfYou are conducting a study investigating the effects of a high-fat d.pdf
You are conducting a study investigating the effects of a high-fat d.pdf
 
Which of the following is not a premise of the Koch’s postulatesA.pdf
Which of the following is not a premise of the Koch’s postulatesA.pdfWhich of the following is not a premise of the Koch’s postulatesA.pdf
Which of the following is not a premise of the Koch’s postulatesA.pdf
 
What is inclusionSolutioninclusions in biology means the foll.pdf
What is inclusionSolutioninclusions in biology means the foll.pdfWhat is inclusionSolutioninclusions in biology means the foll.pdf
What is inclusionSolutioninclusions in biology means the foll.pdf
 
What organ systems that work with the digestive system to deliver nu.pdf
What organ systems that work with the digestive system to deliver nu.pdfWhat organ systems that work with the digestive system to deliver nu.pdf
What organ systems that work with the digestive system to deliver nu.pdf
 
What are the major design considerations for secondary clarifers fol.pdf
What are the major design considerations for secondary clarifers fol.pdfWhat are the major design considerations for secondary clarifers fol.pdf
What are the major design considerations for secondary clarifers fol.pdf
 
What is meant by composite pavement What is meant by composit.pdf
What is meant by composite pavement  What is meant by composit.pdfWhat is meant by composite pavement  What is meant by composit.pdf
What is meant by composite pavement What is meant by composit.pdf
 
Use C++ Write a function to merge two doubly linked lists. The input.pdf
Use C++ Write a function to merge two doubly linked lists. The input.pdfUse C++ Write a function to merge two doubly linked lists. The input.pdf
Use C++ Write a function to merge two doubly linked lists. The input.pdf
 
Using an intensity of 1 × 10-12 Wm2 as a reference, the threshold o.pdf
Using an intensity of 1 × 10-12 Wm2 as a reference, the threshold o.pdfUsing an intensity of 1 × 10-12 Wm2 as a reference, the threshold o.pdf
Using an intensity of 1 × 10-12 Wm2 as a reference, the threshold o.pdf
 
Tissue regeneration is an emerging and exciting biomedical field. As.pdf
Tissue regeneration is an emerging and exciting biomedical field. As.pdfTissue regeneration is an emerging and exciting biomedical field. As.pdf
Tissue regeneration is an emerging and exciting biomedical field. As.pdf
 
The preeminent American naturalist of the late 1800s was Charles Dar.pdf
The preeminent American naturalist of the late 1800s was  Charles Dar.pdfThe preeminent American naturalist of the late 1800s was  Charles Dar.pdf
The preeminent American naturalist of the late 1800s was Charles Dar.pdf
 
The LS and LF are calculated using thebackward pass through the ne.pdf
The LS and LF are calculated using thebackward pass through the ne.pdfThe LS and LF are calculated using thebackward pass through the ne.pdf
The LS and LF are calculated using thebackward pass through the ne.pdf
 

Recently uploaded

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 

Recently uploaded (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 

Network Address Port Translation. Residential Network connections vi.pdf

  • 1. Network Address Port Translation. Residential Network connections via Cable or DSL usually are allocated only a single IP Address. As end users often want to operate multiple internet enabled devices at home, people often use small routers to map an internal network with multiple IP addresses, to the single IP address provided by the ISP. This is referred to as Network Address Port Translation (NAPT) or just Network Address Translation (NAT). Assume we have a home network that is connected by a wireless router that includes NAT capabilities as well as a DHCP server. On the wireless network we have a Desktop, a Laptop and a Video Game Console that are switched on and used in this order. The external IP address of the router is 71.204.145.120, the internal IP address is 192.168.1.1. The DHCP server on the router is programmed to give out IP addresses on the nework 192.168.1.1, netmask FF:FF:00:00. (a.) Draw the topology of the network with the router after all devices are switched on (you can omit any hosts between the wireless router and myth18). The topology should include IP addresses and netmasks where known. (b.) After all three hosts on the wireless network are switched on they connect to a web server running on myth18.stanford.edu. What IP addresses will the web server on myth18 record for the web requests coming from the Laptop, Desktop and Video Game Console? (c.) Both the Laptop and Desktop have an SSH server running on port 22. Is it possible to connect from myth18 to the SSH servers? If yes, explain the steps involved in setting up the connection. If no explain why it is not possible. (d.) Is there an upper limit for the maximum number of parallel UDP connections from hosts on the local network of the router to servers on the internet? If yes, what is this maximum? Solution A single listening port can accept more than one connection simultaneously. There is a '64K' limit that is often cited, but that is per client per server port, and needs clarifying. Each TCP/IP packet has basically four fields for addressing; these are: Inside the TCP stack, these four fields are used as a compound key to match up packets to connections (e.g. file descriptors). If a client has many connections to the same port on the same destination, then three of those fields will be the same - only source_port varies to differentiate the different connections. Ports are 16-bit numbers, therefore the maximum number of connections any given client can have to any given host port is 64K. However, multiple clients can each have up to 64K connections to some server's port, and if the
  • 2. server has multiple ports or either is multi-homed then you can multiply that further. So the real limit is file descriptors. Each individual socket connection is given a file descriptor, so the limit is really the number of file descriptors that the system has been configured to allow and resources to handle. The maximum limit is typically up over 300K, but is configurable e.g. with sysctl. The realistic limits being boasted about for normal boxes are around 80K for example single threaded Jabber messaging servers.