Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Ubuntu (http://quantrinet.com/forum/forumdisplay.php?f=341)
-   -   How to set 2 IP on interface Ubuntu 18 (http://quantrinet.com/forum/showthread.php?t=10266)

hoctinhoc 06-11-2021 08:30 PM

How to set 2 IP on interface Ubuntu 18
 
How to set 2 IP on interface Ubuntu 18


Để chạy 2 IP trên 1 interface on Ubuntu 18 bạn làm như sau:



network:
ethernets:
ens160:
addresses: [223.2.3.17/24, 192.168.11.82/24]
dhcp4: false
gateway4: 223.2.3.1
nameservers:
addresses:
- 8.8.8.8
version: 2


Bây giờ là 02:38 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.