LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-01-2013, 03:28 PM   #1
Arunkumar Goge
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Rep: Reputation: Disabled
Question Automatically my static ip changes to 169.254.169.254


I'm using cent os i configure static ip 192.168.1.5 and after sometime it automatically changes into 169.254.169.254. if i type "service network restart"
"ifconfig" it gives 192.168.1.5 and after sometimes it changing .. Pls help
 
Old 04-01-2013, 04:49 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The IPs in the 169.254.0.0/16 block are so called "link-local" (or APIPA in Microsoft terms) addresses and are usually assigned automatically to network interfaces that don't get an IP address otherwise.
That your network interface get such an IP assigned although it already has a static IP may be caused by a running DHCP client that never gets a lease and therefore uses and address from that block. Check your system for running DHCP clients.

https://en.wikipedia.org/wiki/Apipa
 
Old 04-01-2013, 05:19 PM   #3
Arunkumar Goge
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I already did that TobiSGD and thanks for ur effort .here is my network config is everything correct ?

DEVICE=eth0
BOOTPROTO=static
HWADDR=my mac address
IPADDR=my ip(192.168.1.6)
NETMASK=my netmask(255.255.255.0)
GATEWAY=my gateway(192.168.1.1)
NMCONTROLLED=No
NOZEROCONF=TRUE
ONBOOT=yes
PREFIX=24
TYPE=ethernet
uuid=my id
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing DHCP (169.254.0.0) From static routes Alistair Linux - Networking 2 09-02-2011 09:49 AM
Ethernet crossover, avahi and 169.254.* wichiff Linux - Networking 4 07-17-2010 11:56 AM
nmbd broadcasting UDP to 169.254.0.2? mikesjays Linux - Server 2 06-30-2009 09:42 PM
Destination 169.254.0.0 ESOOJAY Linux - Networking 1 05-13-2007 05:23 PM
169.254.0.0 in Kernal IP routing table aikempshall Linux - Networking 13 03-10-2004 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration