LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   using both "fixed IP" and DHCP on the same laptop (https://www.linuxquestions.org/questions/linux-networking-3/using-both-fixed-ip-and-dhcp-on-the-same-laptop-916278/)

SaintDanBert 11-29-2011 07:58 PM

using both "fixed IP" and DHCP on the same laptop
 
My primary laptop goes walk-about very often and so it needs DHCP
and extreme flexibility for whatever junk passes for public internet access points. For a very few of the nets that I visit -- including my home LAN -- I want or need a fixed IP address.

Can someone tell me how to do for my Ubuntu workstations?

I had an app for that other workstation software that let me configure various "profiles". I could have a HOME_LAN, HOME_WALKING, PLACE_??? and WALK_ABOUT profiles. For each, there could be configured IP or DHCP and DNS etc as well as available printers and other services. I would select a profile, make it active, and work away. When my needs changed, I simply changed profiles.

I'm running WICD on Ubuntu Lucid (because net-manager did not behave well with my wifi hardware) and it remembers SSID's but not true "profiles." I hope someone can point me in the right direction.

Thanks in advance,
~~~ 0;-Dan

corp769 11-30-2011 12:56 PM

Honestly if I were you, skip all of that "profile" crap and do it from your router. What kind of wireless router do you have? On my main home network for my wireless, I have static DHCP leases per MAC address. Each time I connect to my access point, I am using DHCP, yet I am assigned the same IP address every time because of the static lease I have configured.

Cheers,

Josh


All times are GMT -5. The time now is 07:25 PM.