Configuring Datapaths
In NITOS testbed, you can configure a datapath for the LTE traffic, meaning configuring how the traffic will be forwarded from the EPC network.
In general, you can configure two different types of datapath: Internet and GEANT.
With the first option, traffic that is being generated inside the LTE network is sent over the Internet via a NAT process. Internet is the default datapath configuration in NITOS. By default, when the nodes have the appropriate routing rules to use as a default gateway the EPC network, all traffic not destined to the LTE network is sent to the Internet.
In case you set the datapath configuration to GEANT, all the traffic stemming from the LTE network is relayed to the GEANT network. The VLAN that is used by the testbed is set by the experimenter with respect to the following table:
Connection to testbed | VLAN used |
i2CAT | 691 |
Bristol | 692 |
iMinds | 693 |
NTUA | 694 |
NICTA | 952 |
SNU | 700 |
These VLANs are the numbers assigned by the UTH NOC to the NITOS testbed, in order to forward traffic to the respective end. The VLAN is internal for UTH and is used for sending traffic to the Virtual Circuit assigned for the interconnection of the testbeds. Most likely, the VLAN number on the other testbed side will be something else (you should probably ask the respective testbed provider).
In order to setup the appropriate datapath for interconnecting with another testbed, you should send a command like the following:
wget -qO- "http://lterf:5054/lterf/datapath/config/add?type=geant&&vlan=ID&&interface=eth2&&name=MYNAME&&apn=MYAPN_NAME"
The command shall setup a GEANT connection from the EPC server, using the ID based on the table presented above, using a name set by the user, and will bridge the APN provided to it.
You can also save/list/load/delete the datapath configuration via the following commands:
wget -qO- "http://lterf:5054/lterf/datapath/config/list" | xml_pp
wget -qO- "http://lterf:5054/lterf/datapath/config/save?type=geant&&vlan=ID&&interface=eth2&&name=MYNAME&&apn=MYAPN_NAME"
wget -qO- "http://lterf:5054/lterf/datapath/config/load?name=MYNAME"
wget -qO- "http://lterf:5054/lterf/datapath/config/delete?name=MYNAME.config"