IP addresses and dchp

Discussion in 'Bulletin Board' started by SuperTyke, Feb 8, 2021.

  1. SuperTyke

    SuperTyke Well-Known Member

    Joined:
    Oct 12, 2005
    Messages:
    55,301
    Likes Received:
    29,370
    Trophy Points:
    113
    Style:
    Barnsley (full width)
    We've got a device at work which connects to the server and interwebs using dchp to presumably assign an IP address or at least that's what I think it does.

    Anyway the problem is it keeps disconnecting and I have to turn dchp off and back on again for it to find a new up address and get back to doing it's one job.

    Any idea why? Or am I better off turning off DCHP and just assigning a random unused IP instead? And if that's the case is that as simple as going into the device and typing in a random unused IP on the server?

    And just so you know my knowledge of dchp is about as good as my knowledge of football. I only know what I've badly googled.
     
  2. Che

    Chef Tyke Well-Known Member

    Joined:
    Jul 17, 2005
    Messages:
    19,552
    Likes Received:
    12,569
    Trophy Points:
    113
    Location:
    West Stand Bogs
    Home Page:
    Style:
    Barnsley
    It’s certainly better than mine - I think I’d be more likely to answer this if it was written in mandarin !
     
    SuperTyke likes this.
  3. Tykeored

    Tykeored Well-Known Member

    Joined:
    Jun 23, 2017
    Messages:
    5,302
    Likes Received:
    6,572
    Trophy Points:
    113
    Gender:
    Male
    Style:
    Barnsley
    I’d call in the IT dept if I were you :D
     
    ade likes this.
  4. Rea

    ReadingRed Well-Known Member

    Joined:
    Jan 29, 2008
    Messages:
    2,145
    Likes Received:
    741
    Trophy Points:
    113
    Home Page:
    Style:
    Barnsley (full width)
    DHCP shouldn't be flaky.
    Static ip is fine if you only have a couple of clients I guess.
    Have you got all clients and switches set to DHCP.
    You could be getting a conflict?
     
  5. Brush

    Brush Well-Known Member

    Joined:
    Aug 16, 2005
    Messages:
    16,953
    Likes Received:
    15,940
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Ex-IT professional
    Location:
    Swadlincote, South Derbyshire
    Style:
    Barnsley (full width)
    You normally have a dhcp server on your network - at home it would be your broadband router. When a system connects to the network and has dhcp enabled instead of a static IP address, the dhcp server gives the system it's IP address. All you need to do is to disable dhcp on your system and set a static IP address - use the IP last assigned by dhcp since you know that isn't in use.

    Edit I have sometimes deliberately used static IPs to make things easier. For example I had a ZGemma satellite receiver which hosted a web page for config etc. It was easier to connect to it via the static IP since it didn't have a URL.
     
    Last edited: Feb 8, 2021
  6. BarnsleyReds

    BarnsleyReds Well-Known Member

    Joined:
    Apr 28, 2013
    Messages:
    11,916
    Likes Received:
    14,152
    Trophy Points:
    113
    Style:
    XenForo - Xenith Reds
    You should be able to just set it to manual and just type in an unused address.

    Just note that depending on device when you set it to manual you will probably also have to automatically configure the DNS. If it's a work system the DNS might have to be a custom server to access work resources, but setting it to 1.1.1.1 and alternate to 1.0.0.1 will allow you to access the internet. If you can't access anything work specific you'll have to get the DNS server off IT or just go back to DHCP.
     
  7. stairfoot.red

    stairfoot.red Well-Known Member

    Joined:
    Oct 5, 2008
    Messages:
    3,514
    Likes Received:
    6,472
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Computer Engineer
    Location:
    Stairfoot
    Style:
    Barnsley (full width)
    Give the device a static IP address it sounds like its losing connection when its DHCP IP lease expires and isn't being renewed
     
  8. Farnham_Red

    Farnham_Red Administrator Staff Member Admin

    Joined:
    Jul 18, 2005
    Messages:
    34,391
    Likes Received:
    23,826
    Trophy Points:
    113
    Location:
    Farnham
    Style:
    Barnsley
    As everyone above says just give the device a static address (outside the DHCP range of addresses and the problem will go away if it’s problem is it’s forgetting the address. If it’s just the one device that should solve it. If it’s happening to multiple devices then it’s a problem with the DHCP server and that is harder to fix
     
  9. thetykester

    thetykester Well-Known Member

    Joined:
    Mar 30, 2016
    Messages:
    11,353
    Likes Received:
    10,196
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Part time cleaner
    Location:
    T'Well
    Style:
    Barnsley (full width)
    ipconfig/flushDNS

    In command prompt, try that maybe.
     
  10. BarnsleyReds

    BarnsleyReds Well-Known Member

    Joined:
    Apr 28, 2013
    Messages:
    11,916
    Likes Received:
    14,152
    Trophy Points:
    113
    Style:
    XenForo - Xenith Reds
    Don't do this if you can help it. If you set it to manual to an IP within the DHCP range (which that obviously is, because it's been assigned it), if it disconnects something else can take that IP and then it won't be able to connect because it won't find another IP.
     
    Farnham_Red likes this.
  11. Brush

    Brush Well-Known Member

    Joined:
    Aug 16, 2005
    Messages:
    16,953
    Likes Received:
    15,940
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Ex-IT professional
    Location:
    Swadlincote, South Derbyshire
    Style:
    Barnsley (full width)
    Good point, I never thought of that, I suppose it depends on how many nodes you've got in the network, I only had about 4 so never had a problem.
     
  12. SuperTyke

    SuperTyke Well-Known Member

    Joined:
    Oct 12, 2005
    Messages:
    55,301
    Likes Received:
    29,370
    Trophy Points:
    113
    Style:
    Barnsley (full width)
    Ok I think I get what everyone seems to be saying (honest)

    It is just this one device that seems to get upset with the world and doesn't work, everything else seems to connect to things like they should and plays nicely.

    So I can just untick the DCHP ticky box and type in an IP that's outside the dchp range? Next question, how do I know what's outside the DCHP range?

    As for the suggestion of asking our IT people, well the problem there is there's two people in the company who take care of that and they both seem to spend their lives guessing what problems are or just ignoring problems. Good example is that I've been telling them this device has been losing its connection and losing its IP address for 2 weeks now and they told me it wasnt. Only today did they look at it and say oh yeah you're right, and then Just walked off.
     
  13. Sco

    Scoff Well-Known Member

    Joined:
    Aug 18, 2011
    Messages:
    9,221
    Likes Received:
    7,963
    Trophy Points:
    113
    Occupation:
    The interface between business and technology
    Location:
    Brampton by the Sea
    Style:
    Barnsley (full width)
    You need to reconfigure your server and clients to use RFC1149. That will sort it all out.
     
    ade likes this.
  14. Farnham_Red

    Farnham_Red Administrator Staff Member Admin

    Joined:
    Jul 18, 2005
    Messages:
    34,391
    Likes Received:
    23,826
    Trophy Points:
    113
    Location:
    Farnham
    Style:
    Barnsley
    Do you have admin rights on the router that has the DHCP server. You can then look at the IP address range. If not look at a few ip addresses they should all have the same first 3 numbers eg 192.168.1 and then add 100 to the last ones. So if you have 192.168.1.20 on your pc. Start the statics at 192.168.1.101
     
    Donny-Red likes this.
  15. Old Goat

    Old Goat Well-Known Member

    Joined:
    Dec 15, 2017
    Messages:
    8,070
    Likes Received:
    14,927
    Trophy Points:
    113
    Style:
    Barnsley (full width)
    Goat's IT Problem Solver in 3 Easy Steps:

    1. Turn it off and on again.
    2. Curse loudly, then repeat step 1.
    3. Hit it with a heavy object.
     
    Tyke_67 likes this.
  16. Tyke_67

    Tyke_67 Well-Known Member

    Joined:
    May 31, 2013
    Messages:
    14,969
    Likes Received:
    20,612
    Trophy Points:
    113
    Style:
    Barnsley (full width)
    I use the Homor Simpson approach.

    If at first you don't succeed - pack it in :)
     
    Old Goat likes this.
  17. ade

    ade Well-Known Member

    Joined:
    Nov 12, 2007
    Messages:
    1,538
    Likes Received:
    1,227
    Trophy Points:
    113
    Occupation:
    IT manager
    Location:
    Hilton, Derby
    Style:
    Barnsley (full width)
    A little bird once told me about that one :)
     
    Scoff likes this.
  18. Brush

    Brush Well-Known Member

    Joined:
    Aug 16, 2005
    Messages:
    16,953
    Likes Received:
    15,940
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Ex-IT professional
    Location:
    Swadlincote, South Derbyshire
    Style:
    Barnsley (full width)
    Didn't they ask you if you'd turned it off and back on again?
     
    SuperTyke likes this.

Share This Page