Skip to content
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

How to connect two networked Zephyr instances together #25136

Merged

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented May 8, 2020

Document how to connect multiple QEMU or native_posix Zephyr instances together.

@pfalcon
Copy link
Contributor

pfalcon commented May 8, 2020

We already have https://docs.zephyrproject.org/latest/guides/networking/qemu_setup.html#running-multiple-qemu-vms-of-the-same-sample . Does the new content added mashes well with that section?

@jukkar
Copy link
Member Author

jukkar commented May 8, 2020

Does the new content added mashes well with that section?

This PR generalizes the multi-instance setup, the old instructions are mainly for echo-server/client connectivity with very specific setup using SLIP.

@jukkar jukkar force-pushed the doc-net-connect-two-qemu-together branch from fdd0f69 to f2cdda0 Compare May 8, 2020 14:36
cmake/app/boilerplate.cmake Outdated Show resolved Hide resolved
drivers/ethernet/Kconfig Show resolved Hide resolved
@jukkar jukkar force-pushed the doc-net-connect-two-qemu-together branch from 9918d20 to e649627 Compare May 19, 2020 08:42
@jukkar
Copy link
Member Author

jukkar commented May 19, 2020

Updated according to comments.

@jukkar jukkar requested review from tejlmand and carlescufi May 19, 2020 08:43
Copy link
Member

@carlescufi carlescufi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you.

Copy link
Collaborator

@tejlmand tejlmand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good.
A minor comment, I would like to see addressed, but nothing blocking.

drivers/ethernet/Kconfig Outdated Show resolved Hide resolved
jukkar added 2 commits May 20, 2020 11:41
Give instructions how to run multiple Zephyr instances in QEMU
or native_posix, and connect them together.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
User can now add extra Ethernet TAP parameters when starting QEMU.
This is useful if we want to set for example the MAC address
of the network interface.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
@jukkar jukkar force-pushed the doc-net-connect-two-qemu-together branch from e649627 to d60e753 Compare May 20, 2020 09:11
@carlescufi carlescufi merged commit c6a19a2 into zephyrproject-rtos:master May 20, 2020
@jukkar jukkar deleted the doc-net-connect-two-qemu-together branch February 29, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants