CXT - Enjoy Life | 生活、技术、交友、分享 CXT - Enjoy Life | 生活、技术、交友、分享
  • 首页
  • 特色专题
    • 一键网络重装系统 - 魔改版(适用于Linux / Windows)
    • 精英IDC计划 - 千万IDC计划(从入门到跑路)
    • CXT裸机系统部署平台(自定义安装任意系统)
    • OpenWRT-Virtualization-Servers
  • 分类目录
    • 站点公告
    • 技术分享
    • 生活感悟
  • 更多(More)
    • 浏览记录(Historical-Record)
    • 支付捐赠(Payment-Donation)
    • 隐私政策(Privacy-Policy)
    • 服务状态(Server-Status)
    • 友情链接(Link)
    • 联系我们(Contact-US)
    • 关于我们(About-Me)
首页 › 技术分享 › 【网络拓扑系列-2】PVE网卡设置 vmbr0 vmbr1 单网口服务器主机 文件备份 模板1

【网络拓扑系列-2】PVE网卡设置 vmbr0 vmbr1 单网口服务器主机 文件备份 模板1

CXT
11月 2, 2020技术分享阅读 371,105
广告位招租
广告位招租
广告位招租
广告位招租
广告位招租
广告位招租
广告位招租
广告位招租

简介

看过上篇组网思路后,点击访问→《【网络拓扑】PVE组网 软路由拓扑 单网口服务器主机 例子1》←。

现在分享具体的网卡文件配置,便于组网和加深理解。当然,主要是为了后续教程方便,进行文件备份,节省时间。

其他,请务必先阅读上一篇【组网思路和拓扑原理】文章,再看本篇。

网卡详解

【物理网卡】

有线网卡:enp1s0

无线网卡:wlp2s0(没有无线网络,可忽略)

【虚拟网桥】

为什么?因为服务器有线只有一个单网口。

外网网桥:vmbr0

内网网桥:vmbr1

PVE网卡配置 /etc/network/interfaces

[email protected]:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto enp1s0
iface enp1s0 inet manual

allow-hotplug wlp2s0
iface wlp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 10.46.1.2/24
        gateway 10.46.1.1
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet static
        address 10.46.2.2/24
        bridge-ports wlp2s0
        bridge-stp off
        bridge-fd 0


[email protected]:~# 

懂得看了就懂,不懂得再仔细理解系列文章内容。

恭喜您完成了PVE的网络配置

请重启服务器,使得PVE网络更改生效(需确保软路由运行无误,且开机启动)。

系列文章,您需要看完组网系列,并理解内容。单一篇,只是分享其中一个部分。

【网络拓扑系列-2】PVE网卡设置 vmbr0 vmbr1 单网口服务器主机 文件备份  模板1-CXT - Enjoy Life | 生活、技术、交友、分享
proxmox-ve6

同时您应该清楚,网络环境千变万化,但不离其宗。

您应该针对您的网络环境进行适当的修改,才能达到您的组网目的。

交流讨论(频道、组群、论坛)

了解【联系我们(Contact-US)https://www.cxthhhhh.com/contact-us】页面获得更多信息

写在最后

享受当下的美好!

如果本文对您有帮助,请通过以下【赞赏】按钮捐赠,这将帮助我们更好的创作和发展。

Proxmox Proxmox-VE PVE 局域网 网络拓扑 软路由
赞赏 赞(0)
本文系作者 @CXT 原创发布在 CXT - Enjoy Life | 生活、技术、交友、分享。未经许可,禁止转载。
【网络拓扑系列-1】PVE组网 软路由拓扑 单网口服务器主机 例子1
上一篇
Linux系统使用hostapd创建无线AP热点,热点配置文件分享,踩坑错误解决
下一篇
近期文章
  • IPV6网络SMB(Samba)连接方式
  • [AD] FastLink停机坪推荐 || 高速协议 || 客制化套餐
  • OpenWRT Beautiful Routing Open Source Operating System【OpenWRT-Virtualization-Servers】V0.4.1
  • [System image] CentOS 8.x network installation image Stream 网络DD安装镜像
  • 【系统镜像】Windows Server 2019 全虚拟化驱动 数据中心 简体中文版 纯净完整版 UEFI DD包 v5.1
IPV6网络SMB(Samba)连接方式
2月 22, 2023
550 4
[AD] FastLink停机坪推荐 || 高速协议 || 客制化套餐
10月 10, 2022
3,970 2
OpenWRT Beautiful Routing Open Source Operating System【OpenWRT-Virtualization-Servers】V0.4.1
10月 17, 2021
83,562 0
[System image] CentOS 8.x network installation image Stream 网络DD安装镜像
9月 3, 2021
185,333 0
  • 0
简介 CXT - Enjoy Life

CXT - Enjoy Life | 生活、技术、交友、分享 - 自天佑之,吉无不利

网站导航
首页 特色专题 一键网络重装系统 - 魔改版(适用于Linux / Windows) 精英IDC计划 - 千万IDC计划(从入门到跑路) CXT裸机系统部署平台(自定义安装任意系统) OpenWRT-Virtualization-Servers 分类目录 站点公告 技术分享 生活感悟 更多(More) 浏览记录(Historical-Record) 支付捐赠(Payment-Donation) 隐私政策(Privacy-Policy) 服务状态(Server-Status) 友情链接(Link) 联系我们(Contact-US) 关于我们(About-Me)
友情链接
CXT | 自天佑之 吉无不利 润隍科技
Copyright © 2023 CXT - Enjoy Life | 生活、技术、交友、分享. Designed by nicetheme.
  • 首页
  • 特色专题
    • 一键网络重装系统 - 魔改版(适用于Linux / Windows)
    • 精英IDC计划 - 千万IDC计划(从入门到跑路)
    • CXT裸机系统部署平台(自定义安装任意系统)
    • OpenWRT-Virtualization-Servers
  • 分类目录
    • 站点公告
    • 技术分享
    • 生活感悟
  • 更多(More)
    • 浏览记录(Historical-Record)
    • 支付捐赠(Payment-Donation)
    • 隐私政策(Privacy-Policy)
    • 服务状态(Server-Status)
    • 友情链接(Link)
    • 联系我们(Contact-US)
    • 关于我们(About-Me)
# PVE # # 系统镜像 # # Proxmox # # Windows # # Proxmox-VE #
CXT
47
文章
0
评论
48
喜欢