Hi free5gc team,
I want to make N3IWF in free5gc talk with my own AMF and UPF, AMF and UPF are deployed in the same machine, but their N2 of AMF and N3/N4 of UPF are bind to different INCs port. N3IWF’s N3 and N2 IP will be bind to one different NIC, we use the external switch to make them talk with each other. now, my SMF can talk with my UPF, but foe N3IWF, how to change the config in n3iwf.conf to make it can connect with AMF and UPF, I see that
AMFSCTPAddresses:
- IP:
- 192.179.120.191 // here is the my own AMF N2 ip
GTPBindAddress:
192.179.120.180 //here is my own upf N3 ip.
I config one ip 192.179.120.170
on interface enp24s0f0
, like below:
<BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether b4:96:91:0d:eb:a8 brd ff:ff:ff:ff:ff:ff
inet **192.179.120.170/23** brd 192.179.121.255 scope global enp24s0f0
So my question is where I can bind this ip and interface to N3IWF N2/N3 interface ip? since currently when I run N3IWF Individually, there is the error like this:
2020-11-17T05:49:43-05:00 [WARN][N3IWF][Context] No certificate file path specified, load default certificate...
2020-11-17T05:49:43-05:00 [INFO][N3IWF][NGAP] [SCTP] AMF SCTP address: %+v192.179.120.191:38412
2020-11-17T05:49:43-05:00 [INFO][N3IWF][NGAP] [SCTP] N3IWF SCTP address: %+v:0
2020-11-17T05:49:43-05:00 [ERRO][N3IWF][NGAP] [SCTP] DialSCTP(): connection refused
2020-11-17T05:49:43-05:00 [INFO][N3IWF][NGAP] Retry to connect AMF after 1 second...
2020-11-17T05:49:44-05:00 [ERRO][N3IWF][NGAP] [SCTP] DialSCTP(): connection refused
2020-11-17T05:49:44-05:00 [INFO][N3IWF][NGAP] Retry to connect AMF after 1 second...
2020-11-17T05:49:45-05:00 [ERRO][N3IWF][NGAP] [SCTP] DialSCTP(): connection refused
2020-11-17T05:49:45-05:00 [ERRO][N3IWF][NGAP] Failed to connect to AMF.
2020-11-17T05:49:45-05:00 [ERRO][N3IWF][Init] Start NGAP service failed: NGAP service
Thanks very much!
looking forward your reply!