-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Hello, I am trying to build second or more PDU sessions per UE under one Gnb. But I encountered the error message WARN[0002] [GNB][GTP] Only one tunnel per UE is supported for now, no tunnel will be created for second PDU Session of given UE, then i comment these check lines and tried again. Below is the error I got.
FATA[0012] [GNB][GTP] Unable to create Kernel GTP interface: listen udp 192.168.56.103:2152: bind: address already in use0000000003val0000000003
The IP addrress "192.168.56.103" is my Gnb IP. When I try to build second PDU session, this error will show up. I think these below function would build a new interface and bind with UDP port:2152 then managed by vrf device. Do you have any idea or know how to fix this problem? Please tell me, thank you!! I will apprecaite if you can answer me, maybe I can help to add this feature.
go func() {
// This function should not return as long as the GTP-U UDP socket is open
if err := gtpLink.CmdAdd(nameInf, 1, ueGnbIp.String(), stopSignal); err != nil {
log.Fatal("[GNB][GTP] Unable to create Kernel GTP interface: ", err, msin, nameInf)
return
}
}()
BRs, Ben