alibaba / LVS

A distribution of Linux Virtual Server with some advanced features. It introduces a new packet forwarding method - FULLNAT other than NAT/Tunneling/DirectRouting, and defense mechanism against synflooding attack - SYNPROXY.
2k stars 682 forks source link

lvs fullnat模式下访问问题 #12

Closed shenshouer closed 8 years ago

shenshouer commented 8 years ago

lvs fullnat才搭建起来,访问都正常。但一会之后出现日志:

lvs-master kernel: [ 1507.061626] IPVS: bind local address: no port available

访问不到rs了。 这个可能是什么原因呀?

wujiaming commented 8 years ago

没有配置 local address

2015-12-17 14:26 GMT+08:00 sope notifications@github.com:

lvs fullnat才搭建起来,访问都正常。但一会之后出现日志:

lvs-master kernel: [ 1507061626] IPVS: bind local address: no port available

访问不到rs了。 这个可能是什么原因呀?

— Reply to this email directly or view it on GitHub https://github.com/alibaba/LVS/issues/12.

movadd commented 8 years ago

看样子是local address 不够用, 增加一些laddr试试

2015-12-18 15:35 GMT+08:00 吴佳明 notifications@github.com:

没有配置 local address

2015-12-17 14:26 GMT+08:00 sope notifications@github.com:

lvs fullnat才搭建起来,访问都正常。但一会之后出现日志:

lvs-master kernel: [ 1507061626] IPVS: bind local address: no port available

访问不到rs了。 这个可能是什么原因呀?

— Reply to this email directly or view it on GitHub https://github.com/alibaba/LVS/issues/12.

— Reply to this email directly or view it on GitHub https://github.com/alibaba/LVS/issues/12#issuecomment-165703358.

shenshouer commented 8 years ago

多谢啊,问题已经解决了,是local address 问题

selboo commented 8 years ago

你好。 我也遇到此问题了。 不知道你是 怎么解决的? 这个 local address 是什么地址? lvs master IP地址吗?

selboo commented 8 years ago

@wujiaming @shenshouer

nickyyliu commented 8 years ago

local address是与real server通信的内网地址

Best regards

发件人: Selboo 发送时间: 2016-03-14 16:11 收件人: alibaba/LVS 主题: Re: [LVS] lvs fullnat模式下访问问题 (#12) 你好。 我也遇到此问题了。 不知道你是 怎么解决的? 这个 local address 是什么地址? lvs master IP地址吗? — Reply to this email directly or view it on GitHub.

selboo commented 8 years ago

感谢,解决了。 原来还要 添加 local-address ipvsadm -P|Q -t|u|f service-address -z local-address

另外 最新版本 是否开源, 我看 v2 很长时候没更新了?