Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Changing IP Address

  1. #1
    Join Date
    Aug 2006
    Beans
    93
    Distro
    Ubuntu

    Changing IP Address

    We've got an inhouse server that's configured to 192.169.1.50

    This server acts as an Internal Web server, DNS, host a few pages (Internal & external), Database, SOAP/WSDL & Meteor server (For some push services)

    Well our ISP once in a while drops the DSL Connection for a few seconds, not a major issue, problem is the Netgear router then decides that it doesn't like the 192.168.1.x network & changes the IP subnet to the 10.0.0.x range.

    This "Feature" can't be disabled that I know of and is a pain in the )#$*%&

    So It's looking like I'll have to convert the server from 192.168.1.50 to something in the 10.10.x.x range

    1) is their a simple way to search all the configuration files in a Ubuntu server so I can change everything
    2) if no what hickups am I looking forward to?

  2. #2
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,258

    Re: Changing IP Address

    Let me just check that you are thinking of changing the IP addressing for your entire LAN? Unless the server is the only item with a static IP and everything is configured by DHCP, that is a serious undertaking.

    Is the problem that your Netgear router essentially does a factory reset every time the DSL drops, or is it the case that most of your network is on the 10.x.x.x subnet anyway, and you are using the 192.168.x.x as a DMZ subnet? Could you give the model no of the Netgear router?

    To actually start answering your question, it depends on how services are configured. If the server has only one interface and all services listen to that interface on their respective ports, it could be as simple as changing the IP address and the DNS records relating to any internal resources. Otherwise, you need to manually check the config of each service and see if there is a specific setting binding it to a specific IP/interface, and changing this as required.
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/

  3. #3
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Changing IP Address

    I'm guessing that someone has configured the static IP address on the server rather than on the router. If so, and assuming that the router isn't doing a full factory reset, it is possible that using the router's options to reserve IP addresses for particular machines might suit your needs better.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  4. #4
    Join Date
    Mar 2007
    Location
    Portsmouth, UK
    Beans
    Hidden!
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Changing IP Address

    Why not simply replace the router? It's obviously defective.

  5. #5
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,258

    Re: Changing IP Address

    Quote Originally Posted by Grenage View Post
    Why not simply replace the router? It's obviously defective.
    That would have been my next move....
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/

  6. #6
    Join Date
    Nov 2012
    Location
    Great Britain
    Beans
    80

    Re: Changing IP Address

    Quote Originally Posted by Grenage View Post
    Why not simply replace the router? It's obviously defective.
    that's what I was thinking

  7. #7
    Join Date
    Aug 2006
    Beans
    93
    Distro
    Ubuntu

    Re: Changing IP Address

    Quote Originally Posted by spynappels View Post
    Let me just check that you are thinking of changing the IP addressing for your entire LAN?
    Unless the server is the only item with a static IP and everything is configured by DHCP, that is a serious undertaking.
    Only fixed IP addresses are the Linux Server a Windows Home server, and 2 Printers.

    Quote Originally Posted by spynappels View Post
    Is the problem that your Netgear router essentially does a factory reset every time the DSL drops, or is it the case that most of your network is on the 10.x.x.x subnet anyway, and you are using the 192.168.x.x as a DMZ subnet? Could you give the model no of the Netgear router?
    When originally setup the whole network was configured for the 192.168.1.x range, but if the DSL Drops this wonderful Netgear (WNR3500L) router (Know issue with lots of netgear routers apparently) sees it as a "Double NAT" and takes it upon itself to Reassign the network to the 10.x.x.x range.


    Quote Originally Posted by spynappels View Post
    To actually start answering your question, it depends on how services are configured. If the server has only one interface and all services listen to that interface on their respective ports, it could be as simple as changing the IP address and the DNS records relating to any internal resources. Otherwise, you need to manually check the config of each service and see if there is a specific setting binding it to a specific IP/interface, and changing this as required.
    the Router assigns the IP Numbers, with the only Fixed IPs being the 2 Servers (For external access), and the Printers.
    All other computers just use whatever IP Address is assigned.

    We were hoping to not have to change the IP Address, as some testing hardware was coded to talk to Fixed IP Address (Custom software, but can be rewritten)

    When me or one of our other engineers in in shop this isn't an issue as we both know how to reset it, but when we're both off site, it prevents others from using the testing equipment or internet.

    The other option I'm looking at is re-wiring the network so that the troublesome Netgear router is just pulled from the network fully, and get a second network card for the Linux server & have that handle everything (DNS, Assigning IP Address, Firewall, ect)

  8. #8
    Join Date
    Aug 2006
    Beans
    93
    Distro
    Ubuntu

    Re: Changing IP Address

    Quote Originally Posted by Grenage View Post
    Why not simply replace the router? It's obviously defective.
    Did that twice. Yes it's defective(Though Netgear wouldn't agree) , but it's the firmware that's defective.

  9. #9
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,258

    Re: Changing IP Address

    Quote Originally Posted by pgp_protector View Post
    The other option I'm looking at is re-wiring the network so that the troublesome Netgear router is just pulled from the network fully, and get a second network card for the Linux server & have that handle everything (DNS, Assigning IP Address, Firewall, ect)
    This would be the best option in my opinion, if replacing the router with another model is not an option....
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/

  10. #10
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,868
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Changing IP Address

    Quote Originally Posted by pgp_protector View Post
    Did that twice. Yes it's defective(Though Netgear wouldn't agree) , but it's the firmware that's defective.
    If you can pull the Netgear from service, why not get a different model that does not have this bug?

    If you move DHCP and Gateway to the server, you now have a single point of failure.

    Perhaps get two new routers that can be configured the same. If one goes down, a non-techie can swap out the few wires and be up and running if you are not on site. Plus having a backup unit is just nice to have
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •