Routing between two LAN

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Routing between two LAN
# 1  
Old 09-06-2001
Question Routing between two LAN

Here's the problem. I got one network with a internett connection (2mbit). In this network there's 5 computers connected together with a hub. The other network is also with 5 computers. I'm just wondering if I could connect these networks together. But the one network should not get access to the internett. Ip's on the first network is something like this ip: 10.29.9.* and the netmask is The network with a inet connection has also a NAT router and firewall wich I do not have access to. The other half with no inet connection, here I can decide the ip and netmask myself. I may have a solution but I'm not sure if it will work so that's why I'm posting this. I'm thinking about having a OpenBSD box with to network cards. Smilie Please excuse my english knowlegde.

# 2  
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Routing issue - local vs LAN

hi guys suse 11 SP1 x64 I have a server (4 NIC ports that connects point to point to a storage device (same thing 4 ports but this server connects to normal LAN 10.6.100.x - gateway the issue is when testing connectivity to the storage... (7 Replies)
Discussion started by: karlochacon
7 Replies

2. 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

3. 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

4. IP Networking


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

5. 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

6. 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 uses 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 perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

7. 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 subnet default gate way (3 Replies)
Discussion started by: seshumohan
3 Replies

8. UNIX for Dummies Questions & Answers

lan setting

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

9. 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

10. 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? Im a client desktop and im obrigatory to put an IP to get conection whith Server... Thanks... Help me please... (0 Replies)
Discussion started by: marpin
0 Replies
Login or Register to Ask a Question