What does routing an IP address mean?What 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?

Transformation of random variables and joint distributions

How do ground effect vehicles perform turns?

In Star Trek IV, why did the Bounty go back to a time when whales are already rare?

Is it possible to use .desktop files to open local pdf files on specific pages with a browser?

Open a doc from terminal, but not by its name

Can I Retrieve Email Addresses from BCC?

Why does the integral domain "being trapped between a finite field extension" implies that it is a field?

How will losing mobility of one hand affect my career as a programmer?

Query about absorption line spectra

My friend sent me a screenshot of a transaction hash, but when I search for it I find divergent data. What happened?

Engineer refusing to file/disclose patents

Can the Supreme Court overturn an impeachment?

Would it be legal for a US State to ban exports of a natural resource?

Is it possible to have a strip of cold climate in the middle of a planet?

Melting point of aspirin, contradicting sources

Customize circled numbers

List of people who lose a child in תנ"ך

Some numbers are more equivalent than others

Journal losing indexing services

Should I stop contributing to retirement accounts?

A social experiment. What is the worst that can happen?

Can a significant change in incentives void an employment contract?

Freedom of speech and where it applies

How to align and center standalone amsmath equations?



What does routing an IP address mean?


What 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
    yesterday















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
    yesterday













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 yesterday









Zac67

32k22163




32k22163










asked yesterday









TimTim

613516




613516







  • 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
    yesterday












  • 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
    yesterday







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
yesterday





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
yesterday










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
    yesterday












  • 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
    yesterday











  • 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
    yesterday











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

    – Zac67
    yesterday











  • 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
    yesterday










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
    yesterday












  • 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
    yesterday











  • 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
    yesterday











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

    – Zac67
    yesterday











  • 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
    yesterday















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
    yesterday












  • 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
    yesterday











  • 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
    yesterday











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

    – Zac67
    yesterday











  • 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
    yesterday













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 yesterday

























answered yesterday









Zac67Zac67

32k22163




32k22163












  • 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
    yesterday












  • 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
    yesterday











  • 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
    yesterday











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

    – Zac67
    yesterday











  • 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
    yesterday

















  • 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
    yesterday












  • 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
    yesterday











  • 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
    yesterday











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

    – Zac67
    yesterday











  • 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
    yesterday
















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
yesterday






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
yesterday














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
yesterday





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
yesterday













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
yesterday





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
yesterday













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

– Zac67
yesterday





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

– Zac67
yesterday













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
yesterday





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
yesterday

















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

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.