当前位置:网站首页>Win10 bridging network card enables QEMU virtual machine to access the network normally
Win10 bridging network card enables QEMU virtual machine to access the network normally
2022-04-21 16:54:00 【Rusty well began】
1、 stay Windows Installed on the host TAP Network card driver :
Downloadable openvpn Client software , Install only one of them TAP drive ; In a network connection , You will see a new network card , Attributes are similar to TAP-Win32 Adapter…, Change its name to tap0.
Tap-windows Download address :
https://en.filetogo.net/app/tap-windows

2、 take tap0 Virtual network card and Windows Bridge with a real network card connected to the Internet :
Choose Windows network card , In network card properties - Sharing interface , Check “ Allow other network users to pass through the Internet Connect to connect (N)”, After that Home network connection Select... In the selection box tap0;

3、qemu To configure :
Add the following network parameters on the virtual machine startup command line :
-net nic -net tap,ifname=tap0
Parameter meaning :-net nic To express hope QEMU Create a virtual network card in the virtual machine ,-net tap Indicates that the connection type is TAP, And specify the network card interface name ( Just created tap0, It is equivalent to connecting the virtual machine to the bridge ).
Such as : Start command
qemu-system-aarch64.exe -m 8192 -cpu cortex-a72 -smp 8,sockets=4,cores=2 -M virt -bios E:\vm\arm64\QEMU_EFI.fd -device VGA -device nec-usb-xhci -device usb-mouse -device usb-kbd -drive if=none,file=E:\vm\arm64\kylindisk.qcow2,id=hd0 -device virtio-blk-device,drive=hd0 -drive if=none,file=,id=cdrom,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom -net nic -net tap,ifname=tap0,script=no,downscript=no
版权声明
本文为[Rusty well began]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211647583124.html
边栏推荐
- Sogou website divulges information
- What is ram running memory
- Jianmu continuous integration platform v2 3.0 release
- 从源码角度分析创建线程池究竟有哪些方式
- [interview ordinary people vs Expert Series] can you talk about CAS mechanism?
- Project training 2022-4-21 (flame grass)
- 众测、专属、渗透测试捡破烂小tips
- C language - elaborate on functions and structures
- Find the longest substring of a string
- 即便时代变迁,仍然屹立不倒,新款桑塔纳产品力如何?
猜你喜欢

Summary of Wu Enda's course of machine learning (II)

Microcomputer principle and interface technology -- electronic organ experiment report

.NET宝藏API之:IHostedService,后台任务执行
How many skills are necessary to master automated testing?

Summary of DOM operation elements

囤货之余,该重新认识罐头了

SQL -- database operation (DDL, DML, DQL) + use the command to view the storage location of the current database (database version query)
![[interview ordinary people vs Expert Series] can you talk about CAS mechanism?](/img/f3/4be96982e9199f676b685ccf39ec5a.png)
[interview ordinary people vs Expert Series] can you talk about CAS mechanism?

如果这题都不会面试官还会继续问我 JVM 嘛:如何判断对象是否可回收

数据库原理——图书馆管理系统
随机推荐
搜狗某频道存在SQL注入漏洞
4.25 unlock openharmony technology day! The annual event is about to open!
2018-8-10-use-resharper-features
SQL injection vulnerability exists in a channel of Sogou
How to judge whether a binary differential equation is a total differential
Mongodb security configuration
俄罗斯门户网站 Yandex 开源 YDB 数据库
手机硬件都有哪些
Program design TIANTI race l3-28 Sensen tourism (even if you think of multiset)
多核和多CPU编程——任务调度
2022 number two real problem
Alexnet论文泛读:深度学习CV领域划时代论文具有里程碑意义NeurIPS2012
众测、专属、渗透测试捡破烂小tips
Spark SQL底层执行流程详解
Start redis process
囤货之余,该重新认识罐头了
js 毫秒转天时分秒
PPS website XSS vulnerability
Iterative deepening search
thrift简单应用