TNSR newbie
-
having trouble with my first TNSR lab... i believe i have interfaces setup correctly, but locally connected devices do not receive ARP replies, yet neighbors exist? i am confused... not really sure where i might have messed up or what i missed. but cannot get neighbor unless i ping from directly connected host - not from ping-out from tnsr dataplane
-
@montenegro This generally works no problem. Are you using a virtual environment or something of that nature?
-
Yes -- it is running on hyper-v/windows 2019
-
We have not yet confirmed that Hyper-V is a viable platform.
You can try running this in the shell:
dnf update reboot sudo tnsrctl stop sudo modprobe uio_hv_generic sudo tnsrctl start
Then try adding the NICs to the dataplane.
Adding the module to
/etc/modules.load.d/
Would be a persistent solution.
If you can, capture the output of all of this and post it if it does not work.
-
@derelict dnf update failed with a certificate error, probably because this is a free/lab setup.
Failed to set locale, defaulting to C.UTF-8
TNSR - base 0.0 B/s | 0 B 00:05
Errors during downloading metadata for repository 'tnsr-base':- Curl error (58): Problem with the local SSL certificate for https://tnsr-rpm-iso.netgate.com/CentOS/8/base/x86_64/repodata/repomd.xml [could not load PEM client certificate, OpenSSL error error:02001002:system library:fopen:No such file or directory, (no key found, wrong pass phrase, or wrong file format?)]
Error: Failed to download metadata for repo 'tnsr-base': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: tnsr-base
Last metadata expiration check: 2:04:39 ago on Wed Mar 17 14:49:58 2021.
Dependencies resolved.
Nothing to do.
Complete!
output from the other commands
$ sudo tnsrctl stop
$ sudo modprobe uio_hv_generic
$ sudo tnsrctl start
Job for clixon-backend.service failed because the control process exited with error code.
See "systemctl status clixon-backend.service" and "journalctl -xe" for details. - Curl error (58): Problem with the local SSL certificate for https://tnsr-rpm-iso.netgate.com/CentOS/8/base/x86_64/repodata/repomd.xml [could not load PEM client certificate, OpenSSL error error:02001002:system library:fopen:No such file or directory, (no key found, wrong pass phrase, or wrong file format?)]
-
@montenegro i should point out that i do see interfaces in the dataplane and seem to 'operate' in that they are able to see a neighbor.
-
@montenegro Did you perform those steps and get the uio_hv_generic module loaded?
-
@derelict i did -- but the system is throwing errors about the interfaces that i had loaded previously. i will do a clean install and try these steps before trying to add any interfaces into the dataplane
-
@derelict this worked -- thanks so much !