Computing.Net > Forums > Linux > network, router and server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

network, router and server

Reply to Message Icon

Name: Primoz
Date: October 17, 2008 at 18:28:33 Pacific
OS: opensuse 11
CPU/Ram: 2x p4, 1gb ram
Product: fujitsu semens primergy
Comment:

I have been assigned with task to set up network and websites for our local youth centre and I realised that I'll need some help, so why not ask the linux community, that is so well known for its prepareness to help in such projects:) I hope that since these questions are of very broad spectrum that this is the right topic.
What makes it a bit tricky is also the fact that the previous administrator left us without password so I couldnt look up any of the settings.

The goal is to set up a machine (Fujitsu Siemens Primergy TX+something, one 10/100 card for net and 100/1000 for lan) with a www server with four websites (php and later ruby supported, also needs mysql) and ftp server. The machine should also serve as a router for internal lan, which consists of a switch (DGS1216T) with 6 wired computers and an access point (RG54GS2) with another 8 computers, that should also be a free wi-fi spot. kinda like this:

internet <--> server <--> switch <--> 6 computers
^--> wireless access point <--> 8 computers + random visitors

I am using opensuse 11, because I know it recognises all the hardware. By now I have installed the system and started basic apache server.

I) This will seem like a very basic question but still: I have not managed to connect to the net, the ISP has given me a static IP, but that alone does not seem to work. We have a cable connection and by my opinion I should at least know the IPs of domain name servers? Should I also know the default gateway? And what would be my netmask? Are those two automatically detected or should I set them?

II) Since the websites are down now the second task would be to get those up. As I said Apache is running, but since there are 4 sites with different domain names, is that what virtual hosts are for? If yes, do I have to set more than just ServerName and target folder (subquestion: is server name the whole www.something.com or just a part of that)? Anything else I should look out for?

III) The part that I'm most afraid is setting up router. Users should be able to use any applications they desire, but we will most definitely want to close some ports later, when needed. I am almost certain that at this point I would need to know default gateway and netmask? Switches dont generally need any settings, just plug and play, am I correct? The access point (since it is basically a wireless router) should have DHCP disabled, anything else to set up here? I dont really know what else should I ask here, so if theres anything I'm missing, PLEASE point it out.

The second step is to learn something more and set up things that are not really needed right now: DNS server would be interesting to do, lan parties would be specially well attended, so a game server would be nice ...

Another feature we were thinking of is to get our user database (dont worry, they wont be spammed:)) by demanding logon if they want internet access. Since we dont want to create windows user accounts for each one, we would like an online logon (the browser demands username and password when user first try to surf internet). Are there any elegant or at least open-source solutions to this?

Please note that I am doing this for free and that this whole project is meant for the children and youth. I know my questions are just begging for a RTFM, but to get all answers woudl mean to read A LOT (not that I mind, but all this should be done yesterday;). I would greatly appreciate any help that I can get.

Hope I wasnt too long and that someone would read this:)



Sponsored Link
Ads by Google

Response Number 1
Name: quacked
Date: October 18, 2008 at 16:10:27 Pacific
Reply:

"Should I also know the default gateway? And what would be my netmask? Are those two automatically detected or should I set them?"

1.) the default gateway should be your ( cable modem, ) the modem could probably be configured so that the connection PPOE ? is set by the computer,Or if you prefer, using it as the default gateway, and it will assign the addresses either dynamically or statically ,

2.) Your netmask ,, 255.255.255.0 is for setting a static ip address of the internal network with dhcp , 255 sets the address at no changes and 0 allows for the address range,,,, 0-255 hosts for a class c network ,,,

http://www.computerhope.com/jargon/...

More in depth explanation at the link,,,,

3.) more importantly what are the dns servers, You could manually set them , and or call your isp to get them ,,, Usually just doing a " cat /etc/resolv.conf " from a terminal should bring up the dns server addresses

There are a lot more things to set-up and if I had to do it over again I'd probably set mine up a little differently,,,, anyway, following the numerous tutorials ,,, even at suse forums will probably be a better bet for you,,, I don't consider myself any kind of linux guru or anything ,,, but if need be perhaps I could provide some links to other tutorials that I found useful,,,,,,

MSI 845e mb 1 gb ram and a p4 2.4n running fedora 7 xp ,win 2000 advanced server and win 98 SE alot to learn and I know so little !!!!


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: network, router and server

Linksys Router and network with RH 7.2 www.computing.net/answers/linux/linksys-router-and-network-with-rh-72/4860.html

sharing networking windows98 and linux www.computing.net/answers/linux/sharing-networking-windows98-and-linux/2462.html

Linksys Router and Telnet www.computing.net/answers/linux/linksys-router-and-telnet/5418.html