mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
Routers
Routers are used to transmit data between two different networks. Routers have network cards on each of these LANs. Each network card has an IP, so the routers work at the Network layer of OSI model.
We also can configure our Linux computer as a router. For this we need at least two cards, connected to different networks. Then we should enable IP forwarding. This job is relatively simple. For this we need to change settings in /proc directory, which is as follows:
# echo 1 > /proc/sys/net/ipv4/ip_forward
To make sure this change is still this applied change is still there the next time we boot the system, open the file /etc/sysctl.conf with the help of any text editor like vi and modify the following entry value to 1 as follows:
net.ipv4.ip_forward = 1
No comments:
Post a Comment