一品网
  • 首页

单网卡设置双IP(ubuntu,debian10)


修改/etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.6.6
netmask 255.255.0.0
gateway 192.168.6.1

auto eth0:1
iface eth0:1 inet static
address 192.168.10.6
netmask 255.255.0.0

gateway 192.168.10.1

dns-nameservers 114.114.114.114

重启网络

systemctl restart networking

Linux系统

相关


【linux系统】命令学习(八)bash 编程实战学习

linux系统Kibana安装 汉化

《Unix/Linux系统编程》第六章学习笔记

Linux系统优化

关于linux系统下的tss用户的说明

linux系统下kvm虚拟机的安装

【转】Linux系统下深究一个malloc/brk/sbrk新内存后的page fault问题

linux系统定时执行shell脚本

Linux系统:Centos7下搭建ClickHouse列式存储数据库

2021-11-24 linux系统安装必要步骤

记Linux系统中缺少GUI设备引起的神奇bug

【linux】查看linux系统自带的服务启动文件

标签

一品网 冀ICP备14022925号-6