找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: skill7899

docker跑甜糖upnp不生效,解决办法

 火... [复制链接]
发表于 2020-10-20 17:44 | 显示全部楼层
感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 18:04 | 显示全部楼层
感谢分享!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 18:10 | 显示全部楼层
阿三大苏打实打实的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 18:27 | 显示全部楼层
esxi怎么设置
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 18:40 | 显示全部楼层
skill7899 发表于 2020-10-20 17:40
op拔号然后里面直接跑的docker?用macvlan试一下

docker network create -d macvlan --subnet=网段/24 ...

我这样对吗?
docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=br-lan macvlan

docker run -v /mnt/sdb/ttnode:/mnts -d --name ttnode --net=macvlan --ip=192.168.1.123 -i -t --privileged=true --restart=always fcatme/ttnode:v1 /start.sh

进入容器终端ping不通外网
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-10-20 18:46 | 显示全部楼层
401626436 发表于 2020-10-20 18:40
我这样对吗?
docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o pa ...

看命令是没错的,要么你把docker不要跑在op下面,另外装一个虚拟机,或者直接跑在pve下。

点评

把网络搞崩溃了好几下(好在还有ipv6网关可以用),原来不能在同一网段(稍微退位可以正常用上10几秒然后主地址就会崩掉)将指定空置让它自动配置就可以长用,但由于不同网段就没法搜索服务了,尝试静态指定到容器网段是  详情 回复 发表于 2020-10-20 20:55
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-10-20 18:48 | 显示全部楼层
401626436 发表于 2020-10-20 18:40
我这样对吗?
docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o pa ...

你要把br-lan开启混杂模式 ifconfig br-lan promisc,不然ping不通op得ip,所以没有办法联外网

点评

还是不行arp表里对应的mac全是0  详情 回复 发表于 2020-10-20 19:19
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-10-20 18:49 | 显示全部楼层
wuzhengxian 发表于 2020-10-20 18:27
esxi怎么设置

应该是一样的,我主要设置是op的端口转发
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 18:54 | 显示全部楼层
想知道甜糖是什么东东?

点评

http://m.tiantang.mogencloud.com/  详情 回复 发表于 2020-10-20 19:06
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 19:06 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 19:19 | 显示全部楼层
skill7899 发表于 2020-10-20 18:48
你要把br-lan开启混杂模式 ifconfig br-lan promisc,不然ping不通op得ip,所以没有办法联外网

还是不行arp表里对应的mac全是0
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 19:44 | 显示全部楼层
好,我来看看。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 19:45 | 显示全部楼层
看下。我的也是1
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 19:49 | 显示全部楼层
哎, 我也是1, 都放弃了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-20 20:02 | 显示全部楼层
我的也是不生效
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-18 14:50

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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