-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UE can't ping outide the NAT(internet for exemple) #499
Comments
Hi @kouamdo According to your last screenshort, GTP packets are sent to NAT GW instead of gNB. eUPF uses kernel routing table to forward packets. So ensure that you have a route to gNB in the linux routing table(in container). Here eUPF used gw 172.16.0.1 to send packets towards gNB(10.1.229.71). |
they take this road because i have add this route : ip r add default via 172.16.0.13 dev eth1 inside the eUPF container |
@kouamdo Did you get |
Yes , sure... |
Usually, first packet gets BPF_FIB_LKUP_RET_NO_NEIGH because ARP table is empty. But subsequent packets are routed well. Try to ping IP-address manually(to fill arp table) form eupf container and check routing after that. |
We have to localize the problem first. My point - the problem is in routing settings. The simplest routing config in eupf would be as follows:
So, ip rule for N3->N6 packets and generic default route(not shown here) for N3->N6 packets |
it is fine now , the issue was that i have change the default route and change the gateway , .... so i could live it but let me show you some informations that i have : there is the docker compose file :
that's about route that's inside the DN : |
Hi , i'm building every network node(open5gs) using kubernetes and docker.That is the architecture, and i want to know why i can't ping to internet :
i'm facing one issue , is that , the UE can't ping to outside the NAT , i have made some modification but nothing.
there , you can see that the PDU session was created :
thenre is the SMF
that are the logs when i trying to ping outide the NAT : ( ping -c1 google.com -I uesimtun0 )
![image](https://private-user-images.githubusercontent.com/39982727/286048754-320aa445-7709-49b4-9f69-c7ab040b2564.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNDYyOTcsIm5iZiI6MTczOTI0NTk5NywicGF0aCI6Ii8zOTk4MjcyNy8yODYwNDg3NTQtMzIwYWE0NDUtNzcwOS00OWI0LTlmNjktYzdhYjA0MGIyNTY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDAzNTMxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg5OWE3MGQzYTAyNTE1MTdiM2RhMDYxOTczOTEwY2FjODE4MDVlOTUxZGM4MDZjMDE4ZWIzNzNkOTIxNDI4NmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.UCdX87fhOArxW4FMKvUHTqi-QS9nslgPEhQM0JbN9-I)
![image](https://private-user-images.githubusercontent.com/39982727/286049015-a9a95f55-1fea-4ee9-ac73-ebc677091100.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNDYyOTcsIm5iZiI6MTczOTI0NTk5NywicGF0aCI6Ii8zOTk4MjcyNy8yODYwNDkwMTUtYTlhOTVmNTUtMWZlYS00ZWU5LWFjNzMtZWJjNjc3MDkxMTAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDAzNTMxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY5NTIyMzIyYTAyNmJkNDAyZWQ4NTE0YzlmZWJjZTg4MDUyYjg4MTA0ODY5NGEyY2EyMmIwZjIxMjJhZDYzNjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.7-QqroDtBEnhHbZxBS5EOl88vox7GPWBdT11zNgS_c4)
eUPF :
NAT gateway :
So , let me know where i have mistaken.
The text was updated successfully, but these errors were encountered: