LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2003, 10:06 AM   #1
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Rep: Reputation: 15
simple dns


would it be easier to do a dns server for my house so to skip the proxy'ing and just share the connection? i may want to do proxying later, but mainly i just want to share the connection/make it a fileserver. is this wise?
 
Old 12-18-2003, 10:59 AM   #2
jcm
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
If you want an easier solution, just run a dhcp server for the computer you are sharing the connection from and have it send out your ISP DNS to all the clients and they will automatically use it. You could also just edit the host files and not have to worry about setting up a DNS for the computers on the networkto talk to each other.
 
Old 12-18-2003, 11:01 AM   #3
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
What kind of connection have you got? If you have access to more than one IP address, then you could connect as many computers as you have addresses with only a hub or switch.

If you only have one address, then you need a NAT (Network Address Translation) machine. You can either setup a Linux (or Windows, I think) PC to do that. Or you can buy a small hardware NAT machine. For example one of these:
http://www.dlink.com/products/category.asp?cid=2

Regards
Martin
 
Old 12-18-2003, 02:25 PM   #4
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
well, first of all, how would i modify the dhcp server so that i could do that? i will be having linux, windows, and mac computers connecting to the network, thats why i thought of it. the linux box thats gonna share the connection is gonna do a samba server too, so blah. but again, how would i configure the dhcp to do that? any links, advice or anything
 
Old 12-18-2003, 03:00 PM   #5
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Still, what are you trying to do. Sorry, I don't understand.

Do you want to use one dedicated machine as firewall / NAT translator and use DHCP for your internal (home) network? That machine will then have 2 NICs, one connected to Internet and one to your home network. Then every machine on your home network will get a dynamic IP-address from that machine and they can all access the Internet through the NAT firewall making your home network reasonably secure.

What Linux distribution are you using? If you want to know what distribution to use on a machine that does the above, then I'd recommend Devil Linux:
http://www.devil-linux.org

Regards
Martin
 
Old 12-18-2003, 06:36 PM   #6
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
yeah, ive heard of devil. but im currently running mandrake 9.1, so, how do i actually make the dhcp work? its gonna be on an old 600 mhz with 2 10/100 ethernet cards, and i want my friends to easily come by and hook up. i also am going to run a counter-strike and webserver, so i need a bit of routing capabilites. any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
A simple DNS solution mangueJOE Linux - Networking 10 04-09-2006 01:45 AM
Simple DNS help Tom123 Linux - Networking 4 10-07-2004 12:54 PM
Simple DNS update question felkin Linux - Networking 1 04-17-2004 01:33 AM
simple DNS linuxnube Linux - Networking 3 01-26-2004 07:05 AM
Simple DNS/Bind tutorial cbernaut Linux - Networking 0 06-20-2002 12:22 AM


All times are GMT -5. The time now is 08:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration