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

Find useless NAT #4

Open
hknutzen opened this issue Jun 24, 2014 · 0 comments
Open

Find useless NAT #4

hknutzen opened this issue Jun 24, 2014 · 0 comments

Comments

@hknutzen
Copy link
Owner

When is a "bind_nat = x" useless?

  1. bind_nat is applied to an unmanaged device and
  2. the area where this bind_nat is applicable, has no managed device and
  3. this bind_nat doesn't prevent an address conflict.

How do we check this?

  1. is easy
  2. needs to find the area bordered by other occurences of "bind_nat = x".
    If this area is located inside a single zone or zone_cluster, then there is no managed device.
  3. we need to check all networks with nat:x and compare its address with all networks inside the bind_nat area. We can't always use the original address, but must check if some other NAT is applied.

This seems to be rather complex.

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

No branches or pull requests

1 participant