Version 18 (modified by 8 years ago) ( diff ) | ,
---|
Steps for setting up OAI EPC on orbit
This wiki page expands on the following steps from the eurecom wiki, to customize the sim card info and hostnames.
- Hardware
- The EPC should operate on a bare metal PC, VM, or container. Restrictions are due to kernel support, not timing.
- Operating system
- Testing has been done on Ubuntu 14.04 64 bit. Ubuntu 16.04 may work, but has not been tested.
- Kernel
- More info at: https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/OpenAirKernelMainSetup
- We need the GTP tunnel module, from either kernel 4.8 (untested) or a custom compiled 4.7.x
- install kernel 4.7.7
git clone https://gitlab.eurecom.fr/oai/linux-4.7.x.git cd linux-4.7.x sudo dpkg -i linux-headers-4.7.7-oaiepc_4.7.7-oaiepc-10.00.Custom_amd64.deb linux-image-4.7.7-oaiepc_4.7.7-oaiepc-10.00.Custom_amd64.deb
- install kernel 4.7.7
- issues with changing kernels on xen vm
- Depending on the configuration of the hypervisor, the guest OS may not be able to select a different kernel from that used for provisioning. The image below was built on a bare-metal pc, and then migrated to a VM successfully.
- hostnames
- append the following lines to /etc/hosts:
127.0.1.1 nano.orbit-lab.org nano 127.0.1.1 hss.orbit-lab.org hss
- set /etc/hostname to
nano
- hostnamectl may be a workaround
- to check, you must use
getent hosts name
- getent uses gethostbyname, while host and nslookup query DNS directly
- GENI workaround
- on every boot:
- append to etc/hosts
- delete etc/hostname
- run hostnamectl set-hostname nano
- logout and back in
- on every boot:
- append the following lines to /etc/hosts:
- use script to append items to db
- mmeidentity for user must match index of mme used
- imsi specified for both user and pdn
- specify user key with UNHEX function
- edit line at bottom of hss.config to enable 001 01 plmn
- fqdn defined in spec
- GENI
- EPC URN:
urn:publicid:IDN+instageni.rutgers.edu+image+ch-geni-net:OAIEPCOrbit
- EPC fixed?:
urn:publicid:IDN+instageni.rutgers.edu+image+ch-geni-net:oaiepc477
- newest EPC:
urn:publicid:IDN+instageni.rutgers.edu+image+ch-geni-net:epc447scripted
- URL:
https://www.instageni.rutgers.edu/image_metadata.php?uuid=b300f9dc-0611-11e7-a074-000000000000
- URL:
- eNB
- URN:
urn:publicid:IDN+instageni.rutgers.edu+image+ch-geni-net:OAIeNBRutgers
- URL:
https://www.instageni.rutgers.edu/image_metadata.php?uuid=6844496a-9d2a-11e6-90f4-000000000000
- URN:
- EPC URN:
- RCC/RRU:
- EPC needs link on 10.3, for vlan access
- EPC needs tunnel endpoint on 10.3, or via landing1, for demo sctp
- RCC needs 10.3 link to mme, as well as link to RRU, in this case tunne, 10.10, or 10.40
- RRU needs 10.3 to mme, as well as link to RCC (need to work on this, two tunnels?
- issues:
- Cannot seem to connect to vlan3701, fia-xia, 10.3.x.x
- vlan is now named GENI-LTE-Multipoint
- local connection to vlan 60, grid, 10.10
- need to create connection to vlan 70, outdoor, 10.30
- Cannot seem to connect to vlan3701, fia-xia, 10.3.x.x
- MTU
- up to 12 octets for GTP-U header, advertise mtu 1460-12 = 1448
- 12 octets for l2tp + 20 for ip, 8 for udp, 40 total. tunnel mtu 1460.
- resources
Note:
See TracWiki
for help on using the wiki.