Documentation ¶
Overview ¶
Command mme is a reference implementation of MME with go-gtp.
MME follows the steps below if there's no unexpected events in the middle. Note that the S1 and DNS procedures is just mocked to make it work in standalone manner.
1. Exchange Echo to S-GW address specified in command-line argument.
2. Start dispatching subscribers by sending Create Session Request to S-GW. APN is handled with getPGWIP, which is hard-coded.
3. Wait for Create Session Response coming from S-GW with Cause="request accepted".
4. Create mocked UE and eNB with the required values set as told by S-GW, start listening on the interface specified with s1enb flag, and send Modify Bearer Request to S-GW.
5. Wait for Modify Bearer Response coming from S-GW with Cause="request accepted".
6. Start sending payload(ICMP Echo Request) encapsulated with GTPv1-U Header, and printing the payload of encapsulated packets received.