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
NM-CONNECTION-EDITOR(1) 				      General Commands Manual					   NM-CONNECTION-EDITOR(1)

NAME
nm-connection-editor - network connection editor for NetworkManager SYNOPSIS
nm-connection-editor [ OPTIONS ] DESCRIPTION
nm-connection-editor is a GTK-based application to add, remove, and modify network connections stored by NetworkManager. NetworkManager must be running for any network connections to be added, removed, or modified. OPTIONS
-t, --type=<type> Type of connection to create or show. Values are NetworkManager setting names, eg "802-3-ethernet", "802-11-wireless", "bridge", "bond", "wimax", "infiniband", "vlan", etc. Does nothing if --create or --show is not given. -s, --show Expand or collapse the network list to highlight the network connection type given by --type. -c, --create Create a new connection of the type given by --type and allow the user to modify connection details. -e, --edit=<uuid> Show the network connection edit window for the connection of the given UUID. SEE ALSO
nmcli(1), NetworkManager(8), nm-applet(1). 15 February 2013 NM-CONNECTION-EDITOR(1)
All times are GMT -4. The time now is 01:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy