My Wiki!

DAI Testbed

1. Old

  • CC-NEMO:Testbed/Subnets
    • VLAN 50x+, Subnet 10x+. Below 500 are DAI.
    • Details for each subnet: CC-NEMO:Testbed/Subnets/IP-xxx
  • teampass.testbed.dai-lab.de
    • login with DAI account / Active directory.
    • Password management for routers, etc.
  • tbdns.testbed.dai-lab.de
    • name/Ip mapping
  • monowall.testbed.dai-lab.de
    • pfsense firewall, 3 LANs (Uplink,..)
    • rules, NAT, VPN, VLAN, etcs
    • TODO: auto backup pfsense configuration
  • VM
    • XenCenter
    • Not connected with AD/LDAP
    • NAV tools: 192.168.101.124 admin/admin

Create subnets for cisco router

  1. update wiki
  2. teampass.dai-lab.de
    1. check cisco switch pw
  3. Login ssh cisco switch: 192.168.100.200, switch-tb-main.testdbed.dai-lab.de
    1. ssh from older host then ubuntu 18.0.4

See cisco ios commands.

enable

#conf terminal
Enter configuration comman, one per line.
#vlan 581
#name openstact_dev
exit

Next

  • config vlan in pfsense
    • interface→ assignment–

      >

      1. VLAN → interface assignment
        1. available port (580) then ifacename is default to OPT*
        2. Edit interface name
      2. Service → DHCP server conf
        1. add static leases, MAC from VM
      3. Add domain dns. *.testbed.dai-lab.de

      =

Next

  • Virtual machine XCP-ng center (installed on winterser).
    • VM pool host:
      1. login to winterser.dai-lab.de | user dang (no domain prefix) | domain DAI
      2. add the above created networks: nic, vlan (580)
  • config firewall in pfsense
  • Troubleshooting

    Can not access internet

    When there are multiple interfaces assigned to the VM, the default GW can be selected randomly. Make sure the GW subnet is configured in the firewall to access internet.


    Navigation
    Toolbox