vicibox harddisk changed to another server

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

vicibox harddisk changed to another server

Postby ragunath154 » Tue Sep 15, 2009 9:02 pm

HI
After changing my harddisk inwhich vicibox is loaded to another server ,i am not getting the ipaddress after typing the ifconfig ,below details only i am getting

lo Link encap:local loopback
inet addr:127.0.0.1 mask 255.0.0.0
inet 6 addr: ::1 /28 scope:host
uploopback running mto:16436 metric:
rx packets :253 errors: dropped: overruns: frame:0
tx packets :252 errors drop : overruns: frame:0
collision txqueller:0
rxbytes:18913 (18.4kb) txbytes:18913(18.4kb).

I think i need to config the nic card of this server ,please tell me how to do it.
ragunath154
 
Posts: 6
Joined: Sat Sep 12, 2009 3:06 am

Postby felfel » Wed Sep 16, 2009 12:24 pm

Hi,

In fact it's a udev problem in ubuntu. The udev probe only new net cards and keep the old ones (MAC adress) even if they are removed.

when you change your hard drive from a server to an other. you keep the eth0 link to the MAC adress of your old server. and the new net card (new mac adress) is linked to a new link (probably eth1). So the network isn't up.

All you have to do is to edit this file
/etc/udev/rules.d/70-persistent-net.rules

and remove all the old probed net cards.

*******************remove from the file all the text as follow
# PCI device 0x14z4:0x16d7 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0b:cd:9g:c2:f4", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
********************************

than you restart your server. udev will link eth0 to the new mac adress and it will work.

regards,
felfel
 
Posts: 15
Joined: Wed Aug 06, 2008 8:33 am
Location: tunisia & france


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 39 guests