1

i want to connect two LANs, each one has a router, to allow pc's to communicate between the two LANs without internet. i am a complete beginner in networking and i need to make this project urgently. it's supposed to look something like this https://i.sstatic.net/Jj02q.jpg . how to connect two routers with an ethernet cable? and if possible, can anyone give me the easiest solution to implement the network in the picture.

1
  • 1
    What are the router models? How you configure that would depend on the router models. Also, are you going to use static routes or a routing protocol?
    – Ron Maupin
    Commented May 7, 2018 at 13:34

1 Answer 1

1

You'll probably want a routed link.

  1. Select a network that's not used anywhere like 10.255.254.0/28.
  2. Select two IP addresses from this network, e.g. 10.255.254.1 and 10.255.254.2.
  3. Configure one port on each side with one of them.
  4. Connect these two ports.
  5. Make each remote network known to the other side by setting either a static route or by using a common routing protocol like OSPF.
  6. Set each router as default gateway for all local hosts (you're not going anywhere else without Internet).
  7. Enjoy.
1
  • thank you for the well structured answer, how do i connect both routers? using WAN or LAN ports? i dont intend to use internet in any of them
    – ala
    Commented May 9, 2018 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.