1. Site to Site Connection Issue

Site to Site Connection Issue

Home Forums FABRIC General Questions and Discussion Site to Site Connection Issue

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #8124
    Raghav Sinha
    Participant

      Is Site to Site network service connection possible between SharedNICs? I have not been able to create a slice where Site to Site is working.

      #8125
      Komal Thareja
      Participant

        Hi Rajiv,

        L2STS links should work with SharedNICs. Could you please share your slice details where this is not working?

        Thanks,

        Komal

        #8144
        Raghav Sinha
        Participant

          Hi,

          I was able to get the slice to be created, but do you have any suggestions to test the connection. I’ve tried pinging either VM with the connection, but this fails.

          Thanks

          #8146
          Komal Thareja
          Participant

            Hi Raghav,

            Could you please check if the interfaces on the VMs have the IP addresses configured?

            Also, please share the Slice ID for your slice. This will help us take a look at it as well.

            Thanks,

            Komal

            #8181
            Raghav Sinha
            Participant

              Hi,

               

              This is my Slice ID for the most recent slice where I tried site to site connection: 97872f32-3cc0-4843-bf91-636b71f4ee87 . The IP address seem to be configured. When SSHing into each VM, I am able to ping google but not the other VM. How can I establish connection between the VMs?

               

              Thanks

              #8182
              Komal Thareja
              Participant

                Hi Raghav,

                The data plane interfaces on your VMs connected via L2STS do not have IP addresses configured.

                The enp3s0 interface on your VMs is designated as the management interface and should be used solely for SSH access. For your experiment, please use the data plane interfaces, which are enp7s0 on both VMs.

                I recommend exploring the JH example—Wide Area Link (Layer 2)—using manual, auto, or user-defined configurations, as it demonstrates how IP addresses should be set up.  Please, let us know if you encounter any further issues.

                Snapshot from the VMs:


                root@4f3a79fa-6e29-454e-9ec4-d1bfbda81a17-bapi-v2:~# ifconfig -a
                enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000
                inet 10.30.6.167 netmask 255.255.254.0 broadcast 10.30.7.255
                inet6 fe80::f816:3eff:fe82:7b9 prefixlen 64 scopeid 0x20
                inet6 2001:400:a100:3070:f816:3eff:fe82:7b9 prefixlen 64 scopeid 0x0
                ether fa:16:3e:82:07:b9 txqueuelen 1000 (Ethernet)
                RX packets 51778 bytes 150077282 (150.0 MB)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 25537 bytes 2608566 (2.6 MB)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


                enp6s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
                ether 06:b7:27:d2:b5:0b txqueuelen 1000 (Ethernet)
                RX packets 0 bytes 0 (0.0 B)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 0 bytes 0 (0.0 B)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


                lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
                inet 127.0.0.1 netmask 255.0.0.0
                inet6 ::1 prefixlen 128 scopeid 0x10
                loop txqueuelen 1000 (Local Loopback)
                RX packets 178 bytes 23663 (23.6 KB)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 178 bytes 23663 (23.6 KB)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


                root@bd65ee61-46a2-4cb2-b89e-c6b385052336-bapi-vm1:~# ifconfig -a
                enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000
                inet 10.20.5.38 netmask 255.255.254.0 broadcast 10.20.5.255
                inet6 fe80::f816:3eff:fe55:c84f prefixlen 64 scopeid 0x20
                ether fa:16:3e:55:c8:4f txqueuelen 1000 (Ethernet)
                RX packets 15231 bytes 146475806 (146.4 MB)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 13258 bytes 1020159 (1.0 MB)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


                enp7s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
                ether 16:8a:89:5e:75:97 txqueuelen 1000 (Ethernet)
                RX packets 0 bytes 0 (0.0 B)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 0 bytes 0 (0.0 B)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


                lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
                inet 127.0.0.1 netmask 255.0.0.0
                inet6 ::1 prefixlen 128 scopeid 0x10
                loop txqueuelen 1000 (Local Loopback)
                RX packets 238 bytes 37767 (37.7 KB)
                RX errors 0 dropped 0 overruns 0 frame 0
                TX packets 238 bytes 37767 (37.7 KB)
                TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

                Thanks,

                Komal

                #8190
                Raghav Sinha
                Participant

                  Hi,

                  I explored the JH notebook Wide Area Link (Layer 2), both the manual and automatic instructions. It seems I am having a bit of an issue running the commands there. With just this code:

                  from ipaddress import ip_address, IPv4Address, IPv6Address, IPv4Network, IPv6Network
                  import ipaddress

                  from fabrictestbed_extensions.fablib.fablib import FablibManager as fablib_manager

                  fablib = fablib_manager()

                  I am getting a TokenManagerException. I am not familiar with how fablib_manager() works, so I am unclear as to how to rectify this. Here is the exception trace:

                  TokenManagerException                     Traceback (most recent call last)
                  Cell In[2], line 6
                        2 import ipaddress
                        4 from fabrictestbed_extensions.fablib.fablib import FablibManager as fablib_manager
                  ----> 6 fablib = fablib_manager()
                        8 fablib.show_config();

                  Additionally, I have tried including the project id, but the same exception occurs:

                  project_id=”5c3d6ece-0af3-4277-a1a3-65300b8b9536″

                  fablib = fablib_manager(project_id=project_id)

                  • This reply was modified 2 weeks, 2 days ago by Raghav Sinha.
                  #8192
                  Komal Thareja
                  Participant

                    Hi Raghav,

                    Please set up your JH environment by running the notebook: jupyter-examples-rel1.8.1/configure_and_validate/configure_and_validate.ipynb

                    This shall setup all the required configuration files and SSH keys. Please try the Wide Area Link notebook or Hello Fabric after that to ensure your configuration works. Please let us know if you run into issues.

                    Thanks,

                    Komal

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • You must be logged in to reply to this topic.
                  FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

                  KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)
                  FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

                  KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)