|
Hello,
I'm trying to setup a router in a Linux Kernel
2.4/iptables PC with one lan card, I'm setting up the extra interface this
way:
ifconfig eth0:0 192.168.60.254/24
(The eth0 interface is the original one from the
lan card, its IP is 192.168.130.254)
Then I've set up some rules in iptables FORWARD
chain, but to make it easier to see thinks working right now, I've opened if
setting the policy:
iptables -P FORWARD ACCEPT
From the Linux PC I can ping computers on both
lans. I want that computers from 192.168.130.x lan can access computers
from lan 192.168.60.x. So I've set up the 192.168.130.x PCs gateway to the Linux
PC (192.168.130.254). But I still can't ping 192.168.60.x machines
from 192.168.130.x machines! Please help me!
I'm enabling ip forward with the following
command:
echo 1 >
/proc/sys/net/ipv4/ip_forward
Thank you a lot for the attention.
Cesar
|
- Linux router Cesar Mello - Axi
- Linux router hard__ware
- Linux router hard__ware
