设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย Français

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 30|回复: 2

如何给多IP Proxmox独立主机的VMs分配IP,使其联通网络。

[复制链接]

1

主题

0

回帖

5

积分

新手上路

积分
5
发表于 2019-8-19 23:40:00 | 显示全部楼层 |阅读模式
本帖最后由 cagg 于 2019-8-19 23:40 编辑


/etc/network/interfaces内容


root@pro:~# cat /etc/network/interfaces

auto lo
iface lo inet loopback

iface enp4s0 inet manual

iface enp5s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address  104.74.208.90
        netmask  255.255.255.248
        gateway  104.74.208.89
        bridge-ports enp4s0
        bridge-stp off
        bridge-fd 0


还有一个IP段用来分配给PVE下的虚拟机(Windows):

117.163.70.0/24

请问大佬们该如何设置网络才能使Windows正常上网,且能够通过RDP远程连接。

回复

使用道具 举报

5

主题

27

回帖

83

积分

注册会员

积分
83
发表于 2019-9-20 16:37:23 | 显示全部楼层
做个路由呗。
回复

使用道具 举报

73

主题

740

回帖

1777

积分

金牌会员

积分
1777
发表于 2020-3-31 15:56:43 | 显示全部楼层
成功了没,我也是装好不能联网
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2025-12-19 04:18 , Processed in 0.014590 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表