I am studying for an exam but I'm not sure I understand everything. I'm trying to work with an example, but I need someone to confirm that I'm doing it right.
R <- Router
PC <- Number of pc(s) connected to this router
N <- Network (for ip allocation purposes)
Let's say I have:
- IP - 22.214.171.124
- Netmask - 255.255.255.0
That means I have 256 IP's within 126.96.36.199 - 188.8.131.52. I will divide this into several smaller sub-networks, each with a network / broadcast IP (but I still have 256 IPs to work with, I don't need a network IP / Broadcast IP for the whole thing - picture - do I?)
When I allocate IPs I need to remember that the first one is the network IP, the last one is the broadcast IP (No network should need anything else reserved ? right ?)
First we'll ignore R5, I'll have more questions about that one later.
N1 = 3 IP, 1 Broadcast, 1 Network. Does network mean router IP ? Or do I also need router IP ? If so, I'll set this up as a /29:
- 184.108.40.206 -> network
- 220.127.116.11 -> broadcast
- if I need a router IP where does it come in ? will it be 18.104.22.168 or is network ip == router ip ?
N1 = 3+2+1 = 6 => /29
N2 = 6+2+1 = 9 => /28
N3 = 90+2+1 = 93 => /25
N4 = 2+2+1 = 5 => /29
N6 = 3+2 = 5 => /29 (does this also need +2 - network / broadcast ?)
N7 = 2+2 = 4 => /30
Have I missed anything ? I know I have enough IPs to do this, but is it right ?
Also if I have R5, is it possible to add them somehow using fake IPs ? (I don't know the english word 10.0.0.0 is what I'm talking about) since the network connects to the internet trough R3. If you do answer this last question I'd really appreciate it if you could. I don't really understand Address Resolution Protocol, not even sure if that's what's supposed to be going on here.