Home › Forums › FABRIC General Questions and Discussion › Communication between nodes on same site
Tagged: communication between nodes
- This topic has 12 replies, 4 voices, and was last updated 1 year, 1 month ago by Bruce Hartpence.
-
AuthorPosts
-
September 24, 2023 at 11:41 pm #5430
Hello, I have setup an experiment to carry out a class room demonstration of a denial of service attack. The network topology is as follows and each VM is running Ubuntu 20 and each VM has a sharedNIC. The bridge is an L2bridge. I am trying to communicate between the two nodes but they are not connected to each other. I try pinging the IP address of one node from another and all the packets are dropped. How can I solve this issue? I am new to this and trying to transition to FABRIC from GENI where the rspec for my experiment is ready. Is there a way where I can convert my rspec into a FABRIC native object?
September 25, 2023 at 4:54 am #5431Management IP cannot communicate with each other, to prevent abuse.
You should create FABNetv4 or FABNetv6 network service in each slice. They can all communicate with each other, regardless of whether the slides are on the same or different sites.
September 25, 2023 at 8:01 am #5433Hello,
As @yoursunny noted please make sure you aren’t actually using the management IP address to communicate between VM slivers as that is discouraged and most of the time not possible.
It is not clear to me if you are using a jupyter notebook or building a slice from the UI (we strongly encourage new users and educators to use notebooks). Please try the ‘Local Ethernet (Layer 2): Create a private local Ethernet network on a FABRIC site (manual)’ notebook (you can find it from start_here notebook under ‘Networking’ section). If it doesn’t work please report which site you are using.
Also please make sure
- You are familiar with this article and the materials pointed out in it https://learn.fabric-testbed.net/knowledge-base/fabric-information-for-instructors/
- Educators are encouraged to post their questions on the Educator Forum rather than a general user forum.
September 25, 2023 at 8:19 am #5434Is there a way where I can convert my rspec into a FABRIC native object?
This would make a nice hackathon project. It should be feasible to make a converter that covers the topology, links, IP assignments, and startup scripts.
It’s even better if FABRIC platform can directly accept Request RSpec and return Manifest RSpec, so that existing tooling for Emulab can still work.
September 25, 2023 at 8:25 am #5435Such a converter would only work on the simplest cases (i.e. nodes connected by network services). FABRIC has a wide variety of dynamically attachable hardware (GPUs, Network Cards, NVMe drives, FPGA), whereas most other testbeds deal in ‘flavors’ of servers that have particular static arrangements of components.
We are pursuing a path of providing notebooks that show how to drive different testbeds via their APIs, rather than the declarative testbed-specific topology representations. RSpec describes only the experiment topology and some experiment configuration and does nothing for the experiment workflow, whereas notebooks that drive APIs do all of three of these things. There is already a notebook example of how to drive Chameleon and FABRIC together. We have an example for CloudLab + FABRIC API example as well that hasn’t been published yet. CloudLab also has a Python API now.
September 25, 2023 at 11:10 am #5437I don’t know if this helps or not but I have nodes on both L3 and L2 networks and the sample notebooks have been very helpful. The potential “gotcha” is that networks have to be defined, interfaces on those internal links must be given an IP address and be brought up before they can PING.
IP assignment can be done manually or by the addresses available on that network.
September 25, 2023 at 3:27 pm #5450Hello,
As @yoursunny noted please make sure you aren’t actually using the management IP address to communicate between VM slivers as that is discouraged and most of the time not possible.
It is not clear to me if you are using a jupyter notebook or building a slice from the UI (we strongly encourage new users and educators to use notebooks). Please try the ‘Local Ethernet (Layer 2): Create a private local Ethernet network on a FABRIC site (manual)’ notebook (you can find it from start_here notebook under ‘Networking’ section). If it doesn’t work please report which site you are using.
Also please make sure
- You are familiar with this article and the materials pointed out in it https://learn.fabric-testbed.net/knowledge-base/fabric-information-for-instructors/
- Educators are encouraged to post their questions on the Educator Forum rather than a general user forum.
I have tried using both. The setup I have was made using the GUI. I attempted the Jupyter Notebook multiple times however I stumble upon an error on initialization saying ”
SliceManagerException: b'{\n "errors": [\n {\n "details": "error: Core API error occurred status_code: 404 message: b\'{\\\\n \\"errors\\": [\\\\n {\\\\n \\"details\\": \\"No match for Project with uuid = \\\\\'<891aa44a-ef12-4c72-b45d-6017b4f00e92>\\\\\'\\",\\\\n \\"message\\": \\"Not Found\\"\\\\n
which is strange because I have tried multiple ways of ensuring the Project ID is correct, and it can initialize in the GUI and the project for sure exists, any ideas?
September 25, 2023 at 3:39 pm #5451Your environment does not appear to be set up. Please be sure to run ‘Configure your environment’ as well as ‘Hello FABRIC!’ tutorials first. Until those succeed other tutorials will not work.
In general please be sure you are familiar with the articles in this documentation section:
September 25, 2023 at 3:42 pm #5452Hello, I ran the configure.ipynb and it was successful as I have all the files in the correct locations and the keys and the project ID, I am trying to work with the Hello FABRIC! tutorial however it is not allowing me to initialize the slice as mentioned above. Hence the attached error.
September 25, 2023 at 4:00 pm #5453It appears you copied extra characters ‘<‘ and ‘>’ together with your project ID. The Project ID field actually has a useful copy-to-clipboard button to help avoid mistakes like this.
September 25, 2023 at 4:10 pm #5454I made sure the config file did not have those <> characters and the fabric_rc does not have them
September 25, 2023 at 4:14 pm #5455The error message shows that they are there. I suggest restarting your container to be sure you do not have some cruft.
File->Hub Control Panel->Stop container -> wait … -> Start container
September 25, 2023 at 4:56 pm #5456I just learned a new word and now I am wondering about the etymology of “cruft” 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.