Ping between linux virtual machines and real machines
Source: Internet
Author: User
The ping problem between linux virtual machines and real machines-general Linux technology-Linux technology and application information. For details, refer to the following section. [I = s] This post was last edited by qianlong4526888
I:
After I install tftp on a virtual machine, download the compiled Linux kernel uImage from the Development Board.
Command:
Tftp 32000000 uImage
Dm9000 I/o: 0x20000300, id: 0x90000a46
MAC: 00: 0c: 29: 2c: 38: 50
TFTP from server 192.168.57.129; our IP address is 192.168.57.1
Filename 'uimage '.
Load address: 0x32000000
Loading: checksum bad
Checksum bad
T
The environment variables in my Uboot are as follows:
Bootargs = noinitrd root =/dev/mtdblock2 init =/linuxrc console = ttySAC0
Bootcmd = nboot 0x32000000 kernel; bootm 0x32000000
Baudrate = 115200
Netmask = 255.255.255.0
Mtdids = nand0 = nandflash0
Mtdparts = nandflash0: 256k @ 0 (bios), 128 k (params), 128 k (toc), 512 k (eboot), 1024 k (logo ), 2 m (kernel),-(root)
File = 123.
Bootdelay = 3
Ethaddr = 00: 0C: 29: 2C: 38: 50
Serverip = 192.168.57.129
MAC = 0a: 1b: 2c: 3d: 4e: 5f
Ipaddr = 192.168.57.1
Stdin = serial
Stdout = serial
Stderr = serial
Partition = nand0, 0
Mtddevnum = 0
Mtddevname = bios
Environment size: 488/131068 bytes
The results show checksum bad, retry, and so on each time.
The download fails because the network cannot be pinged.
Then I can ping the Virtual Machine IP address on the terminal.
Later, we found that the ping between the linux Virtual Machine and the real machine failed.
1. When the network mode is selected as the NAT mode in the VMWare settings, the virtual machine can be pinged. In turn, the virtual machine cannot be pinged.
2. When other network methods are selected, ping to each other fails.
3. windows Firewall is disabled, anti-virus software is disabled, and linux firewall is disabled.
4. The network segment of the host and linux virtual machine is the same
How can this problem be solved? How can I ping each other?
Ii. There is also a weak problem. I found that the IP addresses of the Development Board and linux virtual machines are both 19x. xxx. Can I change them to 202. xxx?
My board and linux virtual machine cannot ping each other. Both tftp and tftp-server are installed. If the firewall is off, it cannot be connected. Hope you can give me some guidance
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service