cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2733
Views
4
Helpful
9
Replies

Routing From One LAN to Another LAN

asterof53
Level 1
Level 1

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

9 Replies 9

mohammedmahmoud
Level 11
Level 11

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.

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

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.

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.

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.

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

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.

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

Adam, no problem at all, we are all trying to help.

BR,

Mohammed Mahmoud.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card