Sponsored Content
Full Discussion: Routing between two LAN
Top Forums UNIX for Dummies Questions & Answers Routing between two LAN Post 6524 by haha25 on Thursday 6th of September 2001 06:36:50 AM
Old 09-06-2001
It seems that u need a router or gateway to connect ur two lans.
I don't know how to setup a UNIX box as a gateway, but i ever did it in a windows.
In ur case, Lan1 is connected to internet through router and set NAT in the router or fireware.
Lan2 is another lan which u want to connect to internet.
U can setup a windows with two nics, lets call it Gateway. First nic is nicA, the second one is nicB.
Connect nicA in lan1, assign it the ip address and default gateway of lan1.
Connect nicB in lan2, assign it the ip address of lan2, leave the default gateway blank.
Install Winroute in ur Gateway, inside Winroute, enable NAT in nicA.
Set all other computers in lan2 to use the ip address of nicB as their default gateway.
Then all computers in lan2 can connect internet through the Gateway.


I am very interesting in how to setup a UNIX box as a gateway and enable NAT, any one can give me an example? Thanks
 

10 More Discussions You Might Find Interesting

1. Solaris

Wireles Lan...

Someone know how to configure a Wireles NetWork Card (PCI Adapter) on Solaris 10 OS? After install the correct driver, what must i have to do? I´m a client desktop and i´m obrigatory to put an IP to get conection whith Server... Thanks... Help me please... (0 Replies)
Discussion started by: marpin
0 Replies

2. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

3. UNIX for Dummies Questions & Answers

lan setting

heyyy im using ferdora 7 ...but systems on my lan have windos xp ..so im able to access those systems but they r not can u help me out.... (1 Reply)
Discussion started by: mightypp.nits
1 Replies

4. Linux

lan help

iam using open suse 10.3 in dual boot with windows internet is through Lan(ethernet) in windows by entering below data in Lan properties net is coming the information is bellow ip 10.2.45.67 subnet 255.255.0.0 default gate way 10.1.1.4... (3 Replies)
Discussion started by: seshumohan
3 Replies

5. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

6. Red Hat

Different hostnames with reboot while lan cable, no lan cable

I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable Reboot with lan cable: The hostname is ubunut Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies

7. IP Networking

lan

how can i make lan between two or more computers having linux fedora as os...? (1 Reply)
Discussion started by: Ravi Kumar Mish
1 Replies

8. Fedora

about lan

how can i lan between two or more computers having linux fedora as os? (1 Reply)
Discussion started by: Ravi Kumar Mish
1 Replies

9. IP Networking

Routing traffic problem between 3G and Office Lan Network

Hi, I would like to ask some networking solution regarding my work LAN and 3G usb network problem. I want to route my internet traffic to the 3G network and sometimes connect to some of my work network for ssh to configure some workstation or print something. Currently my problem is i can't... (0 Replies)
Discussion started by: jao_madn
0 Replies

10. UNIX for Dummies Questions & Answers

Routing issue - local vs LAN

hi guys suse 11 SP1 x64 I have a server (4 NIC ports 192.168.100.100-103) that connects point to point to a storage device (same thing 4 ports 192.168.110.100-113) but this server connects to normal LAN 10.6.100.x - gateway 10.6.100.1 the issue is when testing connectivity to the storage... (7 Replies)
Discussion started by: karlochacon
7 Replies
ECACCESS-ASSOCIATION-DELETE(1p) 			User Contributed Perl Documentation			   ECACCESS-ASSOCIATION-DELETE(1p)

NAME
ecaccess-association-delete - Delete Association SYNOPSIS
ecaccess-association-delete -version|-help|-manual ecaccess-association-delete [-debug] [-gateway name] association-name DESCRIPTION
Allow deleting an ECtrans Association. Once deleted the Association can not be retrieved. The History associated with this Association will also be removed from the ECaccess Gateway Database. ARGUMENTS
association-name The name of the Association to delete. OPTIONS
-gateway name This is the name of the ECaccess Gateway where the Association is installed. It is by default the Gateway you are connected to. In order to get the name of your current Gateway you can use the ecaccess-gateway-name command. When using the commands at ECMWF the default Gateway is always "ecaccess.ecmwf.int". -version Display version number and exits. -help Print a brief help message and exits. -manual Prints the manual page and exits. -debug Display the SOAP messages exchanged. EXAMPLES
ecaccess-association-delete -gateway ecaccess.ecmwf.int test Remove the test Association on the ecaccess.ecmwf.int Gateway. ecaccess-association-delete test2 Remove the test2 Association on the default Gateway. SEE ALSO
ecaccess-association-get, ecaccess-association-list, ecaccess-association-protocol, ecaccess-association-put and ecaccess. perl v5.14.2 2012-04-16 ECACCESS-ASSOCIATION-DELETE(1p)
All times are GMT -4. The time now is 12:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy