Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Dhcp Server Complicated A Little
Robert83
post Oct 5 2004, 12:05 PM
Post #1


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

I must set up a DHCP server from my entire LAN , which has 3 subnets

192.168.0.x gw:192.168.0.250 dns:192.168.0.250
192.168.1.x gw:192.168.1.250 dns:192.168.1.250
192.168.2.x gw:192.168.2.250 dns:192.168.2.250

can anyone point me to a guide that can help me set up a dhcp server for multiple subnets?
or can anyone help me by writing me a example with 3 computers each in a different subnet...


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post Oct 13 2004, 06:08 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



robert ... did you ever get this working?


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Robert83
post Oct 13 2004, 12:44 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

now I do have it wroking but on 3 different linux computers...

I'm giving away ip adresses via MAC adresses and it's working very-very fast smile.gif

now that I think about it I could have done this with one server smile.gif

since I defined every user like this

ddns-update-style ad-hoc;

I did it this way cause it won't lend ip addresses to computers that don't have a mac address specified bellow.

subnet 192.168.1.0 netmask 255.255.255.0 {
}

host csuzdi {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.1.10;
default-lease-time 86400;
max-lease-time 86400;
option broadcast-address 192.168.1.255;
option routers 192.168.1.250;
option domain-name-servers 192.168.1.250;
option netbios-name-servers 192.168.1.200;
}

etc...

but since I already have a mail server ,samba time / masterbrowser / file server for ALSTAR I've installed the DNS server there...

and did the same with Univerzal...

now what really interests me is, how on earth can I block internet access to computers who try to set up their ip adress manualy (including gw and dns server), any ideas? (my isp is doing this, but I don't think they are willing to share such a information with me)

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post Oct 13 2004, 06:25 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Yes, I do have a way to set that up ....

Block all port 80 out from your site (except from the proxy server) via a PREROUTING rule in the firewall.

Block all proxy port in from all IPs on your proxy server's IPTABLES ... and put allows in above the all block rule on the proxy server's IPTABLES.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2017 - 09:54 AM