I have a Redhat 6.1 box with the following configuration:

ifcfg-eth0
==========
DEVICE=eth0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
NAME=PRIVATE

There is a single dhcp client on this segment which gets an address just
fine.

ifcfg-eth1
==========
DEVICE=eth1
ONBOOT=yes
NAME=PUBLIC
BOOTPROTO=dhcp

There is a separate DHCP server (NetWare 5, DHCP v3.01b) on eth1's segment.
Under kernel 2.2.12-20, eth1 was able to get an address from this server.

/etc/sysconfig/network
======================
NETWORKING=yes
FORWARD_IPV4=true
HOSTNAME=RHRouter
GATEWAY=10.10.1.1
GATEWAYDEV=eth1

GATEWAY is my firewall's internal interface and my (external to the RH box)
DHCP server.

THE PROBLEM:

After upgrading the kernel to 2.2.16-3, eth1 no longer gets an address from
the external DHCP server.

The modules I downloaded/installed are:

Installed
=========
kernel-2.2.16-3.i386.rpm
kernel-ibcs-2.2.16-3.i386.rpm
kernel-pcmcia-cs-2.2.16-3.i386.rpm
kernel-BOOT-2.2.16-3.i386.rpm (**)
kernel-doc-2.2.16-3.i386.rpm (**)
kernel-utils-2.2.16-3.i386.rpm (**)

(**) = These were not mentioned in the HowTo, so were not installed
initially.  I later installed them, hoping something there might fix the
problem -- not!

Not Installed
=============
initscripts-4.70-1.i386.rpm (already running this version)
kernel-source-2.2.16-3.i386.rpm
kernel-headers-2.2.16-3.i386.rpm

This was my first kernel upgrade, so I pretty much went 'by the book' per
the Kernel Upgrade HowTo.  The one execption was when verifying the
downloaded RPMs, the HowTo says to...

rpm -K --nopgp *rpm

...which returned 'md5 GPG NOT OK' for all modules.  However,
'rpm -K --nogpg *rpm' came back thumbs up for all of them.  Since I was
unable to locate md5sums for these, I proceeded with the upgrade, which
seemed to go fine from that point forward (and the machine does boot to the
new kernel! :).

THE SYMPTOMS:

When trying to 'ifup eth1', I see 'Determining IP address information...'.
About 60 seconds later, the operation times out and 'ifup' reports 'failed'.
Looking at my external DHCP server during this shows no DHCPREQUEST packets
getting to it.  However, looking at the DHCP server on eth0 shows that eth1
is sending DHCPREQUESTs, eth0 replies with an offer, and those events cycle
until the timeout expires and 'ifup' fails.  Looks like eth1 is failing to
send the DHCPREQUEST packets over the wire (???).

If I reboot to the old kernel (thankfully, the HowTo told me how to set this
up!), eth1 gets an address from the external DHCP server immediately.  Under
the old kernel, if I then do 'ifdown eth1', followed by 'ifup eth1', I get
the same problem as above.  However, if I do '/etc/rc.d/init.d/network
restart', eth1 comes up fine. (??? why one, but not the other?)  Performing
either of these tests under the new kernel always results in 'failed'.

I've searched the archives and come up empty.  I saw some things about
'pump.conf', but I've no idea what that is or if I need it.  I do know it's
not on my system.

Finally, my goal with this setup is to install it for a client who is
getting a DSL modem (not router), which will be assigned a dynamic IP
address.  The RH box is to route between the DSL modem and the client's
internal LAN.  I have yet to attempt the firewall piece -- tips, gotchas,
and other comments on this are welcome as well.

bd
===========================
Brad Doster
Insight Network Solutions
925-335-9510
www.InsightNetSolutions.net




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to