Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [freertr] Freertr Install On AWS and DPDK

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [freertr] Freertr Install On AWS and DPDK


Chronological Thread 
  • From: "mc36" <>
  • To: ,
  • Subject: Re: [RARE-users] [freertr] Freertr Install On AWS and DPDK
  • Date: Mon, 2 Jan 2023 18:29:22 +0100
  • List-id: <freertr.groups.io>
  • Mailing-list: list ; contact

hi,
i go inline...
br,
cs


On 1/2/23 18:22, Christopher Adigun wrote:
Hi,

Am currently trying to install Freertr on AWS EC2, I used the following for
the installation:

wget freertr.org/install.sh ; sudo bash install.sh

But once I reboot the machine, I am not able to access it again and the
instance goes into error state.

Any suggestion on how to go about the installation?

my best guess is that you forgot the necessary step to upgrade to
debian-sid...
to check for this, try /rtr/pcapInt.bin and it will complain to you about
glibc version...
if thats the case, my suggestion is to rebuild the vm, but before the
one-line installation,
do the following:

echo "deb http://ftp.at.debian.org/debian/ sid main non-free contrib
deb-src http://ftp.at.debian.org/debian/ sid main non-free contrib
deb http://ftp.at.debian.org/debian/ experimental main non-free contrib
deb-src http://ftp.at.debian.org/debian/ experimental main non-free contrib
" > /etc/apt/sources.list

apt update
apt dist-upgrade
reboot

afterwards, you can install freerouter and it should work...

Also I intend to use vfio-pci for the dpdk interfaces, what steps are required to activate and use the dpdk as the dataplane. I am able to add assign the interfaces (ens6,ens7) to vfio-pci driver, I need the necessary hw/sw config to start with.

after installing freerouter, you can activate the dpdk dataplane from freertr.org's
"externalize forwarding" stanzas...
the only difference is that instead of p4emu, specify p4dpdk at the end of
the line...\
one thing to note, after doing the "externalize forwarding" you'll need to
add the dpdk-devbind stanzas to /rtr/hwdet-all.sh



Thanks



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#893): https://groups.io/g/freertr/message/893
Mute This Topic: https://groups.io/mt/96011193/6413194
Group Owner:
Unsubscribe: https://groups.io/g/freertr/unsub []
-=-=-=-=-=-=-=-=-=-=-=-





Archive powered by MHonArc 2.6.19.

Top of Page