Partage
  • Partager sur Facebook
  • Partager sur Twitter

Resaeau SDN

    8 mai 2016 à 1:52:18

    bonjour, 

    Est-ce-que quelqu'un peut me donner une idée sur la façon de connecter deux machine virtuelles avec les openflow switchs qui se trouvent dans mininet

    • Partager sur Facebook
    • Partager sur Twitter
      13 mai 2016 à 16:45:52

      Bonjour,

      Il y a plusieurs méthodes mentionnées ici.

      1) add a router (could be iptables, quagga or something else) running on root namespace, add a link from this host to ovs and you are done; this is the approach on https://github.com/mininet/mininet/blob/master/examples/nat.py <https://github.com/mininet/mininet/blob/master/examples/nat.py> 
      2) add a physical interface to ovs; this is the approach on https://github.com/mininet/mininet/blob/master/examples/hwintf.py <https://github.com/mininet/mininet/blob/master/examples/hwintf.py>

      3) connect your Mininet network to some sort of tunnel/virtual link that connects to wherever you want

      Tu devrais utiliser cette approche selon moi :

      If you have Mininet running in one VM and you want the Mininet hosts/containers to be able to talk to other VMs connected to your VM bridge, usually the easiest thing to do is to add a new virtual interface (e.g. ‘eth2’) to your Mininet VM (make sure that new virtual interface is connected to your VM bridge), and then to add that interface to OVS, e.g. by using s1.addIntf(’eth2’) or the approach in examples/hwintf.py (which is basically the same thing but using the low-level API.)

      Si tu as besoin de précisions, n'hésite pas, j'ai pas mal joué avec Mininet et Openflow.

      • Partager sur Facebook
      • Partager sur Twitter

      Resaeau SDN

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown