Re: ip address on lan getting hijacked





SYNass IT Ubuntu / Linux wrote:
On Fri, 2008-05-30 at 16:11 -0600, Karl Larsen wrote:
chris dunn wrote:
My home lan is set up based upon a Linksys wireless access point and router
which has an address of 192.168.1.1.
OK the router has a old standard 192.168.1.x ip.

My main work station is set with a
static ip address of 192.168.1.2, (in /etc/network/interfaces) and I use
other work stations to access this machine via nxclient and nxserver (running
on 192.168.1.2).


In other words you set the work station with a static ip of
192.168.1.2 and it works. From a router I always use DHCP so the router
just gives me the next ip/
All works well until 9.30 a.m. every morning when 192.168.1.2 is taken down
and reset to 192.168.1.100, apparently by dhclient accessing the dhcp server
running on the wap.
Your wireless part of the router is causing the problem.

Any nxclient connections crash as the nxserver ip address
has changed.

Syslog provides the following messages :

May 30 09:30:04 bessie dhclient: DHCPREQUEST of <null address>
Tia.


To fix this put your work station not on static but DHCP and relax.
It will change but who cares?

Karl


Hi Karl,
Your suggestion isn't accurate ...
... the OP clearly wants to have static IP adresses,
so your hint is nonsense !!!

You may go as you like and be happy !! ;-)
Myself too I always prefer static IP's in my setups ! ;-D

If the computer is set up to use static addressing...it shouldn't be
running a dhclient.

There should be two ways I know of this happening...1, the computer is
set to dynamic addressing and by "static" someone is defining it as an
entry in the DHCP server to assign the same address to a particular MAC
every time, which isn't static addressing, or 2, the computer has
something, a script, running at that time that resets the network to
another config.

What's in your (and root's) crontab at that time?

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: One or two questions.
    ... If it does get an IP Address from a DHCP Server, ... & not the IP Address that it uses on the LAN? ... A Router, very specifically does ahve 2 IP Addresses? ... Which it gets from whatever it's connected to (a Cable or ADSL Modem ...
    (uk.people.silversurfers)
  • Re: XP SP2 cannot contact DHCP after a restart
    ... We have a private LAN, which connected to a router, and it connected to the ... Here is my network breakdown: ... gateway, dhcp server 192.168.1.2 ... Your LAN includes a DHCP server which assigns dynamic settings (including IP ...
    (microsoft.public.windowsxp.network_web)
  • Re: Setting Up a Router:
    ... My old Windows Computer ... If you don't see the wireless network, ... detected and handled by your Ubuntu system. ... It goes through the router to my other computer, ...
    (Ubuntu)
  • Re: Setting Up a Router:
    ... My old Windows Computer ... If you don't see the wireless network, ... detected and handled by your Ubuntu system. ... It goes through the router to my other computer, ...
    (Ubuntu)
  • Re: Setting Up a Router:
    ... My old Windows Computer ... If you don't see the wireless network, ... detected and handled by your Ubuntu system. ... It goes through the router to my other computer, ...
    (Ubuntu)