Question

Locked

How to Connect two LANs.

By sajur21 ·
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.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

one subnet and default gateway is your router

by alashhar In reply to How to Connect two LANs.

(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

Collapse -

connect with cross cable

by ziqbal452 In reply to one subnet and default ga ...

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

Collapse -

This is correct

by tintoman In reply to connect with cross cable

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

Collapse -

default gateway on dhcp

by alashhar In reply to This is correct

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

Related Discussions

Related Forums