PugIX · Technical
Peering LAN and port rules.
Two VLANs, one set of rules, and example configuration for RouterOS and BIRD.
Peering LAN
Addresses.
- IPv6
- TBA — RIPE IXP assignment pending
- IPv4
- TBA — RIPE IXP assignment pending
- Route servers
- RS1, RS2 — see route servers
- Looking glass
- lg.as218102.net
| VLAN | For | MTU |
|---|---|---|
pugix | everyone (physical and remote) | 1400 |
pugix-local | physical ports in Perses 2 only | 1500, 9000 on request |
Remote members are on pugix only: the tunnel overhead leaves 1400 bytes. Physical members in Perses 2 can be on both.
Port rules
What may enter the LAN.
- One MAC address per port (per VLAN). Frames from other addresses are dropped.
- Only IPv4, IPv6 and ARP ethertypes; for IPv6, neighbour discovery only — no router advertisements.
- No proxy-ARP, DHCP, STP, CDP, LLDP or other link-local protocols towards the LAN.
- Broadcast, unknown unicast and multicast are policed. ARP and ND are allowed at normal rates.
- New ports start in a quarantine VLAN and move to production once they pass the checks.
Example configuration
RouterOS and BIRD.
Announce only your own routes and those of your customers. Use your AS-SET; the route servers filter on it.
# RouterOS v7 — values in <> are yours or announced at launch /interface vlan add name=pugix interface=<port-or-tunnel> vlan-id=<vlan> mtu=1400 /ipv6 address add interface=pugix address=<your-ipv6>/64 advertise=no /ip address add interface=pugix address=<your-ipv4>/<len> /routing filter rule add chain=pugix-out rule="if (dst in <your-prefix>) { accept }" /routing filter rule add chain=pugix-out rule="reject" /routing filter rule add chain=pugix-in rule="accept" /routing bgp connection add name=pugix-rs1-v6 as=<your-asn> local.role=ebgp \ local.address=<your-ipv6> remote.address=<rs1-ipv6> remote.as=<pugix-asn> \ input.filter=pugix-in output.filter-chain=pugix-out output.network=<your-address-list> # repeat for rs2 and for IPv4
# BIRD 2 — values in <> are yours or announced at launch filter pugix_out { if net ~ [ <your-prefix> ] then accept; reject; } template bgp pugix_rs { local as <your-asn>; enforce first as off; # route servers do not prepend their ASN ipv6 { import all; export filter pugix_out; }; } protocol bgp pugix_rs1_v6 from pugix_rs { neighbor <rs1-ipv6> as <pugix-asn>; } protocol bgp pugix_rs2_v6 from pugix_rs { neighbor <rs2-ipv6> as <pugix-asn>; }