🏷️ONOS

📌가상 네트워크 구성
- ONOS를 컨테이너로 실행중인 호스트가 아닌 다른 호스트에서 mininet을 이용하여 가상 네트워크를 구성해보자.
sudo apt install mininet openvswitch-switch && service openvswitch-switch start
sudo mn --controller=remote,ip=192.168.111.149,port=6653 --topo=single,3 --switch=ovs,protocols=OpenFlow13
sudo ovs-vsctl show
59ed47d6-f65d-4b95-962f-b4e64f582d90
Bridge s1
Controller "ptcp:6654"
Controller "tcp:192.168.111.149:6653"
is_connected: true
fail_mode: secure
Port s1-eth3
Interface s1-eth3
Port s1-eth2
Interface s1-eth2
Port s1-eth1
Interface s1-eth1
Port s1
Interface s1
type: internal
ovs_version: "2.17.9"
is_connected: true
가 출력되면 잘 연결된 것이다.
📌References