the IP parameters, let's first determine which NIC device to configure. Ifconfig This command can display the network card information of our current host, the default network card name is eth0, the second NIC name is eth1, and so on.In the path/etc/udev/rules.d/70-persistent-net.rules is the current system's network card profile information, by modifying the configuration file "name", we can modify the name of the network card.After modifying the NIC name in the configuration file, we need to
Basic Network ConfigurationTo connect a Linux host to a network, you need to configure network-related settingsGenerally include the following:Host NameIp/netmaskRouting: Default gatewayDNS ServerPrimary DNS ServerSecondary DNS serverThird-party DNS serversTo modify the NIC naming example:1. Check the driver of the network card and uninstall the NIC driver[Email protected] ~]# ethtool-i eth0driver:e1000 #网卡驱动[Email protected] ~]# modprobe-r e1000 #卸载网
Netmask 255.255.0.0
Network 10.0.0.0
Broadcast 10.0.0000255
Gateway 10.0.0.2
3. Create a tap network Startup Script
Sudo vi/etc/qemu-ifup
Create a qemu-ifup script and write the following content:
#! /Bin/sh
# Set-x
Switch = br0
If[-N"$1"];Then
/Usr/bin/sudo/usr/sbin/tunctl-u 'whoam'-t$1
/Usr/bin/sudo/sbin/ip link set$1Up
Sleep 0.5 s
/Usr/bin/sudo/usr/sbin/brctl addif$ Switch$1
Exit 0
Else
Echo"Error: no interface specified"
Exit 1
Fi
4. Create an empty tap network shu
, modify the file/Etc/sysconfig/network-scripts/ifcfg-ethnAdd configuration information for MAC Address binding and nameDEVICE = ethnHWADDR = MAC1 (for example, 00: 30: 48: 7f: b5: ca)Other configuration information is not affected.After binding all NICs, the reboot system should be ready.Note the following:/Etc/modprobe. confTo modify the file, make sure that a device uses the corresponding driver, for example:Cat/etc/modprobe. confAlias eth0 forcedethAlias eth1 forcedethAlias scsi_hostadapter
each model of hardware devices, especially NVIDIA graphics cards. Ubuntu 7.10 Live CD will soon be successfully upgraded. Therefore, you do not need to download the standard Live CD from the Ubuntu website, and then install and upgrade it after burning. If your Linux OS has some hardware devices from other locations (not officially configured) on the desktop PC, it is best to use the standard Live CD on the Ubuntu website, then find the driver for the specific hardware. This must be a time-cons
: Usb required: note! Delete the usb controller. Otherwise, the mouse will not be moved during installation. Do not start a virtual machine after it is created. Open the virtual machine configuration file in the Virtual Machine directory with a text editor. The file name is. vmx. Find the following two rows: ethernet0.virtualDev = "e1000" scsi0.virtualDev = "lsilogic". If the values of these two rows are different from those described above, change th
Start Time: 6.188 s
Key time-consuming part:
1) initialization of core components such as 0.652 s-Timer, IRQ, Cache, And Mem Pages
2) 0.611 s-kernel and RTC Clock Synchronization
3) 0.328 s-computing Calibrating Delay (total consumption of 4 CPU cores)
4) 0.144 s-calibration APIC clock
5) 0.312 s-calibration Migration Cost
6) 3.520 s-Intel E1000 Nic Initialization
Next, we will analyze and resolve the above parts one by one.
(3) Next, perform spec
Linuxkernele1000e module bug patch released-Linux general technology-Linux programming and kernel information, the following is a detailed description. The alpha/beta version of Linux kernel 2.6.27 (up to rc7) has a kernel vulnerability that allows users to write the intel e1000/e1000e module's EEPROM/NVM, which may cause the NIC to fail to work, affected releases include openSUSE, Mandriva, Fedora, and Ubuntu.
Now the patch to fix this vulnerabili
system and for broken asynchronous I/O on older Linux kernels with ext4/xfs file systems not only when starting the VM from scratch but also when starting from a saved state
* NAT: fixed memory leak (3.2.0 regression; bugs #6918, #7353)
* Networking: fixed VM reset handling in e1000
* VRDP: fixed rare crash in multimonitor configuration
* Display: fixed occasional guest resize crash
* Mouse: don't send relative mouse events together with absolute mou
LinuxNETDUMP server? C? Ming -- Linux Enterprise Application-Linux server application information. The following is a detailed description.
NETDUMP server? C? Ming
Netdump server? ^ Cheng?
? System? Abnormal down? C? R? Netdump ??? Group fresh machinery makes a fuss about the deployment of puppet ^ ???? Netdump-server, and master? The CIP name is stored in/var/crash in netdump-server.
Configure the netdump server? Sachet? S
1. Should Netdump have at least one server? Why should I renew my acco
driver of the broadcom Nic, but this driver is carried by redhat itself, not provided by broadcom. Generally, this version is relatively low, and the version itself has no reference value.
If the driver has been updated to bcm5700, the corresponding command is
Dmesg | grep bcm5700 or grep bcm5700/var/log/messages
The published document number is displayed, for example
Broadcom Gigabit Ethernet Driver bcm5700 with Broadcom NIC Extension (NICE) ver.
8.1.55 (04/08/05)
Bcm5700: eth0 NIC Link
de6316o eexpress. o hp. o ni5010.o rcpci. o strip. o wan
3c507. o aironet4500_proc.o defxx. o epic100.o hp-plus.o ni52.o sb1000.o sundance. o wavelan. o
3c509. o amd8111e. o depca. o eql. o irda ni65.o shaper. o sungem. o wd. o
3c515. o appletalk dgrs. o es3210.o lance. o ns83820.o sis900.o sunhme. o winbond-840.o
3c59x. o arlan. o dl2k. o eth16i. o lne390.o pcmcia sk98lin tc35815.o wireless
8139cp. o arlan-proc.o dmfe. o ethertap. o lp486e. o pcnet32.o skfp tg3.o wireless_old
8139too. o at1700
The virtual network card is defined by the-net NIC# qemu-system-x86_64-enable-kvm-name ubuntutest-m 2048-hda ubuntutest.img-vnc:19-net NICIf we view the info network in monitorYou can see the followingSometimes, we see VLAN 0, where the VLAN and 802.1.q a little relationship, is the concept of virtual hub, in the new version has been changed.We can do it in monitor.Set_link e1000.0 offSet_link e1000.0 onTo start and stop the network card-net nic [, VLAN = n] [, macaddr = Mac] [, model = Type] [,
items include Virtio, Vhost, Macvtap, Vepa, Sriov network cards, and there are several articles written in very goodHttps://www.redhat.com/summit/2011/presentations/summit/decoding_the_code/wednesday/wagner_w_420_kvm_ Performance_improvements_and_optimizations.pdfHttps://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Virtualization_Tuning_and _optimization_guide/index.html#chap-virtualization_tuning_optimization_guide-networkingHttp://www.openstack.cn/p2118.htmlhtt
.vbox-extpack$ sudo vboxmanage extpack install./oracle_vm_virtualbox_extension_pack-4.2.12-84980.vbox-extpackVerify the Extension Pack is successfully installed, by using the following command.$ vboxmanage List ExtpacksExtension packs:1Pack No. 0:oracle VM VirtualBox Extension Packversion:4.2.12revision:84980Edition:DESCRIPTION:USB 2.0 Host Controller, VirtualBox RDP, PXE ROM with E1000 support.Vrde MODULE:VBOXVRDPUsable:trueWhy unusable:Create a Virt
/wyfs02/M00/6F/1F/wKiom1WSQELz4sICAAEKYpL61Fc965.jpg "title=" QQ picture 20150630150528.png "alt=" Wkiom1wsqelz4sicaaekypl61fc965.jpg "/>Set Network boot from Intel E1000 is the first boot, save the boot system and enter the system. The system obtains the IP itself into the shared image after it has been acquired. installation requires manual selection. Test:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6F/1C/wKioL1WSQsKjvGhzAAHNeDuwFG436
machine with a transient network disconnection, we recommend that you use a fully-virtualized Nic such as e1000 if the network pressure on the Windows virtual machine is low. If the network pressure is high, we recommend that you use technologies such as srivo or PCI device assignment. viritio is also evolving, and we hope that there will be fewer and fewer transient Disconnections for Windows.
KVM is designed for Linux systems by nature. For Linux s
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.