- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Manage kernel modules and their parameters
In this exercise, you need to modify a kernel module to provide more information. *This course is not approved or sponsored by Red Hat.*

Lab Info
Table of Contents
-
Challenge
Enable nf_conntrack time stamping in the running kernel.
Check to see if the module is loaded:
lsmod | grep nf_conntrack
View the parameters available for the
nf_conntrack
module:modinfo nf_conntrack
Verify the current setting of the timestamp parameter:
cat /sys/module/nf_conntrack/parameters/tstamp
Stop the firewall and unload the module:
systemctl stop firewalld
modprobe -r nf_conntrack
Load the module with timestamping enabled:
modprobe nf_conntrack tstamp=1
Verify the current setting of the timestamp parameter:
cat /sys/module/nf_conntrack/parameters/tstamp
-
Challenge
Make the change persist through a restart.
Make the change persist through a reboot:
echo "options nf_conntrack tstamp=1" > /etc/modprobe.d/nf_conntrack.conf
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.