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

service binding to a floating/NAT IP rather than addresses for an interface #4507

Open
wey-gu opened this issue Aug 11, 2022 · 0 comments
Open
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@wey-gu
Copy link
Contributor

wey-gu commented Aug 11, 2022

Background:

If one user would like to access meta/storage from another network, say, nebulagraph in the public cloud, spark cluster on-premise. It's natural to have storaged configured with a public IP provided by NAT/Floating IP of the cloud provider.

Issue:

The storaged won't boot up as it's doing validation based on all addresses of NIC:

if (result == ips.end()) {
return Status::Error("%s is not a valid ip in current host, candidates: %s",

Suggestion:

We should consider allowing addresses to be configured as host ip/service identity but somehow allow internal network routing(to prevent west-east traffic to be routed outside of the OS)?

ref: https://discuss.nebula-graph.com.cn/t/topic/9726/22

@wey-gu wey-gu added the type/enhancement Type: make the code neat or more efficient label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

1 participant