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

Firewalls do not need to see PXE VLANs #101

Open
Gerrit91 opened this issue Sep 4, 2023 · 0 comments
Open

Firewalls do not need to see PXE VLANs #101

Gerrit91 opened this issue Sep 4, 2023 · 0 comments

Comments

@Gerrit91
Copy link
Contributor

Gerrit91 commented Sep 4, 2023

Follow-up of discussion in #99.

From @robertvolkmann

To prevent this, we should use something like:

 address-family ipv4 unicast
  redistribute connected route-map LOOPBACKS
  redistribute connected route-map VLAN4000
  neighbor FIREWALL allowas-in 2
  neighbor FIREWALL route-map LOOPBACKS out
  {{- range $k, $f := .Ports.Firewalls }}
  neighbor {{ $f.Port }} route-map fw-{{ $k }}-in in
  {{- end }}
 exit-address-family
 !
...
route-map LOOPBACKS permit 10
  match interface Loopback0
!
ip prefix-list VLAN4000 seq 10 permit <local PXE Vlan CIDR>
route-map VLAN4000 permit 10
  match ip address prefix-list VLAN4000
!
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

1 participant