Skip to content

Firewalls do not need to see PXE VLANs #101

@Gerrit91

Description

@Gerrit91

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
!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Enhancement.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions