Question Locked

How to Connect two LANs.

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have two LANs both having seperate Dlink 24 Port Switches. These switches are adjacently located. One LAN is Connected to internet via a Router of the ISP. Now i want to establish this two as a single LAN and share the internet. Plz tell me the way to make it possible

Thanks in advance for the advice.

5 replies

by alashhar

(1)you have to make your both LAN in the same subnet where they share the same IP addresses schema and same subnet mask such as

IP addresses from 192.168.0.1 to 192.168.0.254
subnet mask 255.255.255.0

(2)you have to configure all the host to one default gateway which your router address for example 192.168.0.1 in order to connect to the Internet.

i hope my answer is useful for you

by ziqbal452

connect the both swithes with cross cable and configure the Router Ip address as default gateway of each system.

by tintoman

It is a simple matter of connecting the 2 switches together with an ethernet cable.
You do not need to configure each pc with a new default gateway if you have them set as automatically addresses DHCP clients

by alashhar

tintoman

in order to allow users to connect to the Internet through the router , you have to configure the default gateway address option in DHCP server.

however he did not mentioned that he has dhcp server.

thanks

This discussion is closed to new replies.