... | ... | @@ -204,9 +204,39 @@ S-GW : |
|
|
SGW_INTERFACE_NAME_FOR_S5_S8_UP = "none"; $
|
|
|
SGW_IPV4_ADDRESS_FOR_S5_S8_UP = "0.0.0.0/24"; $
|
|
|
};
|
|
|
...
|
|
|
}
|
|
|
|
|
|
|
|
|
P-GW =
|
|
|
{
|
|
|
NETWORK_INTERFACES :
|
|
|
{
|
|
|
# P-GW binded interface for S5 or S8 communication, not implemented, so leave it to none
|
|
|
PGW_INTERFACE_NAME_FOR_S5_S8 = "none"; # DO NOT CHANGE (NOT IMPLEMENTED YET)
|
|
|
PGW_IPV4_ADDRESS_FOR_S5_S8 = "0.0.0.0/24"; # DO NOT CHANGE (NOT IMPLEMENTED YET)
|
|
|
|
|
|
# P-GW binded interface for SGI (egress/ingress internet traffic)
|
|
|
PGW_INTERFACE_NAME_FOR_SGI = "eth0"; # YOUR NETWORK CONFIG HERE
|
|
|
PGW_IPV4_ADDRESS_FOR_SGI = "192.168.12.62/24"; # YOUR NETWORK CONFIG HERE
|
|
|
PGW_MASQUERADE_SGI = "yes"; # YOUR NETWORK CONFIG HERE
|
|
|
};
|
|
|
...
|
|
|
# DNS address communicated to UEs
|
|
|
DEFAULT_DNS_IPV4_ADDRESS = "192.168.106.12"; # YOUR NETWORK CONFIG HERE
|
|
|
DEFAULT_DNS_SEC_IPV4_ADDRESS = "192.168.12.100"; # YOUR NETWORK CONFIG HERE
|
|
|
|
|
|
...
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
In HSS freediameter configuration file (`/usr/local/etc/oai/freeDiameter/hss_fd.conf`):
|
|
|
```
|
|
|
Identity = "hss.openair4G.eur";
|
|
|
Realm = "openair4G.eur";
|
|
|
|
|
|
```
|
|
|
|
|
|
In HSS configuration file (`/usr/local/etc/oai/hss.conf`):
|
|
|
```
|
... | ... | @@ -216,7 +246,6 @@ MYSQL_pass = "linux"; #Put here the root password of mysql database that was p |
|
|
|
|
|
Note that PGW_IPV4_ADDRESS_FOR_SGI is the address used by EPC to access the (external) Internet.
|
|
|
|
|
|
__Acknowledge__: this example was provided by Yeoh Chun-Yeow in one previous email.
|
|
|
|
|
|
#### 1.3.1 Running eNB, EPC and HSS (Assuming eNB, EPC, HSS are on same machine)
|
|
|
|
... | ... | |