-
Notifications
You must be signed in to change notification settings - Fork 57
Enable user-mode networking through SLIRP #80
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
base: master
Are you sure you want to change the base?
Conversation
Repository not enabled for automatic reviewThe Bito agent is set up, but this repository is not enabled for automatic code reviews. To review this pull request, type You can enable automatic reviews in the agent setup here or contact your Bito workspace admin at [email protected].
|
You should create an issue at minislirp. |
This commit integrates 'minislirp' as submodule and enables support for the new 'user' network device, which uses SLIRP for user-mode networking. An internal pipe mechanism is introduced to monitor incoming data. The main loop polls the pipe for availabe data, and any incoming data is forwarded to the virtio-net device for processing. Additionally, this commit introduces special address used by SLIRP for network configuration [1]: - **10.0.2.0**: The SLIRP "on-line" configuration address. - **10.0.2.2**: An alias for the host running SLIRP. - **10.0.2.3**: An alias for the DNS address. - **10.0.2.15**: A recommended address for the PC running SLIRP. [1]: https://github.com/kost/slirp/blob/master/docs/slirp.doc
Ping 10.0.2.2 (default route) as hosted runner in Azure do not allow external pings.
This commit integrates 'minislirp' as submodule and enables support for the new 'user' network device, which uses SLIRP for user-mode networking.
An internal pipe mechanism is introduced to monitor incoming data. The main loop polls the pipe for availabe data, and any incoming data is forwarded to the virtio-net device for processing.
Additionally, this commit introduces special address used by SLIRP for network configuration 1:
Test procedures
semu
with specified NETDEV=userswab
function, similar to the one discussed in Port 86Box to Linux 86Box/86Box#136