Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
276556ac
Commit
276556ac
authored
Jan 16, 2018
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update instructions
parent
241aa2bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
d2d_emulator_setup.txt
d2d_emulator_setup.txt
+13
-11
No files found.
d2d_emulator_setup.txt
View file @
276556ac
...
@@ -11,7 +11,7 @@ auto eth0
...
@@ -11,7 +11,7 @@ auto eth0
gateway 10.10.10.1
gateway 10.10.10.1
Prepare the environment:
Prepare the environment:
- git clone https://gitlab.eurecom.fr/matzakos/LTE-D2D.git
- git clone https://gitlab.eurecom.fr/matzakos/LTE-D2D.git
#branch: master
This branch contains all the current development for DDPS
This branch contains all the current development for DDPS
- UE MAC<-> UE MAC for Scenario 1
- UE MAC<-> UE MAC for Scenario 1
- eNB MAC<->UE MAC (NFAPI Transport)
- eNB MAC<->UE MAC (NFAPI Transport)
...
@@ -43,8 +43,9 @@ UE2:
...
@@ -43,8 +43,9 @@ UE2:
- sudo iptables -A POSTROUTING -t mangle -o oip1 -d 224.0.0.1 -j MARK --set-mark 3
- sudo iptables -A POSTROUTING -t mangle -o oip1 -d 224.0.0.1 -j MARK --set-mark 3
- (if necessary) sudo route add default gw 10.10.10.1 eth0
- (if necessary) sudo route add default gw 10.10.10.1 eth0
UE1 and UE2: Get and build vencore_app from d2d-l3-stub (branch: l3_stub)
- gcc -I . vencore_app.c -o vencore_app -lpthread
--------------------------------
TEST ONE-TO-MANY
TEST ONE-TO-MANY
Run UE1 then UE2, for example:
Run UE1 then UE2, for example:
UE1: sudo ./lte-softmodem-stub -U --emul_iface eth0
UE1: sudo ./lte-softmodem-stub -U --emul_iface eth0
...
@@ -60,26 +61,27 @@ Test with Iperf
...
@@ -60,26 +61,27 @@ Test with Iperf
Filter the incomming packets according to GroupL2Id: receiver (one-to-many) can discard the packets if it doesn't belong to this group.
Filter the incomming packets according to GroupL2Id: receiver (one-to-many) can discard the packets if it doesn't belong to this group.
For the moment, both sender and receiver use the same set of Ids (hardcoded)
For the moment, both sender and receiver use the same set of Ids (hardcoded)
UE1 (sender)
UE1 (sender)
- sudo ./lte-softmodem-stub -U --emul_iface eth0
- sudo ./lte-softmodem-stub -U --emul_iface eth0
- ./ve
l
core_app #send the sourceL2Id, groupL2Id to OAI
- ./ve
n
core_app #send the sourceL2Id, groupL2Id to OAI
- ping -I oip0 224.0.0.1
- ping -I oip0 224.0.0.1
UE2(receiver)
UE2(receiver)
- sudo ./lte-softmodem-stub -U --emul_iface eno1
- sudo ./lte-softmodem-stub -U --emul_iface eno1
#we can see the incomming packets from OAI log, however, cannot see from Wireshark -> they are discarded at MAC layer
#we can see the incomming packets from OAI log, however, cannot see from Wireshark -> they are discarded at MAC layer
- ./velcore_app #we can see the packets appearing in Wireshark
- ./vencore_app #we can see the packets appearing in Wireshark
TEST PC5-S (UE1 -sender, UE2 - receiver)
--------------------------------------
TEST PC5-S (UE1 -sender, UE2 - receiver)
step 1:
step 1:
- UE1: sudo ./lte-softmodem-stub -U --emul_iface eth0
- UE1: sudo ./lte-softmodem-stub -U --emul_iface eth0
step 2:
step 2:
- UE2: sudo ./lte-softmodem-stub -U --emul_iface eno1
- UE2: sudo ./lte-softmodem-stub -U --emul_iface eno1
- UE2: ./ve
l
core_app -r #listen to incomming message from PC5-S
- UE2: ./ve
n
core_app -r #listen to incomming message from PC5-S
step 3:
step 3:
- UE1: ./ve
l
core_app -s #send a message via PC5-S (e.g., DirectCommunicationRequest)
- UE1: ./ve
n
core_app -s #send a message via PC5-S (e.g., DirectCommunicationRequest)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment