Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dnsmasq as a DHCP server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ClarkL
n00b
n00b


Joined: 18 Mar 2005
Posts: 10

PostPosted: Fri Dec 09, 2005 4:59 pm    Post subject: dnsmasq as a DHCP server Reply with quote

I've got dnsmasq running as my DHCP server right now, but the DHCP table's become full thanks to a lot of VMware sessions. I had a look around, but I couldn't figure out how to flush the DHCP table. Anyone know how?
Back to top
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Fri Dec 09, 2005 5:04 pm    Post subject: Reply with quote

From the depths of my memory, it's probably a matter of just deleting the relevant file then rebooting your dnsmasq box or just restarting the dnsmasq daemon.

The bigger issue is why vmware keeps getting new ip addresses - why don't you set up dnsmasq to give the same ip address to vmware's virtual ethernet card MAC address, or use the bridged networking feature (iirc ... I'm in Windows at the moment but when I rebbot to Gentoo I'll check how I've set up vmware, as I'm using both it and dnsmasq for dhcp on my server box with no such problems).
_________________
Jingle Jangle Jewellery
Back to top
View user's profile Send private message
ClarkL
n00b
n00b


Joined: 18 Mar 2005
Posts: 10

PostPosted: Fri Dec 09, 2005 5:10 pm    Post subject: Reply with quote

It's not that it's one instance of VMware that gets different IP addresses each time, it's just that we have about 10ish boxes with VMware installed, some of which have about 6-7 different images running.

I guess I'll dig around for the file that has the leases in it.
Back to top
View user's profile Send private message
oghiwahn
n00b
n00b


Joined: 12 May 2005
Posts: 5

PostPosted: Fri Dec 09, 2005 5:40 pm    Post subject: Reply with quote

have a look @ /var/lib/misc/dnsmasq.leases
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum