How to define network addresses for this simple system?

Gracoprog

Reputable
May 12, 2014
23
0
4,520
Hello people!

I'm developing a system's project that consists of 2 separate networks of 3 computers and 1 switch each, both connected and communicating with each other by a router.

For this system, i need to specify network addresses for the machines, subnet mask addresses and a router address.

I'm watching videos on youtube about TCP/IP and subnet masking. I've been learning a lot, but so far with out real understanding.

How to difine the addresses for the system described above?

Thanks!
 
Solution
A sample:
1st network: Address range 192.168.1.0 to 255; mask 255.255.255.0; router at 192.168.1.1
2nd network: Address range 192.168.2.0 to 255; mask 255.255.255.0; router at 192.168.2.1
Roter: Three networks: One for each internal network, one for external/internet

A sample:
1st network: Address range 192.168.1.0 to 255; mask 255.255.255.0; router at 192.168.1.1
2nd network: Address range 192.168.2.0 to 255; mask 255.255.255.0; router at 192.168.2.1
Roter: Three networks: One for each internal network, one for external/internet

 
Solution

SirSub42

Honorable
Aug 31, 2013
367
1
10,960
Are you given any sort of IP range to use for this? This picture was always helpful to me when dealing with networks/subnets early on. Alabalcho is on the right track with his sampling. You will need a /30 (255.255.255.252) network for each connection going from router to router. You will need to decide how many hosts you need on each additional network from there. If this is still troubling, feel free to shoot me a private message and I will be happy to give you a little more help 1 on 1.
 

Gracoprog

Reputable
May 12, 2014
23
0
4,520


Thank for the sample, man! The thing is that i dont have two routers in this project. I have 2 switches that connect each one the two networks. And the communication between the both networks happens via 1 router, that connect the 2 switches.
 
Lets assume what you are calling a router are the devices that your average home owner or small business buys. If you have connected your switches to 2 different lan ports then you have only 1 network. The lan ports are the same as another switch.

If you have actual router then the you can use the ip ranges given in the previous answer for the ports you have plugged your switches into.
 

TRENDING THREADS