Hello,
I’ve installed free5GC v3.4.3 on a machine in a LAN (IP: 10.x.x.x). Then I’ve followed the instructions to setup TNGF on free5GC (changing the parameters IPSecInterfaceAddress, IPSecTunnelAddress and UEIPAddressRange to another IP range to avoid conflicts) and to setup the Wi-Fi AP (which is in the same LAN as free5GC). According to the instructions, you have to enable the DHCP server on OpenWrt. I did that, and another subnet was created (IP: 192.168.1.x).
That said, on the step “Set wifi interface IP to the same LAN with free5GC”, that currently displays:
ip a add 192.168.1.202/24 brd 192.168.1.255 dev <YOUR_WIFI_INTERFACE_NAME>
ip r add default via 192.168.1.202 dev <YOUR_WIFI_INTERFACE_NAME>
Why do I have to set a fixed IP address (first line) on the Wi-Fi interface (given that we have DHCP enabled on the AP)?
And which IP is the gateway (second line)? Shouldn’t it be 192.168.1.1 (AP’s IP)?
I tried to set the route to 192.168.1.1, however TNGFUE fails to connect with the message “the mac is not equal dude…”, the virtual network interfaces are created however it’s not possible to get the replies back on ping. I have double checked that the data on webconsole matches the configuration files (see attachments)
So, the network configuration currently is:
free5GC (10.0.0.110) <-> (10.0.0.1) Switch (10.0.0.1) <-> (10.0.1.12) Wi-Fi AP (192.168.1.1) <-> (192.168.1.202) TNGFUE
PS: The UE is on a laptop machine. All OSes used are Ubuntu 20.04.6 LTS
TNGFUE-attachments.zip (342.3 KB)
Regards,
Leo.