What does routing an IP address mean? The 2019 Stack Overflow Developer Survey Results Are InWhat does the notation F0/0 and F0/1 mean in this diagram?Intra and internetwork routingWhen/Why to use OSPF?netstat -nr returning “0/1” — what does that mean?How does Logical Address works?How is anycast implemented?Should I always use “no ip address” command?Very confused with routingWhat is the use-case of including the IPv4 address in IPv6 address?Are the IPv6 address space and IPv4 address space completely disjoint?

Why is the maximum length of OpenWrt’s root password 8 characters?

Are spiders unable to hurt humans, especially very small spiders?

Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?

Resizing object distorts it (Illustrator CC 2018)

When should I buy a clipper card after flying to OAK?

What do hard-Brexiteers want with respect to the Irish border?

Output the Arecibo Message

Multiply Two Integer Polynomials

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Right tool to dig six foot holes?

Lightning Grid - Columns and Rows?

Button changing it's text & action. Good or terrible?

How technical should a Scrum Master be to effectively remove impediments?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Why is the Constellation's nose gear so long?

Geography at the pixel level

Why can Shazam fly?

Does a dangling wire really electrocute me if I'm standing in water?

The difference between dialogue marks

Origin of "cooter" meaning "vagina"

Time travel alters history but people keep saying nothing's changed

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?



What does routing an IP address mean?



The 2019 Stack Overflow Developer Survey Results Are InWhat does the notation F0/0 and F0/1 mean in this diagram?Intra and internetwork routingWhen/Why to use OSPF?netstat -nr returning “0/1” — what does that mean?How does Logical Address works?How is anycast implemented?Should I always use “no ip address” command?Very confused with routingWhat is the use-case of including the IPv4 address in IPv6 address?Are the IPv6 address space and IPv4 address space completely disjoint?










6















From https://stackoverflow.com/a/40189197/156458




Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed.




What does "routing" a IP address mean?



Why is it the reason that blocking 0.0.0.0 does not make sense?



Thanks.










share|improve this question



















  • 2





    You route packets, not addresses. The packets are routed based on the destination address in the packet header. The 0.0.0.0 address (actually, any address in the 0.0.0.0/8 network) is not allowed to be a destination address, so explicitly blocking that address doesn't really make sense.

    – Ron Maupin
    Mar 23 at 18:57















6















From https://stackoverflow.com/a/40189197/156458




Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed.




What does "routing" a IP address mean?



Why is it the reason that blocking 0.0.0.0 does not make sense?



Thanks.










share|improve this question



















  • 2





    You route packets, not addresses. The packets are routed based on the destination address in the packet header. The 0.0.0.0 address (actually, any address in the 0.0.0.0/8 network) is not allowed to be a destination address, so explicitly blocking that address doesn't really make sense.

    – Ron Maupin
    Mar 23 at 18:57













6












6








6








From https://stackoverflow.com/a/40189197/156458




Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed.




What does "routing" a IP address mean?



Why is it the reason that blocking 0.0.0.0 does not make sense?



Thanks.










share|improve this question
















From https://stackoverflow.com/a/40189197/156458




Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed.




What does "routing" a IP address mean?



Why is it the reason that blocking 0.0.0.0 does not make sense?



Thanks.







routing ip-address






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 23 at 17:58









Zac67

32.7k22164




32.7k22164










asked Mar 23 at 15:47









TimTim

665518




665518







  • 2





    You route packets, not addresses. The packets are routed based on the destination address in the packet header. The 0.0.0.0 address (actually, any address in the 0.0.0.0/8 network) is not allowed to be a destination address, so explicitly blocking that address doesn't really make sense.

    – Ron Maupin
    Mar 23 at 18:57












  • 2





    You route packets, not addresses. The packets are routed based on the destination address in the packet header. The 0.0.0.0 address (actually, any address in the 0.0.0.0/8 network) is not allowed to be a destination address, so explicitly blocking that address doesn't really make sense.

    – Ron Maupin
    Mar 23 at 18:57







2




2





You route packets, not addresses. The packets are routed based on the destination address in the packet header. The 0.0.0.0 address (actually, any address in the 0.0.0.0/8 network) is not allowed to be a destination address, so explicitly blocking that address doesn't really make sense.

– Ron Maupin
Mar 23 at 18:57





You route packets, not addresses. The packets are routed based on the destination address in the packet header. The 0.0.0.0 address (actually, any address in the 0.0.0.0/8 network) is not allowed to be a destination address, so explicitly blocking that address doesn't really make sense.

– Ron Maupin
Mar 23 at 18:57










1 Answer
1






active

oldest

votes


















6














"Routing" means forwarding a packet based on its network-layer destination address, usually IPv4 or IPv6.



Routing is done by comparing the destination address to the entries in the local routing table and using the best (=longest prefix) match. The entry contains the next-hop gateway or the interface that the packet is then sent to/out of.



0.0.0.0/0 is the default route - because the prefix has zero length it matches any address. However, it is only selected when no other routing entry matches.



