Routing From One LAN to Another LAN

Unanswered Question
May 3rd, 2007

I am installing a LAN with private IP address's. We will call this LAN 1

It has a router that is connected to

another LAN we will call LAN 2

I need to send email from a single

machine on LAN 1 to a server on

LAN 2. The IP address's on lAN 1 are all nailed. The address's on LAN 2

are all DHCP assigned, but have

a domain server.

LAN 2 is connected to the Internet as most are, via a Router.

How can I send email from LAN 1 to the

server on LAN 2, so people on LAN 2

will recieve the email.

Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
mohammedmahmoud Thu, 05/03/2007 - 11:03

Hi,

If i understand you right both LAN1 and LAN2 are connected to the router, if this is right then all that you need is to make the default gateway of PCs on LAN1 the ip address of the ethernet interface of the router connected to LAN1 and vice versa for LAN2.

HTH, please rate if it does help,

Mohammed Mahmoud.

asterof53 Thu, 05/03/2007 - 11:52

LAN 1 is connected to a LAN Port

LAN 2 is connected to the WAN Port

The Router is getting a DHCP address

for the WAN side from a DHCP server

on the LAN 2 network.

How would I know what

the default gateway IP would be.

Also the only thing I can change is

settings on the Router Connected to LAN 1.

I cannot change anything thats on LAN 2

mohammedmahmoud Thu, 05/03/2007 - 12:02

Hi,

Since both LANs are connected to the same router, then nothing is to be done on the router, the router routes automatically between its directly connected interfaces, the only thing to be done is to configure the default gateway on the PCs on both sides to use the router as their default gateway.

The second option is to enable proxy ARP on the router interfaces.

HTH, please rate if it does help,

Mohammed Mahmoud.

asterof53 Thu, 05/03/2007 - 12:32

Thats the problem, I can not change anything

on the PC's on LAN 2.

The gateway on LAN2's router to the internet

can not be changed, nor the PC's that use that router.

mohammedmahmoud Thu, 05/03/2007 - 12:42

Hi,

Can you add a static route on the internet router pointing back to LAN1 IPs making the next-hop the router connecting the 2 LANs.

HTH, please rate if it does help,

Mohammed Mahmoud.

asterof53 Thu, 05/03/2007 - 13:45

You mean add on static IP on LAN1

that is normaly dynamic IP's

Yes I think I could get them to give me one

Static IP for the WAN side of the router

and the LAN side is already all Static

mohammedmahmoud Thu, 05/03/2007 - 14:04

Hi,

All that we need is a route on the internet router of LAN2 that points back to LAN1 through the first router, so you'll need to add a static route on the internet router pointing back to LAN1 IPs making the next-hop the router connecting the 2 LANs (the first router).

HTH, please rate if it does help,

Mohammed Mahmoud.

acomiskey Thu, 05/03/2007 - 12:44

There must be another router involved on LAN2? You need to add a route on LAN2 to LAN1 subnet via WAN port you mentioned above.

edit: sorry, mohammedmahmoud simultaneous post

Actions

This Discussion