ArticleslgStudy

computer science

Stub network

Stub network is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Stub network rather than just read about it. In short: A stub network, or pocket network, is a somewhat casual term describing a computer network, or part of an internetwork, with no knowledge of other networks, that will typically send much or all of its non-local traffic out via a single path, with the network aware only of a default route to non-local destinations. As a practical analogy, think of an island which is connected to the rest of the world through a bridge…

Key takeaways

  • Stub network belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Stub network to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Stub network from memory before moving on to harder problems.

Reference excerpt

A stub network, or pocket network, is a somewhat casual term describing a computer network, or part of an internetwork, with no knowledge of other networks, that will typically send much or all of its non-local traffic out via a single path, with the network aware only of a default route to non-local destinations. As a practical analogy, think of an island which is connected to the rest of the world through a bridge and no other path is available either through air or sea. Continuing this analogy, the island might have more than one physical bridge to the mainland, but the set of bridges still represents only one logical path.

Character An enterprise local area network (LAN) that connects to the corporate network by only one router, or multiple default routers connected to the same logical upstream destination. A single LAN which never carries packets between multiple routers connected to it. All traffic is to and/or from local hosts. The routers will only route packets into the LAN if it's destined for the LAN, and out from the LAN if it originated on the LAN. A person, or workgroup, who is connected to an Internet service provider (ISP), by only one router, is a stub network with respect to the ISP. This stub network is part of the ISP's autonomous system (AS), discussed below. For each interface on which no default route (also called the gateway of last resort) has been elected, Open Shortest Path First (OSPF) refers to these subnets as stub networks. An OSPF stubby area is one which receives routes from other areas in the OSPF domain but for external routes, which are communicated via a Type 5 Link-state advertisement, the stubby area is only aware of a default route An OSPF totally stubby area is one which only has a default route to the rest of the OSPF routing domain. Such an area may have more than one router, but these routers will only know about the default route to the outside. A stub autonomous system that is connected to only one other autonomous system, through which it gains access to the Internet. This is also called a stub AS, which characterize the great majority of AS connected to the Internet. as of June 30, 2007, there were 224622 routes seen by the Asia Pacific Network Information Centre (APNIC) router. These came from 25577 autonomous systems, of which only 74 were transit-only and 22272 were stub/origin-only. 3305 autonomous systems provided some level of transit. Stub networks are not to be confused with transit networks, as transit networks contain at least two routers. These networks differ from stub networks since they are able to allow information to pass through them (hence the name). The stub network is unique in the sense that it contains only one router, that router being the gateway to the network. Stub networks are also capable of implementing multi-homing technology. This technology is focused on setting a single computer to host multiple network connections and IP addresses. Stub networks are useful in situations where the OSPF (Open Shortest Path First) protocol needs to map out the topology of the network. Stub networks serve a special purpose in that they are a certain area within the construction of a network where IP addresses are filtered out and replaced with default routes. The experimental evaluation of stub networks has pushed for the use of ad hoc networks to act as stubs for larger multi-service networks. These networks are connected to a larger infrastructure in order to deliver a range of services including security, deliverance of unicast and multicast services, and many others to improve the functionality of these ad hoc networks.

See also Multihoming IP transit Peering OSPF EIGRP

References

Paluch. P, "OSPF LSA Type 1 - Stub Network", November 2010. https://community.cisco.com/t5/switching/ospf-lsa-type-1-stub-network/td-p/1536761#:~:text=A%20stub%20network%20is%20a,as%20stub%20networks%20by%20OSPF. X. Liu and L. Xiao, "A Survey of Multihoming Technology in Stub Networks: Current Research and Open Issues," in IEEE Network, vol. 21, no. 3, pp. 32-40, May–June 2007, doi: 10.1109/MNET.2007.364256. https://ieeexplore.ieee.org/document/4211215 "OSPF: WHAT IS A STUB NETWORK?", December 2017. https://www.networkfuntimes.com/ospf-what-is-a-stub-network/ ALMEIDA, M. et al. Experimental Evaluation of the Usage of Ad Hoc Networks as Stubs for Multiservice Networks. EURASIP Journal on Wireless Communications & Networking, [s. l.], p. 1–14, 2007. DOI 10.1155/2007/62967.

Worked examples

Example 1 — a first encounter with Stub network

Start with the simplest possible case. Write down what Stub network claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Stub network before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Stub network ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Stub network

In research
Stub network appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Stub network in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Stub network is common in secondary-school and first-year university syllabi. It links to neighbouring topics Network architecture, so understanding it makes those chapters shorter.
In everyday life
Look for Stub network outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Stub network” →

How to study Stub network in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Stub network means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Stub network out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Stub network in simple terms?

A stub network, or pocket network, is a somewhat casual term describing a computer network, or part of an internetwork, with no knowledge of other networks, that will typically send much or all of its non-local traffic out via a single path, with the network aware only of a default route to non-loc…

Why does Stub network matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Stub network?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Stub network.

Tags

  • Network architecture

Keep exploring