srsran / oran-sc-ric

Simplified ORAN SC RIC with improved usability and xApp examples
GNU Affero General Public License v3.0
32 stars 6 forks source link

Can't connect to RIC on other machine #9

Closed mas-oliveira closed 4 months ago

mas-oliveira commented 4 months ago

Hello,

I was trying to split the gNB and RIC on different machines.

I have on a NuC the gNB and core and on the laptop I have the RIC. I can now ping the core network from the laptop (they're connected via ethernet cable), but when I try to launch the gNB on the NuC I have the following message: I set the bind address like this => bind_addr: 10.42.0.1 Where 10.42.0.1 is the IP of the interface that has access to the computer where the RIC is.

The PRACH detector will not meet the performance requirements with the configuration {Format 0, ZCZ 0, SCS 1.25kHz, Rx ports 1}. Lower PHY in executor blocking mode.

--== srsRAN gNB (commit 8f2a3ea03) ==--

Connecting to AMF on 10.53.1.2:38412 Available radio types: zmq. Connecting to NearRT-RIC on 10.0.2.10:36421 Failed to connect SCTP socket to 10.0.2.10:36421. error="Connection timed out" timeout=1379ms srsGNB ERROR: Failed to create SCTP gateway.

I noticed that I can't ping the IP 10.0.2.10:

marco@marco-NUC7i7BNH:~$ ping 10.0.2.10 PING 10.0.2.10 (10.0.2.10) 56(84) bytes of data. ^C --- 10.0.2.10 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3057ms

But when I check on the laptop I'm actually receiving the ping messages:

sudo tcpdump -i enp8s0f1 icmp tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on enp8s0f1, link-type EN10MB (Ethernet), capture size 262144 bytes 13:36:09.254853 IP marco-NUC7i7BNH.localdomain > 10.0.2.10: ICMP echo request, id 27, seq 9, length 64 13:36:10.278959 IP marco-NUC7i7BNH.localdomain > 10.0.2.10: ICMP echo request, id 27, seq 10, length 64 13:36:11.302976 IP marco-NUC7i7BNH.localdomain > 10.0.2.10: ICMP echo request, id 27, seq 11, length 64 13:36:12.326704 IP marco-NUC7i7BNH.localdomain > 10.0.2.10: ICMP echo request, id 27, seq 12, length 64

And also on the laptop I can confirm that the service is running: ping 10.0.2.10 PING 10.0.2.10 (10.0.2.10) 56(84) bytes of data. 64 bytes from 10.0.2.10: icmp_seq=1 ttl=64 time=0.083 ms 64 bytes from 10.0.2.10: icmp_seq=2 ttl=64 time=0.066 ms 64 bytes from 10.0.2.10: icmp_seq=3 ttl=64 time=0.040 ms

Can you help me to know why I can't reach the NuC while replying to the messages? Host => 10.42.0.1 marco-NUC7i7BNH.localdomain Route => default via 10.42.0.1 dev enp8s0f1 proto dhcp metric 20100 (on the laptop)$ ping 10.42.0.1 PING 10.42.0.1 (10.42.0.1) 56(84) bytes of data. 64 bytes from 10.42.0.1: icmp_seq=1 ttl=64 time=0.295 ms 64 bytes from 10.42.0.1: icmp_seq=2 ttl=64 time=0.661 ms

Thanks for the support