Hello,
I have a problem with a stock RedHat 8.0 installation on an HP/COMPAQ ML330 G3 getting IP forwarding and DHCP relay to work.
First, this is a simple setup on a Slackware 8/9 system, but for this application I wanted to be consistent and use RedHat 8.0 for several servers. This is a multihomed system that acts as a router between subnets, LDAP slave and Samba 3.0 server for Windows clients. It also needs to forward DHCP brodcasts to the DHCP server. Samba works, LDAP replicates, but passing data through the server doesn't.
These are the steps I took to get a 2 Nic machine to act as a router:
enable forwarding:
echo 1>/proc/sys/net/ipv4/ip_forward
echo 1>/proc/sys/net/ipv4/tcp_syncookies
output of iptables:
[root@DECAS2 root]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@DECAS2 root]#
command to start DHCP relay:
dhcrelay -i eth0 -i eth1 172.16.0.10
output:
[root@DECAS2 root]# dhcrelay -i eth0 -i eth1 172.16.0.10
Internet Software Consortium DHCP Relay Agent V3.0pl1
Copyright 1997-2000 Internet Software Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/products/DHCP
Listening on LPF/eth1/00:04:75:ef:6b:cd
Sending on LPF/eth1/00:04:75:ef:6b:cd
Listening on LPF/eth0/00:0b:cd:cf:f4:4b
Sending on LPF/eth0/00:0b:cd:cf:f4:4b
Sending on Socket/fallback
[root@DECAS2 root]#
By all rights this should work. Incidentally, previously I had a Slackware box in here to do this. It was simple to enable IP forwarding and dhcp relay.
I can't get this to work on RedHat 8.0. Anyone have any suggestions?
Kent N