Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd + prefered ip
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
rabidsg
n00b
n00b


Joined: 07 Jan 2004
Posts: 8

PostPosted: Thu Jan 15, 2004 11:46 pm    Post subject: dhcpcd + prefered ip Reply with quote

I looked around on the web and forums on this, but didn't turn anything up and was wondering if anyone knows if this is possible and how to accomplish it. I was wondering if it is possible to have a box request a specific ip from a dhcp router, and if available have itself assigned that ip, and if not take the ip assigned. So basically the network is dhcp, and I would like for my gentoo box to always request lets say 192.168.1.120 if its available.

thanks
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Jan 16, 2004 12:24 am    Post subject: Reply with quote

Example DHCP server config for fixed-addresses

http://www.phys.ufl.edu/docs/system/public_domain/dhcp.html

(HINT: Google is your friend)
Back to top
View user's profile Send private message
compuboy86
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2003
Posts: 79

PostPosted: Fri Jan 16, 2004 12:32 am    Post subject: Reply with quote

If you need to have the address assigned automatically for a specific reason, look to the post above, otherwise simply assign a static IP address. Its exactly what you want :)
Back to top
View user's profile Send private message
rabidsg
n00b
n00b


Joined: 07 Jan 2004
Posts: 8

PostPosted: Fri Jan 16, 2004 9:57 am    Post subject: Reply with quote

thanks for the help but its a no go. I'm looking to try to have my laptop request a certain ip from the router (thats using dhcp -> actual router, not another box). The link is for, from what I take, setting up a dhcp server on an actual box. The static ip thing doesn't work either, since it brings eth0 up, however the router doesn't acknowledge my laptop as being there, by the fact it doesn't show up in the clients table. So basically I'm trying to find a way for my laptop to request a certain ip from the router if its available/not already assigned.
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