Ubuntu Linux在命令列下改網卡的IP的方式:
#修改時需要root權限
sudo vim /etc/network/interfaces
DHCP的設定
auto eth0
iface eth0 inet dhcp
手動設定static IP的方式
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.255
gateway 192.168.1.254
Ubuntu Linux在命令列下改網卡的IP的方式:
#修改時需要root權限
sudo vim /etc/network/interfaces
DHCP的設定
auto eth0
iface eth0 inet dhcp
手動設定static IP的方式
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.255
gateway 192.168.1.254
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: business.safety.google (opens in a new window)
Marketing cookies are used to follow visitors to websites. The intention is to show ads that are relevant and engaging to the individual user.
A video-sharing platform for users to upload, view, and share videos across various genres and topics.
Service URL: www.youtube.com (opens in a new window)