Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: apoorv on October 23, 2003, 07:54:49 PM

Title: Connecting different LANs
Post by: apoorv on October 23, 2003, 07:54:49 PM
We have 3 eight port hubs supporting three different lans, the pc on the lan runs combination of windoz and Linux. I want to connect two lans through a linux box Running Redhat 7.3,
My requirements are to share files across the different networks. And lan intranet webhosting.

What could be the best way to do that..??
Samba, SSH, or Telnet??

Or Should I use  Iptables????

Please suggest !!

Thank you! in Advance...
Title: Connecting different LANs
Post by: taraj on October 26, 2003, 09:06:23 PM
Here you can do one thing..

You can make your two hubs look like one by enabling ip forwarding through Linux box..
To do so ..
Code: [Select]
echo 1 > /proc/sys/net/ipv4/ip_forward
Then use ur samba to enable file sharing between windows and Linux machine.
Give a look to following address..
http://www.samba.org
http://hr.uoregon.edu/davidrl/samba.html

Regards
Title: Connecting different LANs
Post by: dragoncity99 on February 15, 2004, 04:15:38 AM
Samba---> It's meant for file sharing. ( ***USE THIS***)
SSH   ----> It's meant for remote administration of ur server.
Telnet----> Never, never use this. (IT'S 100% INSECURE)

Iptables is meant for packet filtering stuffs (FIREWALL-ing)

So overall to make ur network work nice :)
I suggest u make ur linux box:

1) DHCP Server,
2) Samba File Server
3) An Apache webserver
4) IP Tables is up running.

5)MRTG (Multi Router Traffic Grapher -HEARD B4?) It's optional but nice. :)
Try not to make a box to be multi-Server if possible.