As IP address, 0.0.0.0 generally cannot be used (except as source address when configuring an interface, such as with DHCP).






share|improve this answer

























  • Thanks. Does 0.0.0.0 (as an IP address) have two completely different meanings? (1) A process specifies its own unknown address to another process not in the same host, e.g. the DHCP example, and (2) a process specifies that it is listening on all the addresses on the local host, e.g. netstat shows mysql server is listening at ::mysql (unix.stackexchange.com/q/508009/674)?

    – Tim
    Mar 23 at 16:42












  • In "Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed", does 0.0.0.0 mean a IP address? Why is it never routed?

    – Tim
    Mar 23 at 16:45











  • Yes, 0.0.0.0 is also used when specifying "all local IP addresses" when allocating a BSD-style socket - however, this is host-specific and thus off-topic here.

    – Zac67
    Mar 23 at 16:46











  • You can't use 0.0.0.0 as destination address - so it's never routed.

    – Zac67
    Mar 23 at 16:56











  • Thanks. When a server uses 0.0.0.0 to indicate it is listening at all the IP adresses of local host, is 0.0.0.0 used as source address, destination address, or neither?

    – Tim
    Mar 23 at 21:46











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "496"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f57905%2fwhat-does-routing-an-ip-address-mean%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














"Routing" means forwarding a packet based on its network-layer destination address, usually IPv4 or IPv6.



Routing is done by comparing the destination address to the entries in the local routing table and using the best (=longest prefix) match. The entry contains the next-hop gateway or the interface that the packet is then sent to/out of.



0.0.0.0/0 is the default route - because the prefix has zero length it matches any address. However, it is only selected when no other routing entry matches.



As IP address, 0.0.0.0 generally cannot be used (except as source address when configuring an interface, such as with DHCP).






share|improve this answer

























  • Thanks. Does 0.0.0.0 (as an IP address) have two completely different meanings? (1) A process specifies its own unknown address to another process not in the same host, e.g. the DHCP example, and (2) a process specifies that it is listening on all the addresses on the local host, e.g. netstat shows mysql server is listening at ::mysql (unix.stackexchange.com/q/508009/674)?

    – Tim
    Mar 23 at 16:42












  • In "Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed", does 0.0.0.0 mean a IP address? Why is it never routed?

    – Tim
    Mar 23 at 16:45











  • Yes, 0.0.0.0 is also used when specifying "all local IP addresses" when allocating a BSD-style socket - however, this is host-specific and thus off-topic here.

    – Zac67
    Mar 23 at 16:46











  • You can't use 0.0.0.0 as destination address - so it's never routed.

    – Zac67
    Mar 23 at 16:56











  • Thanks. When a server uses 0.0.0.0 to indicate it is listening at all the IP adresses of local host, is 0.0.0.0 used as source address, destination address, or neither?

    – Tim
    Mar 23 at 21:46















6














"Routing" means forwarding a packet based on its network-layer destination address, usually IPv4 or IPv6.



Routing is done by comparing the destination address to the entries in the local routing table and using the best (=longest prefix) match. The entry contains the next-hop gateway or the interface that the packet is then sent to/out of.



0.0.0.0/0 is the default route - because the prefix has zero length it matches any address. However, it is only selected when no other routing entry matches.



As IP address, 0.0.0.0 generally cannot be used (except as source address when configuring an interface, such as with DHCP).






share|improve this answer

























  • Thanks. Does 0.0.0.0 (as an IP address) have two completely different meanings? (1) A process specifies its own unknown address to another process not in the same host, e.g. the DHCP example, and (2) a process specifies that it is listening on all the addresses on the local host, e.g. netstat shows mysql server is listening at ::mysql (unix.stackexchange.com/q/508009/674)?

    – Tim
    Mar 23 at 16:42












  • In "Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed", does 0.0.0.0 mean a IP address? Why is it never routed?

    – Tim
    Mar 23 at 16:45











  • Yes, 0.0.0.0 is also used when specifying "all local IP addresses" when allocating a BSD-style socket - however, this is host-specific and thus off-topic here.

    – Zac67
    Mar 23 at 16:46











  • You can't use 0.0.0.0 as destination address - so it's never routed.

    – Zac67
    Mar 23 at 16:56











  • Thanks. When a server uses 0.0.0.0 to indicate it is listening at all the IP adresses of local host, is 0.0.0.0 used as source address, destination address, or neither?

    – Tim
    Mar 23 at 21:46













6












6








6







"Routing" means forwarding a packet based on its network-layer destination address, usually IPv4 or IPv6.



Routing is done by comparing the destination address to the entries in the local routing table and using the best (=longest prefix) match. The entry contains the next-hop gateway or the interface that the packet is then sent to/out of.



0.0.0.0/0 is the default route - because the prefix has zero length it matches any address. However, it is only selected when no other routing entry matches.



As IP address, 0.0.0.0 generally cannot be used (except as source address when configuring an interface, such as with DHCP).






share|improve this answer















"Routing" means forwarding a packet based on its network-layer destination address, usually IPv4 or IPv6.



Routing is done by comparing the destination address to the entries in the local routing table and using the best (=longest prefix) match. The entry contains the next-hop gateway or the interface that the packet is then sent to/out of.



0.0.0.0/0 is the default route - because the prefix has zero length it matches any address. However, it is only selected when no other routing entry matches.



As IP address, 0.0.0.0 generally cannot be used (except as source address when configuring an interface, such as with DHCP).







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 23 at 16:43

























answered Mar 23 at 16:33









Zac67Zac67

32.7k22164




32.7k22164












  • Thanks. Does 0.0.0.0 (as an IP address) have two completely different meanings? (1) A process specifies its own unknown address to another process not in the same host, e.g. the DHCP example, and (2) a process specifies that it is listening on all the addresses on the local host, e.g. netstat shows mysql server is listening at ::mysql (unix.stackexchange.com/q/508009/674)?

    – Tim
    Mar 23 at 16:42












  • In "Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed", does 0.0.0.0 mean a IP address? Why is it never routed?

    – Tim
    Mar 23 at 16:45











  • Yes, 0.0.0.0 is also used when specifying "all local IP addresses" when allocating a BSD-style socket - however, this is host-specific and thus off-topic here.

    – Zac67
    Mar 23 at 16:46











  • You can't use 0.0.0.0 as destination address - so it's never routed.

    – Zac67
    Mar 23 at 16:56











  • Thanks. When a server uses 0.0.0.0 to indicate it is listening at all the IP adresses of local host, is 0.0.0.0 used as source address, destination address, or neither?

    – Tim
    Mar 23 at 21:46

















  • Thanks. Does 0.0.0.0 (as an IP address) have two completely different meanings? (1) A process specifies its own unknown address to another process not in the same host, e.g. the DHCP example, and (2) a process specifies that it is listening on all the addresses on the local host, e.g. netstat shows mysql server is listening at ::mysql (unix.stackexchange.com/q/508009/674)?

    – Tim
    Mar 23 at 16:42












  • In "Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed", does 0.0.0.0 mean a IP address? Why is it never routed?

    – Tim
    Mar 23 at 16:45











  • Yes, 0.0.0.0 is also used when specifying "all local IP addresses" when allocating a BSD-style socket - however, this is host-specific and thus off-topic here.

    – Zac67
    Mar 23 at 16:46











  • You can't use 0.0.0.0 as destination address - so it's never routed.

    – Zac67
    Mar 23 at 16:56











  • Thanks. When a server uses 0.0.0.0 to indicate it is listening at all the IP adresses of local host, is 0.0.0.0 used as source address, destination address, or neither?

    – Tim
    Mar 23 at 21:46
















Thanks. Does 0.0.0.0 (as an IP address) have two completely different meanings? (1) A process specifies its own unknown address to another process not in the same host, e.g. the DHCP example, and (2) a process specifies that it is listening on all the addresses on the local host, e.g. netstat shows mysql server is listening at ::mysql (unix.stackexchange.com/q/508009/674)?

– Tim
Mar 23 at 16:42






Thanks. Does 0.0.0.0 (as an IP address) have two completely different meanings? (1) A process specifies its own unknown address to another process not in the same host, e.g. the DHCP example, and (2) a process specifies that it is listening on all the addresses on the local host, e.g. netstat shows mysql server is listening at ::mysql (unix.stackexchange.com/q/508009/674)?

– Tim
Mar 23 at 16:42














In "Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed", does 0.0.0.0 mean a IP address? Why is it never routed?

– Tim
Mar 23 at 16:45





In "Blocking 0.0.0.0 makes no sense. In IPv4 it is never routed", does 0.0.0.0 mean a IP address? Why is it never routed?

– Tim
Mar 23 at 16:45













Yes, 0.0.0.0 is also used when specifying "all local IP addresses" when allocating a BSD-style socket - however, this is host-specific and thus off-topic here.

– Zac67
Mar 23 at 16:46





Yes, 0.0.0.0 is also used when specifying "all local IP addresses" when allocating a BSD-style socket - however, this is host-specific and thus off-topic here.

– Zac67
Mar 23 at 16:46













You can't use 0.0.0.0 as destination address - so it's never routed.

– Zac67
Mar 23 at 16:56





You can't use 0.0.0.0 as destination address - so it's never routed.

– Zac67
Mar 23 at 16:56













Thanks. When a server uses 0.0.0.0 to indicate it is listening at all the IP adresses of local host, is 0.0.0.0 used as source address, destination address, or neither?

– Tim
Mar 23 at 21:46





Thanks. When a server uses 0.0.0.0 to indicate it is listening at all the IP adresses of local host, is 0.0.0.0 used as source address, destination address, or neither?

– Tim
Mar 23 at 21:46

















draft saved

draft discarded
















































Thanks for contributing an answer to Network Engineering Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f57905%2fwhat-does-routing-an-ip-address-mean%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers