LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-17-2009, 05:27 AM   #1
amilauduwerella
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 57

Rep: Reputation: 17
Unhappy Cannot Assign an IP address in my LAN IP range


I have a Dell Power edge R200 server, which has CentOS 5 running on it.
and I used 192.168.1.54 to the eth0 , and left the other network card free.
But now I cannot assign 192.168.1.0/24 ip to eth0, but I can assign 10.250.250.250 to eth0 and it works fine.
and also i have assigned 192.168.1.54 to the eth1 of the same server it works fine.

Is that a hardware failure? Or a routing issue?
How can I fix it?
Please help me..


Thanks

Amila.
 
Old 03-17-2009, 05:34 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
Is that a hardware failure? Or a routing issue?
Neither. Best bet, is you have a DHCP server in your network somewhere that has assigned those addresses to other interfaces.

To prove it, disconnect your eth0 interface, ifconfig it down, then try to assign the ip address you want, ifconfig it up. I suspect you will find the card will accept the address.
 
Old 03-17-2009, 06:42 AM   #3
amilauduwerella
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 57

Original Poster
Rep: Reputation: 17
Unhappy

Quote:
Originally Posted by amilauduwerella View Post
I have a Dell Power edge R200 server, which has CentOS 5 running on it.
and I used 192.168.1.54 to the eth0 , and left the other network card free.
But now I cannot assign 192.168.1.0/24 ip to eth0, but I can assign 10.250.250.250 to eth0 and it works fine.
and also i have assigned 192.168.1.54 to the eth1 of the same server it works fine.

Is that a hardware failure? Or a routing issue?
How can I fix it?
Please help me..


Thanks

Amila.
I should add some details also,

I checked this after few hours and the problem solved automatically,
but again after few hours the problem is back.
 
Old 03-17-2009, 11:49 PM   #4
amilauduwerella
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 57

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by amilauduwerella View Post
I should add some details also,

I checked this after few hours and the problem solved automatically,
but again after few hours the problem is back.
Mar 18 04:09:21 server1 kernel: CIFS VFS: server not responding
Mar 18 04:09:21 server1 kernel: CIFS VFS: No response for cmd 114 mid 7044
Mar 18 04:09:41 server1 kernel: CIFS VFS: Error 0xffffff90 on cifs_get_inode_info in lookup of \archive
Mar 18 04:11:08 server1 kernel: CIFS VFS: Error 0xffffff90 on cifs_get_inode_info in lookup of \archive
Mar 18 09:35:49 server1 avahi-daemon[2688]: Withdrawing address record for 192.168.1.54 on eth1.
Mar 18 09:35:49 server1 avahi-daemon[2688]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.1.54.
Mar 18 09:35:49 server1 avahi-daemon[2688]: iface.c: interface_mdns_mcast_join() called but no local address available.
Mar 18 09:35:49 server1 avahi-daemon[2688]: Interface eth1.IPv4 no longer relevant for mDNS.
Mar 18 09:35:49 server1 avahi-daemon[2688]: Withdrawing address record for fe80::221:9bff:fefa:dc9b on eth1.
Mar 18 09:35:49 server1 avahi-daemon[2688]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::221:9bff:fefa:dc9b.
Mar 18 09:35:49 server1 avahi-daemon[2688]: iface.c: interface_mdns_mcast_join() called but no local address available.
Mar 18 09:35:49 server1 avahi-daemon[2688]: Interface eth1.IPv6 no longer relevant for mDNS.
Mar 18 09:35:50 server1 kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Mar 18 09:35:52 server1 kernel: tg3: eth1: Link is up at 100 Mbps, full duplex.
Mar 18 09:35:52 server1 kernel: tg3: eth1: Flow control is off for TX and off for RX.
Mar 18 09:35:52 server1 kernel: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Mar 18 09:35:53 server1 avahi-daemon[2688]: New relevant interface eth1.IPv6 for mDNS.
Mar 18 09:35:53 server1 avahi-daemon[2688]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::221:9bff:fefa:dc9b.
Mar 18 09:35:53 server1 avahi-daemon[2688]: Registering new address record for fe80::221:9bff:fefa:dc9b on eth1.
Mar 18 09:35:54 server1 avahi-daemon[2688]: New relevant interface eth1.IPv4 for mDNS.
Mar 18 09:35:54 server1 avahi-daemon[2688]: Joining mDNS multicast group on interface eth1.IPv4 with address 192.168.1.54.
Mar 18 09:35:54 server1 avahi-daemon[2688]: Registering new address record for 192.168.1.54 on eth1.
 
Old 03-18-2009, 07:15 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
You could always disable avahi to see if it is causing your issue.. it's not a necessary service.

To disable avahi, edit the file /etc/default/ avahi-daemon as root:

Change the line: AVAHI_DAEMON_START = 1
to: AVAHI_DAEMON_START = 0

Reboot your system and the service should not start.
 
Old 05-21-2009, 12:14 PM   #6
amilauduwerella
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 57

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by farslayer View Post
You could always disable avahi to see if it is causing your issue.. it's not a necessary service.

To disable avahi, edit the file /etc/default/ avahi-daemon as root:

Change the line: AVAHI_DAEMON_START = 1
to: AVAHI_DAEMON_START = 0

Reboot your system and the service should not start.






Sorry for the delay.
I wasn't at my work place. Thank you for the help.
 
Old 05-21-2009, 01:02 PM   #7
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
amilauduwerella,

192.168.1.0/24 is not a valid IP address to assign to any host. Its a network address
You normally do not assign 192.168.1.255/24 either, as most people expect that to be the broadcast address on the 192.168.1.0/24 subnet.
 
Old 05-21-2009, 02:03 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
hrm I assumed he was assigning an ip address in that range..
I didn't look at it as though he was actually assigning the network address to the interface. interesting..

So amilauduwerella, is the issue now resolved ?
 
Old 05-21-2009, 11:42 PM   #9
amilauduwerella
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 57

Original Poster
Rep: Reputation: 17
Thumbs up Yes its working Fine Now.

Thank you so much for helping.
 
  


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
how to assign ip to known mac address only fedora_user Linux - Newbie 12 05-06-2008 10:49 AM
How to assign ip address permanently Karthi_India Linux - Newbie 1 04-14-2007 10:57 AM
Cannot assign a MAC address hicksy Linux - Networking 5 02-19-2007 01:37 PM
how to assign dhcp address? hank43 Linux - Networking 1 09-10-2006 02:46 AM
Can not assign IP address jtir Solaris / OpenSolaris 1 09-28-2005 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:43 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