[SOLVED] New install - error host already uses address

Issues related to configuring your network

[SOLVED] New install - error host already uses address

Postby kongfranon » 2011/12/06 17:17:26

Hi,

I just intalled CentOS 6 for the first time, I have used 5.5/5.6 before. After I configured networking through the install, and restarted the box I noticed no connectivity.

If I do a

ifup eth0

Error, some other host already uses adress 192.168.100.30

I know no other machine is using it, and I did disabled SeLinux and restarted the box again.


I am not sure what I am missing?


Thanks
kongfranon
 
Posts: 4
Joined: 2011/12/06 17:13:50

[SOLVED] New install - error host already uses address

Postby pschaff » 2011/12/06 18:36:00

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

SELinux should have nothing to do with the network starting, and disabling it is not recommended, rather "setenforce 0" to temporarily go to Permissive mode if required for testing/debugging.

Perhaps you are not aware of the upstream changes to the defaults for networking, including use of NetworkManager in place of the "network" service. See FAQ #2. Why does my Ethernet not work unless I log in and explicitly enable it?

If more help is needed then please provide more information about your system by running "./getinfo.sh network" and showing us the output file.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: New install - error host already uses address

Postby TrevorH » 2011/12/06 20:49:56

Error, some other host already uses adress 192.168.100.30


If it says that then I would believe it and investigate your network to find out where it is. Install using a different IP address then ping the address you wanted to use and run arp afterwards to see if it lists a MAC address for that IP.
User avatar
TrevorH
Forum Moderator
 
Posts: 9146
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New install - error host already uses address

Postby kongfranon » 2011/12/06 21:48:15

Thanks I got it to work, I think it had to do with the NIC was on the wrong VLAN, but I thought it was odd, since usually it would start up but just could not route anywhere or so I thought.

out of curiosity how do you start up network manager on the command line? this is for a server and don't have the gui installed, I usually just vi /etc/sysconfig/network-scripts/ifcfg-eth0


Thanks again
kongfranon
 
Posts: 4
Joined: 2011/12/06 17:13:50

Re: New install - error host already uses address

Postby pschaff » 2011/12/06 22:02:26

The NetworkManager service should be started by default.
Code: Select all
# chkconfig --list | grep -i network
NetworkManager    0:off   1:off   2:on   3:on   4:on   5:on   6:off
network           0:off   1:off   2:on   3:on   4:on   5:on   6:off


For command line configuration see "man nmcli", "man nm-tool", "man nm-online" "man NetworkManager.conf", and "man nm-system-settings.conf"
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: New install - error host already uses address

Postby kongfranon » 2011/12/07 14:38:18

Thanks for the help!


I was trying to figure out where to hit the solved button, or how to mark this thread solved?


I cannot seem to edit my first post.
kongfranon
 
Posts: 4
Joined: 2011/12/06 17:13:50

Re: [SOLVED] New install - error host already uses address

Postby pschaff » 2011/12/07 15:44:51

Just reply with [SOLVED] (or [RESOLVED] if more appropriate) in the subject, as explained in Readme First, and a moderator should come along and mark the head of the thread on your behalf. The current brain-damaged forum software does not allow a user to do so.

Thanks for reporting back. Marking this thread [SOLVED] for posterity.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 6 - Networking Support

Who is online

Users browsing this forum: No registered users and 6 guests