> -----Original Message----- > From: Michael Turner [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 12:12 AM > To: [EMAIL PROTECTED] > Subject: Only static IPs works, DHCP hangs ..... > > > I am trying to use DHCP because my ISP requires it. I thought > setting up > DHCP was easy! Whenever I change the eth1 card to use DHCP, > then it fails > bringing that nic up on boot up. Do you need dns servers when > setting up > DHCP? What about routing and gateway IPs? I have tried all > that I can think > of. I am at a loss. Please help any way you can. Thanks in advance. > > Mike Your /etc/sysconfig/network-scripts/ifcfg-eth1 should say: DEVICE=eth1 BOOTPROTO=dhcp ONBOOT=yes
You can also run setup from a root prompt to change the network settings. Also, if you are running iptables/ipchains, you might be blocking the DHCP port. chkconfig --list iptables will tell you if you are running iptables. If you are, you might want to turn it off and see if your DHCP works. Do this via chkconfig iptables off, and reboot. If this works you have some firewall work to do..., and you should use a firewall if you are connected to the net. You can substitute ipchains in the chkconfig commands above, if that is what you are using. JMF -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list