I just installed a KVM guest, centos 6.2 i686 (6.2 x86_64 host) and the network module is loaded . The modules is/are 8139too,8139cp is what lsmod shows. Dmesg shows link up but ifconfig does not give me an address? service network restart shows OK no errors but again no address.
I set the ifcfg-eth0 file to not be NM controlled, onboot yes and rebooted. Same no address.
I run 5.8 images all the time and they get the address?
Did I forget something?
Jerry
On 30 May 2012 05:36, Jerry Geis geisj@pagestation.com wrote:
I just installed a KVM guest, centos 6.2 i686 (6.2 x86_64 host) and the network module is loaded . The modules is/are 8139too,8139cp is what lsmod shows. Dmesg shows link up but ifconfig does not give me an address? service network restart shows OK no errors but again no address.
I set the ifcfg-eth0 file to not be NM controlled, onboot yes and rebooted. Same no address.
I run 5.8 images all the time and they get the address?
Did I forget something?
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Jerry,
I believe that by default the network is down and the "BOOTPROTO=dhcp" is not in the /etc/sysconfig/network-scripts/ifcfg-ethx. I encountered a similar issue on a KVM guest with minimal install
Jerry,
I believe that by default the network is down and the "BOOTPROTO=dhcp" is not in the /etc/sysconfig/network-scripts/ifcfg-ethx. I encountered a similar issue on a KVM guest with minimal install
Earl
Was there something else missing also? I not added the BOOTPROTO="DHCP" and same issue happening. dmesg shows link up, service network restart shows OK and ifconfig shows no address.
jerry
On 30 May 2012 21:14, Jerry Geis geisj@pagestation.com wrote:
Jerry,
I believe that by default the network is down and the "BOOTPROTO=dhcp" is not in the /etc/sysconfig/network-scripts/ifcfg-ethx. I encountered a similar issue on a KVM guest with minimal install
Earl
Was there something else missing also? I not added the BOOTPROTO="DHCP" and same issue happening. dmesg shows link up, service network restart shows OK and ifconfig shows no address.
jerry
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Jerry,
That was all I did on my KVM VM and ran ifup eth0 so that it will get the IP address.
You can also try a static IP, which looks like this
DEVICE=eth0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.122.100 NETMASK=255.255.255.0NETWORK=192.168.122.1
My KVM host is using the default connection, which is NAT **
On 30/05/12 22:14, Jerry Geis wrote:
Jerry,
I believe that by default the network is down and the "BOOTPROTO=dhcp" is not in the /etc/sysconfig/network-scripts/ifcfg-ethx. I encountered a similar issue on a KVM guest with minimal install
Did you clone this guest from another one? Might need to check that /etc/udev/rules.d/70-persistent-net.rules is not blocking the HWADDR of your eth0. If so, just delete the file and reboot.
Kal
On Saturday 02 June 2012 06:41 AM, Kahlil Hodgson wrote:
On 30/05/12 22:14, Jerry Geis wrote:
Jerry,
I believe that by default the network is down and the "BOOTPROTO=dhcp" is not in the /etc/sysconfig/network-scripts/ifcfg-ethx. I encountered a similar issue on a KVM guest with minimal install
Did you clone this guest from another one? Might need to check that /etc/udev/rules.d/70-persistent-net.rules is not blocking the HWADDR of your eth0. If so, just delete the file and reboot.
Kal
I think that problem with the MAC address of the device which you were using,just see MAC address of that device and make changes to /etc/sysconfig/network-scripts /ifcfg-ethx file where edit previous MAC address with current MAC address. That's it and reboot.
Ashish