Skip to content

[FEATURE] Only one tunnel per UE is supported for now #111

Description

@BENHSU0723

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions