pirate / mesh-networking

:globe_with_meridians: LEGO blocks for networking, a Python library to help create and test flexible network topologies across real and simulated physical links.
MIT License
360 stars 62 forks source link

Is mesh-networking always a fully-connected broadcast mesh topology? #13

Closed hoyeunglee closed 5 years ago

hoyeunglee commented 6 years ago

is this mesh networking always fully mesh?

pirate commented 6 years ago

You mean is it always a broadcast network where everyone receives every packet? For UDPLink yes, it defaults to broadcast mode, but you can build a custom network protocol on top of mesh-networking that supports other schemes besides fully connected meshes.

hoyeunglee commented 6 years ago

I mean the term used by Cisco , whether each node has all path to other nodes

pirate commented 6 years ago

You can set it up however you want.

If you connect every Node to the same Link, then it's like a fully-connected mesh because it's like plugging everyone in to the same LAN.

If you connect everyone to different Links with Routers and custom forwarding rules though (see examples/large_network.py), you can design any kind of topology you want, which is the point of the library.

hoyeunglee commented 6 years ago

what is the result of small networking example?

i run it , it did not display end just start

and can mesh networking deploy to real network situations instead of simulated in local machine?

image

pirate commented 6 years ago

Did you try typing things in and pressing enter?

I don't officially support Windows, so you're on your own if you want to use Windows. It's built for Mac/Linux.

Yes it supports building real mesh networks across physical links, see the examples/lan_chat.py.