Beruflich Dokumente
Kultur Dokumente
CONFIDENTIAL
EstiNet Technologies Inc. 2017. All rights reserved
TABLE OF CONTENTS
Part I. To introduce three modules: mifx, mifxvlan and iptranslate --------------------------- 1
1. Module mifx--------------------------------------------------------------------------------------------1
2. Module mifxvlan --------------------------------------------------------------------------------------2
3. Module iptranslate -----------------------------------------------------------------------------------3
Part II. There are six samples which describe the method to set External Controller,
CONFIDENTIAL
EstiNet Technologies Inc. 2017. All rights reserved
This document includes two parts. The Part I introduces three modules mifx , mifxvlan
, and iptranslate that are used in Emulation Extension Networks. The Part II
describes the method to set External Controller, External Switch and External Host in EstiNet
Emulation Networks. It will provide six samples for reference.
1. Module mifx
EstiNetSE
mifx
for ethx
ethx
(driver)
NIC
(network
interface card)
Any Packet *
1) mifx module bind ethx (bind network card for packet input and output)
2) A packet input from NIC(network interface card)
2.1) A continuous space packet input from NIC, mifx module put this packet into packet
structure of simulator.
2.2) mifx module send this packet structure to simulator.
3) A packet come from simulator
3.1) mifx module make a continuous space packet from packet structure of simulator.
3.2) mifx module send this packet into NIC
1
2. Module mifxvlan
NIC
(network
interface card)
Any Packet *
1) mifxvlan module bind ethx (bind network card for packet input and output)
2) Read file from GUI xxx.mifxvlan to create Node ID with Port ID and VLAN ID
3) A packet input from NIC (network interface card)
3.1) A continuous space packet input from NIC, mifxvlan module will check if VLAN Tag exist
in this packet.
3.2) If VLAN Tag exist, check this VLAN Tag matched VLAN ID in Table or not.
3.3) If it matched, mifxvlan module remove packet VLAN Tag and put this packet into packet
structure of simulator.
3.4) mifxvlan module send this packet structure to simulator.
4) A packet come from simulator
4.1) mifxvlan module make a continuous space packet from packet structure of simulator.
4.2) mifxvlan module add VLAN Tag to this packet
4.3) mifxvlan module send this packet to NIC
2
3. Module iptranslate
IP Translation Module
IP
Translation IP Transformation IP Transformation
Reference Table Reference Table
for Outgoing Packets for Incoming Packets
from to from to
1.0.1.1 192.168.1.1 192.168.1.1 1.0.1.1
1.0.2.1 192.168.1.114 192.168.1.114 1.0.2.1
1.0.2.2 192.168.1.115 192.168.1.115 1.0.2.2
3
Part II. There are six samples which describe the method to
EstiNet Simulation
eth0 or wifi
External Controller EstiNet Server
eth1
eno33554984
IP: 192.168.100.11
IP:192.168.100.12
Mask:255.255.255.0
Mask:255.255.255.0
[1.2]Equipment
One EstiNet Server with two NIC(Network Interface Card)
One External Controller
[1.3]Topology
4
s01_ExternalController.tar
Ps. In this node ID 1 External Controller, add module MIFX and IPTRANSLA as below.
[1.4]Settings
step1: In EstiNet Server:
Set eth0 to connect License Server: lic1.estinet.com or lic2.estinet.com
Set eth1 as IP: 192.168.100.12 netmask:255.255.255.0.Using eth1 to connect external
controller.
setp2: In external controller environment:
Set IP:192.168.100.11 netmask:255.255.255.0
5
step3: open the topology from attach file s01_ExternalController.tar
(IV) host4:
In tab Application, set Start time as 1, Stop time as 300 and Command as ping 1.0.2.2 .This
ping command will send packet from host4 to host5.
(V) host5:
It doesn't need to set any parameters here.
setp6: In external controller environment:
Execute NOX 1.3 controller ./nox_core -i ptcp: switch or Ryu controller ./ryu-manager
simple_switch_13.py
step7: In EstiNet emulator environment:
[1.5]Test result
Internal Host4 can successfully send TCP packets to Internal Host5
6
Sample2 External Controller + External Switch + External Host
[2.1]Schematic diagram
EstiNet License Server
EstiNet Simulation
eth0 or wifi
External Controller EstiNet Server
Hub
eth1
IP: 192.168.100.11 IP:192.168.100.12
Mask:255.255.255.0 Mask:255.255.255.0 eth2
IP:192.168.100.110
Mask:255.255.255.0
To Data Port
External Switch
To Controller Port
IP: 192.168.100.115
Mask:255.255.255.0
External Host
IP: 192.168.100.116
Mask:255.255.255.0
[2.2]Equipment
One EstiNet Server with three NIC(Network Interface Card)
One External Controller
One External Switch(support OpenFlow version1.3)
One External Host
One Hub
7
[2.3]Topology
s02_ExternalController_ExternalSwitch_ExternalHost.tar
Ps. In this node ID 6 External Switch, add module MIFX, IPTRANSLA and FIFO as below.
8
[2.4]Settings
step1: In EstiNet Server:
Set eth0 to connect License Server: lic1.estinet.com or lic2.estinet.com
Set eth1 as IP: 192.168.100.12 netmask:255.255.255.0 . Using eth1 to connect the Hub which
connected with external controller.
Set eth2 as IP: 192.168.100.110 netmask:255.255.255.0 . Using eth2 to connect External
Switch.
9
setp2: In external controller environment:
Set IP:192.168.100.11 netmask:255.255.255.0
setp3: In external OpenFlow 1.3 switch
Set IP:192.168.100.115 netmask:255.255.255.0.
Using controller port to connect the Hub which connected with external controller(To
Controller Port)
Using a data port to connect the eth2 in EstiNet Server(To Data port)
setp4: In External Host which connect to External Switch:
Set IP:192.168.100.116 netmask:255.255.255.0.
step5: open the topology from attach file s02_ExternalController_ExternalSwitch_ExternalHost.tar
10
(V) host4:
In tab Emulation, assign real IP address as 192.168.100.14
In tab Application, set Start time as 1, Stop time as 300, Command as ping 1.0.2.2
[2.5]Test result
Internal Host4 can successfully send TCP packets to External Host5
11
Sample3 External Controller + External Switch + External Host
[3.1]Schematic diagram
Add an internal switch from Sample2 to create a tree topology
EstiNet License Server
EstiNet Simulation
eth0 or wifi
External Controller EstiNet Server
Hub
eth1
IP: 192.168.100.11 IP:192.168.100.12
Mask:255.255.255.0 Mask:255.255.255.0 eth2
IP:192.168.100.110
Mask:255.255.255.0
To Data Port
External Switch
To Controller Port
IP: 192.168.100.115
Mask:255.255.255.0
External Host
IP: 192.168.100.116
Mask:255.255.255.0
[3.2] Equipment
One EstiNet Server with three NIC(Network Interface Card)
One External Controller
One External Switch(support OpenFlow version1.3)
One External Host
One Hub
12
[3.3]Topology
s03_ExternalController_ExternalSwitch_ExternalHost.tar
Ps. In this node ID 6 External Switch, add module MIFX, IPTRANSLA and FIFO as below.
13
[3.4]Settings
step1: In EstiNet Server:
Set eth0 to connect License Server: lic1.estinet.com or lic2.estinet.com
Set eth1 as IP: 192.168.100.12 netmask:255.255.255.0 . Using eth1 to connect the Hub which
connected with external controller.
Set eth2 as IP: 192.168.100.110 netmask:255.255.255.0 . Using eth2 to connect External
Switch.
setp2: In external controller environment:
Set IP:192.168.100.11 netmask:255.255.255.0
setp3: In external OpenFlow 1.3 switch
Set IP:192.168.100.115 netmask:255.255.255.0.
Using controller port to connect the Hub which connected with external controller(To
Controller Port)
Using a data port to connect the eth2 in EstiNet Server(To Data port)
setp4: In External Host which connect to External Switch:
Set IP:192.168.100.116 netmask:255.255.255.0.
step5: open the topology from attach file s03_ExternalController_ExternalSwitch_ExternalHost.tar
14
(IV) OpenFlow switch v1.3 ID 6 as External Switch:
In tab Emulation, assign real IP address as 192.168.100.115
Click button Node editor:
Double click module OFSWV13, select tab Controller and set Controller IP Address as
1.0.1.100 (an unused IP in subnet 1.0.1.xxx), Controller TCP Listen Port as 6633, Switch
Port to Controller as 2.
Double click module MIFX, set Interface Name as eth2
(VI) host4:
In tab Emulation, assign real IP address as 192.168.100.14
In tab Application, set Start time as 1, Stop time as 300, Command as ping 1.0.2.2
[3.5]Test result
Internal Host4 can successfully send TCP packets to External Host5
15
Sample4 External Controller + External Switch + External Host
[4.1]Schematic diagram
The topology is the same in Sample3 and Sample4. The difference between
Sample 3 and Sample4 is Sample4 reduces an equipment Hub and add one NIC
in EstiNet Serve.
EstiNet License Server
EstiNet Simulation
eth0 or wifi
External Controller EstiNet Server
eth1
IP:192.168.100.12
Mask:255.255.255.0
IP: 192.168.100.11
Mask:255.255.255.0 eth2
eth3 IP:192.168.100.110
IP:192.168.100.111 Mask:255.255.255.0
Mask:255.255.255.0
To Data Port
To Controller Port
External Switch
IP: 192.168.100.115
Mask:255.255.255.0
External Host
IP: 192.168.100.116
Mask:255.255.255.0
[4.2] Equipment
One EstiNet Server with four NIC(Network Interface Card)
One External Controller
One External Switch(support OpenFlow version1.3)
One External Host
[4.3]Topology
16
s04_ExternalController_ExternalSwitch_ExternalHost.tar
Ps. In this node ID 6 External Switch, add module MIFX, IPTRANSLA and FIFO as below.
17
[4.4]Settings
step1: In EstiNet Server:
Set eth0 to connect License Server: lic1.estinet.com or lic2.estinet.com
Set eth1 as IP: 192.168.100.12 netmask:255.255.255.0 . Using eth1 to connect external
controller.
Set eth2 as IP: 192.168.100.110 netmask:255.255.255.0 . Using eth2 to connect External
Switch(To Data Port).
Set eth3 as IP: 192.168.100.111 netmask:255.255.255.0 . Using eth3 to connect External
18
Switch(To Controller Port).
setp2: In external controller environment:
Set IP:192.168.100.11 netmask:255.255.255.0
setp3: In external OpenFlow 1.3 switch
Set IP:192.168.100.115 netmask:255.255.255.0.
Using one data port to connect the eth2 in EstiNet Server (To Data port)
Using controller port to connect the eth3 in EstiNet Server(To Controller Port)
setp4: In External Host which connect to External Switch:
Set IP:192.168.100.116 netmask:255.255.255.0.
step5: open the topology from attach file s04_ExternalController_ExternalSwitch_ExternalHost.tar
19
Double click module MIFX which connect to internal OpenFlow version1.3 switch ,
set Interface Name as eth2
Double click module MIFX which connect to OpenFlow controller switch , set
Interface Name as eth3
(VI) host4:
In tab Emulation, assign real IP address as 192.168.100.14
In tab Application, set Start time as 1, Stop time as 300, Command as ping 1.0.2.2
[4.5]Test result
Internal Host4 can successfully send TCP packets to External Host5
20
Sample5 MIFXVLAN
Using Legacy Switch VLAN to reduce the number of NIC(Network Interface Card) in EstiNet Server
[5.1]Schematic diagram
EstiNet Simulation
eth0 or wifi
eth1
IP:192.168.100.12 IP: 192.168.100.11
Mask:255.255.255.0 Mask:255.255.255.0
Vlan1 Vlan2
Legacy switch
Vlan3 Vlan4
External Host
IP: 192.168.100.116
Mask:255.255.255.0
[5.2] Equipment
One EstiNet Server with two NIC(Network Interface Card)
One External Controller
One External Switch(support OpenFlow version1.3)
One External Host
One Legacy Switch
21
[5.3]Topology
s05_mifxvlan.tar
Ps1. In this node ID 1 External Controller, add module MIFXVLAN, IPTRANSLA as below.
22
Ps2. In this node ID 5 External Switch, add module MIFXVLAN, IPTRANSLA and FIFO as below.
23
[5.4]Settings
step1: In Legacy switch vlan settings:
vlan1: port 1,3,5,7,9,11 untagged
vlan2: port 2,4,6,8,10,12 untagged, port 7 tagged
vlan3: port 13,15,17,19,21,23 untagged, port 7 tagged
vlan4: port 14,16,18,20,22,24 untagged, port 7 tagged
EstiNet Server connects to port 7, under vlan1
24
External Controller connects to port 2(or 4/6/8/10/12), under vlan2
External Switch connects to port 13(or 15/17/19/21/23), under vlan3
External Switch connects to port 14(or 16/18/20/22/24), under vlan4
External host4 connects to External Switch
step2: In EstiNet Server:
Set eth0 to connect License Server: lic1.estinet.com or lic2.estinet.com.
Set eth1 as IP: 192.168.100.12 netmask:255.255.255.0 .
setp3: In external controller environment which under vlan2:
Set IP:192.168.100.11 netmask:255.255.255.0
setp4: In External Switch:
Set IP:192.168.100.115 netmask:255.255.255.0.
setp5: In External Host4 which connect to External Switch:
Set IP:192.168.100.116 netmask:255.255.255.0.
step6: Open the topology from attach file s05_mifxvlan.tar
Double click module MIFXVLAN which connected with External Host , set Interface
Name as eth1, VLAN ID as 3(To Data Port)
25
Double click module MIFXVLAN which connected with OpenFlow Controller switch , set
Interface Name as eth1, VLAN ID as 4(To Controller Port)
(IV) host3:
In tab Emulation, assign real IP address as 192.168.100.14
In tab Application, set Start time as 5, Stop time as 300, Command as ping 1.0.2.2
[5.5]Test result
Internal Host3 can successfully send TCP packets to External Host4
26
Sample6 MIFXVLAN
[6.1]Schematic diagram
Using two External Hosts in Sample6
EstiNet License Server
EstiNet Simulation
eth0 or wifi
eth1
IP:192.168.100.12 IP: 192.168.100.11
Mask:255.255.255.0 Mask:255.255.255.0
Vlan1 Vlan2
Legacy switch
Vlan3 Vlan4
[6.2]Equipment
One EstiNet Server with two NIC(Network Interface Card)
One External Controller
Two External Hosts
One Legacy Switch
[6.3]Topology
27
s06_mifxvlan.tar
Ps. In External Host node ID 4 or node ID5, add module MIFXVLAN, IPTRANSLA as below.
28
[6.4]Settings
step1: In Legacy switch vlan settings:
vlan1: port 1,3,5,7,9,11 untagged
vlan2: port 2,4,6,8,10,12 untagged, port 7 tagged
vlan3: port 13,15,17,19,21,23 untagged, port 7 tagged
vlan4: port 14,16,18,20,22,24 untagged, port 7 tagged
EstiNet Server connects to port 7, under vlan1
External Controller connects to port 2(or 4/6/8/10/12), under vlan2
External Host4 connects to port 13(or 15/17/19/21/23), under vlan3
External Host5 connects to port 14(or 16/18/20/22/24), under vlan4
step2: In EstiNet Server:
Set eth0 to connect License Server: lic1.estinet.com or lic2.estinet.com.
Set eth1 as IP: 192.168.100.12 netmask:255.255.255.0 .
setp3: In external controller environment which under vlan2:
Set IP:192.168.100.11 netmask:255.255.255.0
setp4: In External Host4 which under vlan3:
Set IP:192.168.100.114 netmask:255.255.255.0.
setp5: In External Host5 which under vlan4:
Set IP:192.168.100.115 netmask:255.255.255.0.
step6: Open the topology from attach file case06_MIFXVLAN.tar
29
Click button Node editor, double click module OFSWV13, select tab Controller and set
Controller IP Address as 1.0.1.1, Controller TCP Listen Port as 6633, Switch Port to Controller
as 1.
(V) host4:
In tab Emulation, assign real IP address as 192.168.100.114
Click button Node editor, double click module MIFXVLAN, set Interface Name as eth1, VLAN
ID as 3
[6.5]Test result
External Host4 can successfully send TCP packets to External Host5
30