ubantu 虛擬機使用橋接模式上網

ifconfig 查看網卡 使用第一塊網卡ens33 sudo vim /etc/network/interfaces auto ens33 ##使用網卡 iface ens33 inet static ##靜態 address 192.168.1.8 ##指定ip(要和主機在同一網段下,不能重名 ) 同一網段爲 192.168.1.xxx gateway 192.168.1.254 ##默認網
相關文章
相關標籤/搜索