Differenze tra le versioni di "Net-HOWTO"

Da GolemWiki.
Jump to navigation Jump to search
Riga 28: Riga 28:
 
==IPv4 Addresses, an Explanation==
 
==IPv4 Addresses, an Explanation==
 
[[File:Ipv4-1.webp|500px|right]]
 
[[File:Ipv4-1.webp|500px|right]]
Internet Protocol v4 Addresses are composed of 4 bytes (32 bit), each byte is converted to a decimal number (0-255) and bytes are separated by a '''.''' ''(dot)'', for this reason IPv4 addresses are limits to near 4 billions (2^32). Usually every network interface has its own IP address in a format like this: <code>192.168.0.5</code>
+
Internet Protocol v4 Addresses are composed of 4 bytes (32 bit), each byte is converted to a decimal number (0-255) and bytes are separated by a '''.''' ''(dot)'', for this reason IPv4 addresses are limits to near 4 billions (2<sup>32</sup>). Usually every network interface has its own IP address in a format like this: <code>192.168.0.5</code>
  
 
===Subnetting===
 
===Subnetting===
 +
Addresses in a network have some digits in common, that part is called the ''network portion'' of the address, the remaining numbers are called the '''host portion'''. The number of bits shared by all addresses of a network is called the '''netmask''' and its role is to determine which addresses belong to the network and which don't.
  
 
+
For example:
 
 
 
 
https://en.wikipedia.org/wiki/Subnet
 
 
 
Internet Protocol Networks are contiguous sequences of IP addresses. All addresses within a network have a number of digits within the address in common. The portion of the address that is common amongst all addresses within the network is called the `network portion' of the address. The remaining digits are called the `host portion'. The number of bits that are shared by all addresses within a network is called the netmask and it is role of the netmask to determine which addresses belong to the network it is applied to and which don't. For example, consider the following:
 
 
 
 
             -----------------  ---------------
 
             -----------------  ---------------
             Host Address      192.168.110.23
+
             Host Address      192.168.0.23
 
             Network Mask      255.255.255.0
 
             Network Mask      255.255.255.0
             Network Portion    192.168.110.
+
             Network Portion    192.168.0.
             Host portion                 .23
+
             Host portion               .23
 
             -----------------  ---------------
 
             -----------------  ---------------
             Network Address    192.168.110.0
+
             Network Address    192.168.0.0
             Broadcast Address  192.168.110.255
+
             Broadcast Address  192.168.0.255
 
             -----------------  ---------------
 
             -----------------  ---------------
 
              
 
              
 
+
https://en.wikipedia.org/wiki/Subnet
Any address that is 'bitwise anded' with its netmask will reveal the address of the network it belongs to. The network address is therefore always the lowest numbered address within the range of addresses on the network and always has the host portion of the address coded all zeroes.
 
 
 
 
 
 
 
  
  

Versione delle 11:56, 14 dic 2024

Introduction

This is the first release of the GOLEM Network Howto, this document aims to be a sort of unofficial update of the Linux Networking Howto.

General Information about Networking

Sources of non-linux-specific network information

If you are looking for general TCP/IP networking information, here you can find some resources:


Generic Network Configuration Information

Network tools

iproute2: IP Routing Utilities

nftables: Linux kernel packet control tool (firewall)

iputils: arping, clockdiff, ping, tracepath

Legacy tools

net-tools: configuration tools for Linux networking (arp, ifconfig, ipmaddr, iptunnel, mii-tool, nameif, netstat, plipconfig, rarp, route, slattach)

iptables: Linux kernel packet control tool (firewall)

Network Application Programs

Most common network application programs are collected in the inetutils package: dnsdomainname, ftp, ftpd, hostname, ifconfig, ping, rcp, rlogin, rlogind, rsh, rshd, talk, talkd, telnet, telnetd, whois


IPv4 Addresses, an Explanation

Ipv4-1.webp

Internet Protocol v4 Addresses are composed of 4 bytes (32 bit), each byte is converted to a decimal number (0-255) and bytes are separated by a . (dot), for this reason IPv4 addresses are limits to near 4 billions (232). Usually every network interface has its own IP address in a format like this: 192.168.0.5

Subnetting

Addresses in a network have some digits in common, that part is called the network portion of the address, the remaining numbers are called the host portion. The number of bits shared by all addresses of a network is called the netmask and its role is to determine which addresses belong to the network and which don't.

For example:

           -----------------  ---------------
           Host Address       192.168.0.23
           Network Mask       255.255.255.0
           Network Portion    192.168.0.
           Host portion                .23
           -----------------  ---------------
           Network Address    192.168.0.0
           Broadcast Address  192.168.0.255
           -----------------  ---------------
           

https://en.wikipedia.org/wiki/Subnet



https://tldp.org/HOWTO/NET3-4-HOWTO-5.html

Bibliography

Linux Networking HOWTO