Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lvs fullnat模式下访问问题 #12

Closed
shenshouer opened this issue Dec 17, 2015 · 7 comments
Closed

lvs fullnat模式下访问问题 #12

shenshouer opened this issue Dec 17, 2015 · 7 comments

Comments

@shenshouer
Copy link

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

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

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

@wujiaming
Copy link
Contributor

没有配置 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
#12.

@movadd
Copy link

movadd commented Dec 22, 2015

看样子是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
#12.


Reply to this email directly or view it on GitHub
#12 (comment).

@shenshouer
Copy link
Author

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

@selboo
Copy link

selboo commented Mar 14, 2016

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

@selboo
Copy link

selboo commented Mar 14, 2016

@wujiaming @shenshouer

@nickyyliu
Copy link

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
Copy link

selboo commented Mar 14, 2016

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants