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
lizhongxiao
OpenXG-RAN
Commits
22d93ade
Commit
22d93ade
authored
Jul 10, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'LTE-sidelink' of
https://gitlab.eurecom.fr/oai/openairinterface5g
into LTE-sidelink
parents
5e735a44
f820a0da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
relay_UE_routing.sh
relay_UE_routing.sh
+12
-0
targets/DOCS/RF_D2D_setup_instructions.pdf
targets/DOCS/RF_D2D_setup_instructions.pdf
+0
-0
targets/DOCS/d2d_emulator_setup.txt
targets/DOCS/d2d_emulator_setup.txt
+0
-0
No files found.
relay_UE_routing.sh
View file @
22d93ade
#!/bin/bash
sudo
iptables
-t
mangle
-F
sudo
iptables
-t
nat
-F
# Load ue_ip module
sudo
rmmod ue_ip
source
oaienv
cd
cmake_targets/tools
source
init_nas_s1 UE
# Sidelink interface configuration
sudo
ifconfig oip0 10.0.0.1
...
...
@@ -10,9 +18,13 @@ sudo ifconfig lo: 127.0.0.2 netmask 255.0.0.0 up
# Routing and SLRB configuration for specific sidelink (10.0.0.2) and external(e.g., 8.8.8.8) destination addresses.
sudo
ip neigh add 10.0.0.2 lladdr 00:00:00:00:00:02 dev oip0 nud permanent
sudo
ip neigh change 10.0.0.2 lladdr 00:00:00:00:00:02 dev oip0 nud permanent
sudo
iptables
-A
POSTROUTING
-t
mangle
-o
oip0
-d
10.0.0.2
-j
MARK
--set-mark
4
# Mark outgoing MULTICAST traffic to group 224.0.0.3 with the SLRB ID
sudo
iptables
-A
POSTROUTING
-t
mangle
-o
oip0
-d
224.0.0.3
-j
MARK
--set-mark
5
sudo
ip route add 8.8.8.8 dev oip1
# Applying NAT so that the Remote UE originating/destined traffic does not get blocked at the PGW.
...
...
targets/DOCS/RF_D2D_setup_instructions.pdf
0 → 100644
View file @
22d93ade
File added
d2d_emulator_setup.txt
→
targets/DOCS/
d2d_emulator_setup.txt
View file @
22d93ade
File moved
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