How to enable IP forwarding /Routing in RHEL/CentOS Linux machine
By default, in linux machine routing /IP forwarding become disable. We enable IP Forwarding for making linux machine as router .
# vim /etc/sysctl.conf
net.ipv4.ip_forward=0
change to
net.ipv4.ip_forward=1
Uupdate command
#sysctl -p