Skip to content
  • Dimitris Aragiorgis's avatar
    deploy: Networking fixes · da63a421
    Dimitris Aragiorgis authored
    
    
    Introduce /etc/network/interfaces.synnefo that will setup bridges
    used for VMs' public and private networks.
    
    Instead of using a common bridge use two separate bridges (br0,
    prv0). Their default ports are defined in nodes.conf
    (vm_public_iface, vm_private_iface) which are by default dummy. In a
    single node setup we don't need those interfaces. In case of router
    node, br0 will get the gateway IP.
    
    Use ferm for persistent network configuration. Add masq.ferm that
    is responsible for masquerading on router node and MAC SNAT on all
    nodes (needed in case we have a MAC filtered setup on
    vm_public_iface).
    
    Use rc.local to losetup extra disk and ifup bridges.
    
    Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
    da63a421