跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 双网卡双IP求指点配置
未分類
25 9 月 2021

双网卡双IP求指点配置

_____________Cc 大佬有话说 :

双网卡双IP求指点配置

双网卡,双ip,网卡1是static/dhcp均可,网卡2是static

auto lo
iface lo inet loopback

#auto enp0s3
#iface enp0s3 inet dhcp

auto enp0s3
iface enp0s3 inet static
address 10.0.0.80
netmask 255.255.255.0
gateway 10.0.0.1

auto enp1s0
iface enp1s0 inet static
address 10.0.0.112
netmask 255.255.255.0
gateway 10.0.0.1

这么配 只有enp1s0能通    把enp1s0的网关注释掉 又只有enp0s3通
系统是debian求教如何配置

optimism 大佬有话说 :

等个大佬               

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具