IPForwarding / IPTABLES question

jg jg573 at yahoo.com
Wed Mar 24 00:39:06 UTC 2004


Ok, I am new to setting this up on Redhat.

In short, I want to enable ipforwarding so systems
behind eth0 can get out to the network via eth1.
All systems are on same subnet, there is no
masquerading needed, I just need my Redhat box to
forward the traffic.

I have enabled IP Forwarding via:

editing /etc/sysctl.conf & changing
net.ipv4.ip_forward = 1

As well as...

echo 1> /proc/sys/net/ipv4/ip_forward

I want the hosts behind eth0 to grab there IP
addresses via DHCP, teh DHCP server is located on the
network connect to eth1.

As well I need eth0 to grab it's IP via DHCP (will be
a permanent lease).


Looks like this:


[Systems] --> eth0 *| --- |* eth1 --> (network)


How can I make this work?


Thanks.

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html





More information about the redhat-list mailing list