EdgeRouter 4

My home lab ISP is AT&T fiber which includes there standard GW. I have bypassed this with an EdgeRouter 4 from Ubiquiti.

IPv6

Note

AT&T assigns a /60 for home use.

Note

Grayson Telecom Does NOT support IPv6. I did discover they have ASN: AS20042 and 2607:5d80::/32 assigned.

The following uses the CLI; SSH to ER4.

  1. Configure IPv6 for WAN int eth0.0 and eth1

    ssh vince@192.168.1.1
    
    configure
    
    edit interfaces ethernet eth0
    
    set dhcpv6-pd pd 0 prefix-length /60
    set dhcpv6-pd pd 0 interface eth1 host-address ::1
    set dhcpv6-pd pd 0 interface eth1 prefix-id :0
    set dhcpv6-pd pd 0 interface eth1 service slaac
    
    commit ; save ; exit
    
  2. Configure IPv6 for WAN int eth0.0 and eth1 vlan 122

    ssh vince@192.168.1.1
    
    configure
    
    edit interfaces ethernet eth0
    
    set dhcpv6-pd pd 0 prefix-length /60
    set dhcpv6-pd pd 0 interface eth1.122 host-address ::1
    set dhcpv6-pd pd 0 interface eth1.122 prefix-id :1
    set dhcpv6-pd pd 0 interface eth1.122 service slaac
    
    commit ; save ; exit
    

BGP

The following uses the CLI; SSH to ER4.

  1. Configure BGP for use with OCP MetalLB

    ssh vince@192.168.1.1
    
    configure
    
    set protocols bgp 64512
    set protocols bgp 64512 peer-group ovn_ocp
    set protocols bgp 64512 peer-group ovn_ocp remote-as 64512
    set protocols bgp 64512 peer-group ovn_ocp soft-reconfiguration inbound
    set protocols bgp 64512 neighbor 192.168.132.11 peer-group ovn_ocp
    set protocols bgp 64512 neighbor 192.168.132.12 peer-group ovn_ocp
    set protocols bgp 64512 neighbor 192.168.132.13 peer-group ovn_ocp
    
    commit ; save ; exit
    
  2. Show BGP

    ssh vince@192.168.1.1
    
    show ip bgp
    show ip bgp summary
    show ip bgp neighbors 192.168.132.11 advertised-routes
    show ip bgp neighbors 192.168.132.11 received-routes
    

PXE

I setup iVentoy for PXE on my LAB server. DHCP scope needs to be updated for network booting.

  1. Add bootfile server and name to DHCP service

    ssh vince@192.168.1.1
    
    configure
    
    set service dhcp-server shared-network-name LAB122 subnet 192.168.122.0/24 bootfile-server 192.168.1.72
    set service dhcp-server shared-network-name LAB122 subnet 192.168.122.0/24 bootfile-name iventoy_loader_16000_bios
    show service dhcp-server shared-network-name LAB122
    
    commit ; save ; exit
    
  2. Don’t forget to open your firewall for iVentoy

    sudo firewall-cmd --add-port=69/udp --permanent
    sudo firewall-cmd --add-port=16000/tcp --permanent
    sudo firewall-cmd --add-port=10809/tcp --permanent
    sudo firewall-cmd --add-port=26000/tcp --permanent
    sudo firewall-cmd --reload
    sudo firewall-cmd --list-all
    

Simulate Latency

ssh vince@192.168.1.1

configure

set traffic-policy network-emulator test network-delay 200
set interfaces ethernet eth1 traffic-policy out test

commit ; save ; exit