View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jan 21, 2004 9:48 pm 
Offline
Joined: Wed Jan 21, 2004 9:17 pm
Posts: 15
Hi,

I'm new to Knoppix Myth. I've been doing it manually with Mandrake and compiling everything. Knoppix is a very nice releaf :)

At installation time I selected dhcp since I have a dhcp server on my lan. However everytime I reboot the box it grabs a different IP. This makes it almost impossable to setup my firewall scripts etc on my firewall box. Why does it do this?

I have several other distros running, mandrake, gentoo, redhat, and one 2k box. They all stick with the same IP.

Thanks
Malcolm
PS. For now I just reinstalled and did a static IP but I'd love to be able to use the dhcp option.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 9:54 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Perhaps it is the configuration of the DHCP server itself.. I always get the same address.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2004 10:00 pm 
Offline
Joined: Wed Jan 21, 2004 9:17 pm
Posts: 15
Well I won't say that's impossable but it does seem unlikely because none of my other boxes do that. Not even my laptop which only gets plugged in once a week or so. In case it's something obvious here's my /etc/dhcpd.conf on the dhcp server box.

ddns-update-style ad-hoc;
ddns-updates off;
default-lease-time 604800;

subnet 192.168.1.0 netmask 255.255.255.0 {
option domain-name-servers 192.168.1.1;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
ddns-updates off;
default-lease-time 604800;
range 192.168.1.20 192.168.1.40;
}

Thanks
Malcolm


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 1:42 pm 
Offline
Joined: Sat Jan 10, 2004 5:18 pm
Posts: 21
What kind of dhcp server do you have?

It is typically wise to statically ip addresses for servers, as you have done in your reinstall. So I wouldn't change it, myself....

You can statically define a dhcp lease in your server, forcing it to give out the same ip to a particular mac address. Check out your dhcp server docs.

Also, you can set your lease time to permanant, thereby keeping the same dhcp ip assignment for ever, instead of expiring it from time to time.

Stick with static for servers. It saves you lots of headaches. ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 1:46 pm 
Offline
Joined: Wed Jan 21, 2004 9:17 pm
Posts: 15
As I recall the dhcp server box is Mandrake 9.0

I like the mac to IP assignment you mentioned. I may take a look at it. For now keeping it on a static IP is no big deal. I will probably just leave it that way for the most part.

I just thought it was strange how it got a different IP on every reboot.

Thanks for the info.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu