LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-06-2006, 11:23 PM   #1
Hakencreuz
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
Smile A switch to Linux


Hi guys! Long time no see. I miss you so much. In my last thread I asked about the default gateway. Some of the members in this forum replied. Hereby I would like to thank you for your kindly answer.

But I'm still confused about the default gateway and router(Don't laught at me. I'm not as smart as you do). Hereby I would like to ask a question concerning the network. Hope you can give me a detailed answer.

I work in a junior middle school. In our school,we have more than 100 PCs. According to the headmaster, all of them should be able to access the Internet.

But I DO NOT have a router. So I use a PC as the default gateway (IP 192.168.0.254), and every PC in the LAN can surf the net easily.

We use internet to do a lot of work, surfing the net, download software, online chat (msn, yahoo messenger),sending and receiving Emails,etc.

I use Windows 2000 Server edition as our default gateway operating system. As we know using windows means you have to spend a lot of time in trouble shooting. I'm getting sick of these boring work. So I am wondering if I could make a switch. A switch from Windows 2000 server to Redhat Linux.

But I have no idea. What should I do and how could I get the work done. Do I have to build up a Linux gateway or run a Linux PC as a router. Will squid comfort my needs?

Waiting for your reply. Thank you again.
 
Old 11-07-2006, 03:09 AM   #2
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
Redhat Linux would (obviously) have no problem being your gateway server. I'm presuming you're basically talking about installing RH on your current Win2K box, erasing Win2K?? Which would mean that if the box is already your gateway, it will already have 2 ethernet ports, one for the WAN and one for the LAN. Once RH is installed, AFAIK, you'd need to bridge the to ethernet ports. You can do this using iptables.

As for squid, this would be useful if you wanted the RH box to act as a proxy server as well as a gateway.

Hope I've understood what you were asking and that I helped.

--Added--
It's worth noting that if you're uncomfortable installing RH over Win2K you could download Knoppix and boot from the CD on your gateway, leaving Windows completely untouched. You could then experiment with Knoppix. This will give you a rough idea of what would be involved in setting up Linux as a gateway.

Last edited by mickyg; 11-07-2006 at 03:11 AM.
 
Old 11-07-2006, 12:30 PM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

If you don't really know Linux and don't want to spend hour configuring RedHat to fit your requirements, I would suggest you to try some specific distro like IPCOP which are tailored to do gateway/firewall stuff. Moreover with such a distro you don't need deep Linux knowledge... Some network knowledge are enough

Oliv'
 
Old 11-18-2006, 09:27 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
SmoothWall Express is another dedicated FW distro.

If you decide to try it, be careful, SmoothWall Express formats every HD in the box it's installed on. This is a security measure & cannot be changed. So, if you want to preserve your W2k install, you will either have to remove its HD from the box when you install SmoothWall Express, or install SmoothWall Express on a different box (w/ at least NICs).

IPCOP was originally derived from SmoothWall Express & may/probably exhibit the same behavior.
 
Old 11-22-2006, 11:19 PM   #5
Hakencreuz
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you. Hereby I would like to repeat my confusion. The question that I'm not quite understand is:
1. How to make Linux as my default gateway. And
2. If I have already made Linux my default gateway. Do I have to configure SQUID? In other words does the default gateway and squid have the same function?
 
Old 11-23-2006, 12:22 AM   #6
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
I have read your post and it is touching seeing that you have a passion for exploring a bit with linux but take care while you experiment on your connections.
Now its very straight forward that once you get it you will be amazed at what it can do. One, linux comes with squid which as you were informed earlier on will help you configure a proxy server which will be queried by all the machines on the Thus acting as your networks Default Gateway although this would work better if you had a firewall hardware like soniwall for security and also for performing Network Address Translation for your LAN. Two you should have two ethernet adapters if you want to implement it as a proxy serverne to the lan the other to the WAN.Three configure squid to limit access from various ports(see man squid for this) just to tighten the security.
If you need further assistance dont hesitate to post you problem.
Cheers
 
Old 11-23-2006, 07:19 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,376

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
If you are interested in internet content filtering, then you should take a look at Dansguardian. I have no experience, but it is often used in Linux servers set up in schools.
FWIW
 
Old 12-07-2006, 06:40 PM   #8
Hakencreuz
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you for your kindly replies! I'll try your plan. And I'm sure I'll continue to work hard on Linux.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Zoom modem/switch & linux<->linux network: DHCP / Static ? tredegar Linux - Networking 8 11-11-2007 03:41 AM
Hardware Switch; Linux and Windows; Linux Wins!! AvePtah LinuxQuestions.org Member Success Stories 5 11-25-2006 05:10 PM
I have a 64bit CPU but I run linux-86.. How to switch to linux-86_64? vratojr Linux - Hardware 2 02-21-2006 04:42 AM
thread switch results in kernel stack switch superstition Linux - General 1 05-17-2005 11:48 PM
set up DSL thru SWITCH - winXp connected to SWITCH too husz Linux - Newbie 5 04-22-2004 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration