Static IP for Laptop on just home WiFi?

Discussion in 'Application Software' started by harrismail, Feb 18, 2014.

  1. harrismail

    harrismail MDL Member

    Mar 28, 2010
    245
    22
    10
    Is it possible to give a laptop a static IP on a home WiFi network but for all other WiFi networks (coffee shops, other homes etc) let it have one automatically (given by DHCP)

    I don't think it's possible as once you've allocated an IP to a network interface it sticks? No?

    TIA
     
  2. redroad

    redroad MDL Guru

    Dec 2, 2011
    5,346
    6,024
    180
    Just a thought but maybe as different user account ?
     
  3. harrismail

    harrismail MDL Member

    Mar 28, 2010
    245
    22
    10
    It's not as easy as that... the long story is that I'm using a piece of software that monitors the PC health for a family member. I've set up port forwarding and dyndns etc etc and everything works fine... but if the router gets rebooted the laptop would get a new IP address and the port forwarding would fall over.

    If I set the network adapter with a static IP then this will cause problems when the laptop is used anywhere else...??
     
  4. MrMagic

    MrMagic MDL Guru

    Feb 13, 2012
    5,702
    3,704
    180
    Set the port forwarding for Mac address instead of IP then
     
  5. leebo_28

    leebo_28 MDL Senior Member

    Jun 12, 2011
    456
    168
    10
    thanks..kept thinking foward to host instead of ip. mac makes more sense.:worthy:
     
  6. harrismail

    harrismail MDL Member

    Mar 28, 2010
    245
    22
    10
    That sounds like a plan... I'll have to login remotely and hope the router is capable of that task!
    I guess a lot of cheap ones (or even expensive ones) won't be :rolleyes:
     
  7. harrismail

    harrismail MDL Member

    Mar 28, 2010
    245
    22
    10
    Damn - just checked and port forwarding is only available on the router in question for IP addresses :mad:
     
  8. MrMagic

    MrMagic MDL Guru

    Feb 13, 2012
    5,702
    3,704
    180
    #10 MrMagic, Feb 18, 2014
    Last edited: Feb 18, 2014
    Time for a router upgrade, you can get fairly cheap Linksys / Ciscos that allow DD-WRT firmware to be flashed, then you have a £600 router from a cheap £40 thing with all the settings you could dream of

    I have the WRT160NL

    2 Wireless adapters would work though, set internal one to static for home and the other USB one to DHCP for out and about

    Just disable the internal one when you go out, theres normally a WiFi quick access button on most laptops you can use just quickly turn it on and off
     
  9. Myrrh

    Myrrh MDL Expert

    Nov 26, 2008
    1,387
    491
    60
    Perhaps your router can do DHCP Reservations, in which you specify the IP address it always gives to a particular MAC address.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. harrismail

    harrismail MDL Member

    Mar 28, 2010
    245
    22
    10
    It's a family members here in the UK and the router is called a "BT Home Hub 3" which is like no other :rolleyes:
     
  11. Revolve

    Revolve MDL Novice

    Mar 25, 2013
    8
    1
    0
    I do mine this way for a similar situation and it works perfectly.
     
  12. jellybelly

    jellybelly MDL Member

    Oct 30, 2009
    149
    28
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Mutagen

    Mutagen MDL Addicted

    Feb 18, 2013
    579
    121
    30
    #16 Mutagen, Feb 18, 2014
    Last edited: Feb 18, 2014
    Correct. Two possible solutions are:
    1 - Third party app. that save and restores multiple settings for the network interface.
    2 - Buy USB WiFi dongle, use it when mobile. Switch back to built-in when home.

    Both solutions avoid any changes to your home WiFi router. IMHO, it shouldn't even be part of the equation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. leebo_28

    leebo_28 MDL Senior Member

    Jun 12, 2011
    456
    168
    10
    He's using dyndns..so the router "is" in the equation.
     
  15. gorski

    gorski MDL Guru

    Oct 21, 2009
    2,792
    719
    90
    This!:shisha:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Mutagen

    Mutagen MDL Addicted

    Feb 18, 2013
    579
    121
    30
    Sorry, I'm guilty of incorrect wording. I should have said "changing the router's settings shouldn't be part of resolving the issue." I have never heard of anyone, anywhere, with any portable WiFi device who needs to change their router's settings when leaving/arriving home. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...