このページはあなたの指定言語の彼の無効性のために英語で掲示される How to install its /30 Nerim ?
a made page has suits it quickly.
First of all description :
your /30 contain 4 IP Addresses why ?
it is quite simple a ipv4 is coded on 32 bits thus your block being one /30 what wants to say that one
uses that the 3 last bit for your network.
what makes us :
2^3 = 8
Then there are certain rules in the addressing of the networks with TCP/IP :
1) the first IP is always the address of the network ( even on your private network : 192.168.0.0/16).
2) the IP following are available for the addressing of your network except the last.
3) the last IP is always the broadcast address ( broadcast : 192.168.255.255 ).
according to this principle a network with class :
192.168.0.0 is a network address.
192.168.2.0 is a network address.
192.168.255.255 is a broadcast address.
192.168.2.255 is a broadcast address.
what gives us for one /30 at Nerim :
62.4.21.176/29 (for example)
- 62.4.21.176 : network address (non usable)
- 62.4.21.177 : machine address
- 62.4.21.178 : machine address
- 62.4.21.179 : broadcast address (non usable)
Now to avoid the use by defect of the IP local (private)
it is necessary to allocate one of these IP to the Internet gateway (via Nerim)
for example 62.4.21.177
we thus have :
- 62.4.21.177 : router adress (default route: that which the PPP gives)
- 80.65.224.57 : address obtained by PPP on the other interface of the router
- 62.4.21.178 : machine address (default route : 62.4.21.177)
and finally sum of money detail the mask of under network it is defined by the /30
what thus gives us 255.255.255.252 because
11111111 | 11111111 | 11111111 | 11111100 |
255 | 255 | 255 | 252 |
for all the machines of the /30
The Diagram :
________________
(ip ppp) _____________ | |
80.65.224.57 | | 62.4.21.177 | |
----------| Router |----------------| Hub/Switch |
|_____________| | |
|________________|
|
------------------------------------
|62.4.21.178
|
|
____|____
| |
| |
| |
|_________|
|