Routing

Hello Friends

I have two network cards
eth0 192.168.100.1
eth1 10.0.0.1

There NIC connect with diff. LAN

I want to make my Linux machine as a Router, Please tell me
using

IPTABLES command
ROUTE command

:slight_smile:

First, you must enable IP forwarding.

Thanks for reply

I enable IPv4 packet forwarding
# echo "1" > /proc/sys/net/ipv4/ip_forward

Now please tell me what to do ?