Author Topic: linux router and dhcp server  (Read 387 times)

shuiend

  • Member
  • **
  • Posts: 250
  • Kudos: 0
    • http://stuff4fools.topcities.com
linux router and dhcp server
« on: 23 February 2003, 23:56 »
ok i am setting up a server to use as a router/firewall/dhcp server for my home network. R ight now we use a linksys wireless router as our dhcp sever and such. I have the RH 7.3 bible and it explains howto do most things pretty well but i am having some problems. (I am using RH 8 for the server) Right now when i try to start my dhcp server it gives me crap about  range declarion not allowed here.
my dchpd.conf file is as follows

default-lease-time 720;
max-lease0time 999999;
option subnet-mask 255.0.0.0;
option broadcast-address 10.255.255.255;
option routers 10.0.0.1;
range 10.0.0.2 10.0.0.254;

could some one please explain to me what is wron witht that file and how to fix it.
you know its a bad day when you look more sober then usual

edisav

  • Member
  • **
  • Posts: 48
  • Kudos: 0
linux router and dhcp server
« Reply #1 on: 24 February 2003, 00:32 »
Dear wild_jester,

I don't know the answer to your question but instead of wasting a whole computer just for a DHCP/router, why don't you try Coyote Linux for a router-firewall?

That's what I use right now. All you need is an old PC with a floppy drive and 12MB of memory, and 2 NICs, of course. Then your Red Hat will do the serious stuff.

http://www.coyotelinux.com/

Good luck!

shuiend

  • Member
  • **
  • Posts: 250
  • Kudos: 0
    • http://stuff4fools.topcities.com
linux router and dhcp server
« Reply #2 on: 24 February 2003, 04:07 »
thanks for that sugestion. I will look into it. Except for the fact i dont got a floppy drive on the thing. I might need 1. I also want to learn howto do it all and probally expand to include a samba server and such so i dont know if that would work for it
you know its a bad day when you look more sober then usual

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
linux router and dhcp server
« Reply #3 on: 24 February 2003, 07:11 »
have you read the manual? "man dhcpd.conf"
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

shuiend

  • Member
  • **
  • Posts: 250
  • Kudos: 0
    • http://stuff4fools.topcities.com
linux router and dhcp server
« Reply #4 on: 24 February 2003, 17:06 »
there isnt a manual for the config file. or atleast one that i found. Also the reason i am asking is because i copied it out of a book i have that has it in it. I figured the example would work.
you know its a bad day when you look more sober then usual