View Single Post
Tuổi 30-11-2021, 09:33 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
How to set 2 ip on interface on Ubuntu 20 - Đặt 2 IP trên 1 card mạng Ubuntu
How to set 2 ip on interface on Ubuntu 20 - Đặt 2 IP trên 1 card mạng Ubuntu


Để đặt 2 IP trên cùng 1 card mạng Ubuntu 20 bạn làm như sau:


===============================


# This is the network config written by 'subiquity'
network:
ethernets:
eth1:
addresses:
- 162.0.210.59/25
- 162.0.210.36/25
gateway4: 162.0.210.1
nameservers:
addresses:
- 8.8.8.8
- 4.2.2.3
version: 2
================================


Chúc bạn thành công
  Trả lời ngay kèm theo trích dẫn này