修改虚拟机的ip地址
时间: 2023-10-11 11:13:14 浏览: 111
要修改虚拟机的IP地址,可以按照以下步骤进行操作。首先,需要重置虚拟机以获得一个纯净的操作环境。然后,可以通过以下命令来修改虚拟机的IP地址:ifconfig eth1 10.90.3.49 netmask 255.255.0.0。其中,eth1是网卡名称,10.90.3.49是新的IP地址,255.255.0.0是子网掩码。这种方式可以使改变即时生效,但在虚拟机重启后会失效。\[1\]\[3\]
#### 引用[.reference_title]
- *1* [虚拟机修改ip地址的操作步骤](https://blog.csdn.net/Mr_fengzi/article/details/102496498)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [如何使用虚拟机改ip地址?](https://blog.csdn.net/m0_60572157/article/details/119701051)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [虚拟机修改ip方式(临时+永久)](https://blog.csdn.net/NRlovestudy/article/details/79927280)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文