Skip to main content

Network

Overview

There are 4 network interfaces.
Each interface bonds 2 physical network cards.

The 4 main vlans used are

  • MDC RP Management
  • NSP Client Network
  • NSP Internal Network
  • NSP Managed Network

Exact mappings and vlan information is in the spreadsheet:
Network Interfaces and Vlans

This sheet is for the RCPT hosts.  The KCSW hosts are the exact same except the third IP field is +50.

RCPT Vlan


Vlan

172.18.2.0/24

Vlan Tag

2102


KCSW Vlan


Vlan

172.18.52.0/24
Vlan Tag 2122

Bond configurations

This creates the bond interfaces

nmcli connection add ipv4.method disabled ipv6.method ignore type bond mode active-backup ifname bond1 con-name bond1
nmcli connection add type ethernet slave-type bond ifname ens6f0 master bond1 con-name bond1-slave0
nmcli connection add type ethernet slave-type bond ifname ens6f1 master bond1 con-name bond1-slave1

nmcli connection add ipv4.method disabled ipv6.method ignore type bond mode active-backup ifname bond2 con-name bond2
nmcli connection add type ethernet slave-type bond ifname eno12409np1 master bond2 con-name bond2-slave0
nmcli connection add type ethernet slave-type bond ifname eno12399np0 master bond2 con-name bond2-slave1

nmcli connection add ipv4.method disabled ipv6.method ignore type bond mode active-backup ifname bond3 con-name bond3
nmcli connection add type ethernet slave-type bond ifname eno12419np2 master bond3 con-name bond3-slave0
nmcli connection add type ethernet slave-type bond ifname eno12429np3 master bond3 con-name bond3-slave1

nmcli dev

Bridge configurations

This creates the bridges and adds them as slaves to the respective bond

nmcli con add type bridge ifname br1 con-name br1
nmcli con modify br1 ipv4.method disabled ipv6.method disabled
nmcli con modify bond1 master br1 slave-type bridge
nmcli con up br1

nmcli con add type bridge ifname br2 con-name br2
nmcli con modify br2 ipv4.method disabled ipv6.method disabled
nmcli con modify bond2 master br2 slave-type bridge
nmcli con up br2

nmcli con add type bridge ifname br3 con-name br3
nmcli con modify br3 ipv4.method disabled ipv6.method disabled
nmcli con modify bond3 master br3 slave-type bridge
nmcli con up br3

nmcli dev

VM ENV

This makes sure to use the system qemu instance instead of the userspace one when running virsh commands.

Run this before using any VM commands otherwise you will not find any VMs!

echo 'export LIBVIRT_DEFAULT_URI="qemu:///system"' >> ~/.bashrc
source ~/.bashrc

VM Nets

Use this script to add the bridges to the VMs

add_br_vm.sh

VM Bridge Assignments:

Client Bridge (br1) Vms:

  • All Vms

NSP Internal Bridge (br2) Vms:

  • All VMs excpet:
    KCSW-WSNOC, KCSW-WSP, RCPT-WSNOC, RCPT-WSP

NSP Internal Bridge (br3) Vms:

  • All VMs excpet:
    KCSW-WSNOC, KCSW-WSP, RCPT-WSNOC, RCPT-WSP