Under the KVM can generate two types of network cards, RTL8139 and E1000, in fact, should be the underlying generation of different chips of the network card, and not with the host network card is what model is what model, wherein the default is 100 Gigabit network card, that is, RTL8319 crab card, the other is the E1000 Gigabit network card.Setup steps:1. Modify KVMVirsh Edit KVM Name2, find RTL8139, and r
Solution CentOS 7.0 vmwarevm has no Nic
Environment
CentOS: Version 7
[root@net592~]
#uname-a
Linuxnet5923.10.0-123.el7.x86_64
#1SMPMonJun3012:09:22UTC2014x86_64x86_64x86_64GNU/Linux
Problem 1: Vmware cannot identify the NIC, And the VM cannot access the Internet.
Problem 2: The vmwarevm cannot bridge the network adapter and prompts that the network cannot be changed to the bridge mode without a host network adapter
Problem 1 Solution
The driver cannot be properly installed due to compatibilit
of the virtual machine. Use WordPad to open (note: Do not use Notepad to open and edit, because this will result in the last run of the virtual machine when the error message, "Dictionary error"), the document has the iOS XR physical interface of some information, such as:Ethernet0.present = "TRUE"Ethernet0.virtualdev = "e1000"Ethernet0.connectiontype = "bridged"ethernet0.startconnected = "TRUE"Ethernet0.addresstype = "generated"ethernet0.generatedad
View network card manufacturers and SignalsView basic information: LSPCIView more information: LSPCI-VVV # 3 Lowercase VView nic Information: LSPCI | grep EthernetView Network card DriversView network card driver information: LSPCI-VVV # Find the details of the NIC device, including the NIC driver# LSMOD Lists all drivers loaded, including NIC driversView NIC driver versionView module information: Modifoor # ethtool-i NIC driver version in RHEL 6.3:# Modinfo IGBFileName:/lib/modules/2.6.32-279.e
A good deal of a daily blog, it seems that they are not hard enough. Come on, boy!Well today to share with you, because in daily use, install Linu new system too time, so cloning system became everyone's first choice, however this is not all smooth, you will find cloning, cloning machine Nic can not start the phenomenon. OK, let's get to the solution!1. First, enter the following directory:[Email protected] ~]# cd/etc/udev/rules.d/2. Modify the configuration file as follows:original : [[email pr
Tags: configuration file WAD too nic ESS ini eth0 mes restartVmvare cloning a virtual machine causes the network to not be used:Example error: Bringing up interface Eth0:device eth1 have different MAC addressFor example, error (When executing service network restart): device eth0 does not seem to be present, delaying initialization.# mkdir MyTest; CD mytest# ln-s/etc/udev/rules.d/70-persistent-net.rules Rules# ln-s/etc/sysconfig/network-scripts/net# echo ' > Rules# Start_udev# VI Rules//change N
VMware Virtual Machine folder and append the VMware Virtual machine configuration (. vmx) to a setting of our NIC type ethernet0.virtualdev = "e1000"ReasonVMware offers an old AMD pcnet10/100mbps virtual network card in a virtual client, and later, VMware provides 10/100/1000mbps performance with a similar partial virtualized vmxnet to optimize the virtual network card, with no doubt better performance. Now, VMware ESX server is already available wit
Check card manufacturer and signalView basic information: LSPCIView Details: LSPCI-VVV # 3 Small composition VView card information: LSPCI | grep EthernetView Network card DriversView network card driver information: LSPCI-VVV # Find specific information about the NIC device. Includes NIC driver# LSMOD Lists all drivers that are loaded. Includes NIC driverView NIC driver version numberView module information: Modifoor # ethtool-i The NIC driver version number in RHEL 6.3:# Modinfo IGBFileName:/l
# in the following article, the ESX server, which is installed directly on the hardware, is called "Host ESX Server", and the ESX server installed on the Host ESX server is called "Guest ESX server"
1. Do the guest ESX server settings
Just like installing other guest OS, connect to host ESX Server via VI client or VirtualCenter and create a VM. When created, the OS type selects "other", the VCPU is 2, and the memory is 1GB or more.
2. Change the NIC type to
srcfile linkfilename
Note: just create a hard link and remove the parameter s.
17. function: grant File Permissions
Command: chmod + x filename (add executable permission)
Note: Add executable permissions to all files in a directory: chmod + x ./*
18. function: network configuration (taking static IP configuration as an example)
Operation: vi/etc/sysconfig/network-scripts/ifcfg-eth0, edit as follows
DEVICE = eth0
ONBOOT = yes
BOOTPROTO = none
IPADDR = your ip
NETMASK = mask
GATEWAY
*Ifcfg-eth0
From the above comparison results, although the cloned B machine from Ifconfig–a see the original eth0 disappeared, became eth1, but, in/etc/sysconfig/network-scripts See, B Machine network card profile name is still called eth04.3, network device binding file 70-persistent-net.rules content comparison
A machine (original machine)
# This file is automatically generated by the/li B/udev/write_net_rules # program, run by the Persistent-net-genera
.
While it's the default,LncDriver is the worst Network Driver for your virtual machine. it's giant-locked (meaning it doesn't allow for much parall1_m in the OS), and it's actually deprecated and will be dropped in FreeBSD 7. the replacementLncIsLeAnd it's present at least in FreeBSD 6.2 and newer, but it's not supported in the default generic kernel. Thus, you'll have to configure and compile a custom kernelDevice lncReplacedDevice le. (Just loadingIf_leKernel module won't work becauseLncDri
= no
20174_failure_fatal = yes
IPV6INIT = no
NAME = "Auto eth0"
UUID = 7624a820-03b1-4a8e-abd1-559879087e5d
ONBOOT = yes
HWADDR = 00: 0c: 29: 4f: 36: 73
LAST_CONNECT = 1432796101
Step 2: modify the configuration file ATTR {address} to the MAC address value of the corresponding Nic, and change the NAME value to the desired value.
[Root @ oel6 network-scripts] # cat/etc/udev/rules. d/70-persistent-net.rules
# This file was automatically generated by the/lib/udev/write_net_rules
# Program, run by
/network-scripts/
#rm-fifcfg-eth0
#mvifcfg-eth1ifcfg-eth0
#viifcfg-eth0
DEVICE=eth0
//
Change eth1 to eth0
BOOTPROTO=none
NETMASK=255.255.255.0
TYPE=Ethernet
HWADDR=00:0c:29:60:15:0f
IPADDR=192.168.2.100
2. Delete the first device in the configuration file, and change the name of the second device to eth0. The MAC address must be consistent with that in the NIC configuration file.
#cd/etc/udev/rules.d/
# Vi70-persistent-net.rules // status not modified
#PCIdevice0x8086:0x100f(
Getting started with linux network configuration (I) Network Interface www.2cto.com ① naming rules linux kernel specifies different prefixes for interface names based on the interface type, each interface is allocated a number from scratch. For example, all Ethernet interfaces start with eth, eth0, eth1, and eth2 indicate the first, second, and third Ethernet cards, respectively. ② the NIC configuration information is displayed. Only the active Nic ifconfig displays all interfaces (NICS) ifconfi
software program. This scenario is used by early virtualization to virtualize network devices. Common simulation software is QEMU, VMware WorkStation, VirtualBox. The emulation network model diagram is as follows:Virtual network card products from different virtualization vendors are not the sameThe VMware emulation type NICs are: E1000 (emulated Intel 82545M Gigabit Network adapter), flexible, vlance (emulation AMC 79c970 PCnet32 10M NIC), LANCE ( T
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.