sleyer

Distinguished
Jun 8, 2009
34
0
18,530
Helo all,

i have some question and need help from u all.

how to combine network ip user 192.168.1.*** with ip user 192.168.0.*** to have linked each other ?

lets say some pc using 192.168.1.156 other pc using 192.168.0.142


both using subnet class c 255.255.255.0

in same switch and yes using manage switches.

but how to setting ?
 
I'm not sure tof the context in which you will be using this, but...

I don't know if this can be don with SOHO routers. Enterprise routers allow you to assign more than one IP per LAN interface or better yet, have multiple LAN interfaces with a different network addresses assigned to each port.

I guess the easiest way would be to install two network cards in each PC and assign an address from one network on one card and an address from the other network on the other card.
 

Simo606

Honorable
May 11, 2012
292
0
10,860
Two ways that will work are:

a) Place them in the same network, 255.255.254.0, will work (easiest)

or

b) Put them in VLANS and have a router on a stick configuration (harder and requires router that supports it)

There are other ways too, I just listed two options I would do
 

sleyer

Distinguished
Jun 8, 2009
34
0
18,530




for u info both ip example : 192.168.0.*** and 192.168.1.*** have same subnet 255.255.255.0 but 192.168.0.*** and 192.168.1.*** cant share or see each other in network.
 

Simo606

Honorable
May 11, 2012
292
0
10,860
Why do they have to be in different subnets? Usually PC's connected via a common switch are in the same network. If you want them to speak you either need to route between the networks or put them in the same network. If you want to keep the same IP addresses, change their subnet masks to 255.255.254.0 or if you want to keep them as 255.255.255.0, change one of the IP addresses to be within the network range of the other.
 

sleyer

Distinguished
Jun 8, 2009
34
0
18,530



can u give some example ?
 

Simo606

Honorable
May 11, 2012
292
0
10,860

To explain why they do not speak with the current configuration, you have set the subnet mask as 255.255.255.0 for both PC's and incremented the third octet on the second PC. That means you have created 2 different networks and for them to speak you need them to be in the same network unless you create a route.

192.168.0.0 - 192.168.0.255 is the first PC's network
192.168.1.0 - 192.168.1.255 is the second PC's network

------

To keep same IP address and make them link:

IP1: 192.168.0.142
SUBNET1: 255.255.254.0

IP2: 192.168.1.156
SUBNET2: 255.255.254.0

Change the subnet mask in the NIC settings.

OR

Keep 255.255.255.0 subnet mask but change IP address of 1 PC:

IP1: 192.168.0.142
SUBNET1: 255.255.255.0

IP2: 192.168.0.xxx <--change the 'xxx' to anything between 1 and 254, make sure it does not overlap you default gateway or any other address
SUBNET2: 255.255.255.0

Change the IP address of PC2 in the NIC settings.



 

sleyer

Distinguished
Jun 8, 2009
34
0
18,530



thx for u explanation .. i will try understand it how its work. thx bro
 

sleyer

Distinguished
Jun 8, 2009
34
0
18,530



yeah.. seem like i need to read more on network part :bounce:
 

Simo606

Honorable
May 11, 2012
292
0
10,860

It should work since they are in the same network both with 255.255.254.0 subnets.

Change subnets back to 255.255.255.0 and keep ip of 192.168.0.142 the same and make other 192.168.0.143
 

TRENDING THREADS