Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
SIMULATION - Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP Forwarding. 1. echo "1" >/proc/sys/net/ipv4/ip_forward 2. vi /etc/sysctl.conf net.ipv4.ip_forward=1
Suggested Answer:See explanation below.
/proc is the virtual filesystem, containing the information about the running kernel. To change the parameter of running kernel you should modify on /proc. From Next reboot the system, kernel will take the value from /etc/sysctl.conf.
NEVER Directly edit sysctl.conf is not recommended, create customised file in the /etc/sysctl.d directory.
echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.d/IP_Forwarding.conf
sysctl --load /etc/sysctl.d/IP_Forwarding.conf
***DO NOT make mistake like others do and use -p because the option -p ONLY works if you edited the /etc/sysctl.conf file which is NOT recommended, so if you use customized file as per above **Highly recommended** then you must use option --load as per above example
confirm by either
sysctl -a | grep ip_forward or
cat /proc/sys/net/ipv4/ip_forward
NOTE:REBOOT is highly recommended but not necessary if you use the above procedure
This does not persist. Official solution is correct
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Lazylinux
3 weeks, 1 day agomattd81
2 years, 2 months agoLazylinux
3 weeks, 1 day agoly01
1 month, 3 weeks ago