LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   I am trying to start DHCP in my linux box but the box hangs (http://www.linuxquestions.org/questions/linux-networking-3/i-am-trying-to-start-dhcp-in-my-linux-box-but-the-box-hangs-761129/)

sara0710 10-11-2009 06:42 AM

I am trying to start DHCP in my linux box but the box hangs
 
I am trying to start DHCP service in my linux box. It seems that the box get hanged after which I am not able to access the Linux system.

Any clue on what went wrong or any trouble shooting steps are appreciated

Here is the command I entered

[MyLinux ~]$ telnet 10.56.93.157

Trying 10.56.93.157...

Connected to sj-Linux-1(10.56.93.157).

Escape character is '^]'.

Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

Kernel 2.6.9-42.7.ELsmp on an i686

login: root

Password:

Last login: Sat Oct 10 00:41:48 from 2.43.209.131

You have mail.

[root@Linux-1 ~]# rpm -qa | grep dhcp

dhcpv6_client-0.10-14_EL4

[root@Linux-1 ~]# ls /etc/sysconfig/network-scripts

ifcfg-eth0 ifdown-aliases ifdown-isdn ifdown-sl ifup-ippp ifup-isdn ifup-ppp ifup-wireless

ifcfg-eth1 ifdown-ippp ifdown-post ifup ifup-ipsec ifup-plip ifup-routes init.ipv6-global

ifcfg-lo ifdown-ipsec ifdown-ppp ifup-aliases ifup-ipv6 ifup-plusb ifup-sit network-functions

ifdown ifdown-ipv6 ifdown-sit ifup-ib ifup-ipx ifup-post ifup-sl network-functions-ipv6

[root@Linux-1 ~]# ls /etc/sysconfig/network

/etc/sysconfig/network

[root@Linuz x-1 ~]# more /etc/sysconfig/network

NETWORKING=yes

HOSTNAME=Linux-1

NISDOMAIN=sj5.eng.

OTHER_YPBIND_OPTS="-no-ping"

OTHER_YPBIND_OPTS="-no-ping"

[root@Linux-1 ~]# ls /etc/sysconfig/network-scripts/ifcfg-eth0

/etc/sysconfig/network-scripts/ifcfg-eth0

[root@cate21-dc1-pc1 ~]# more /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=static

#HWADDR=00:50:56:B7:56:F8

IPADDR=10.56.93.157

NETMASK=255.255.255.240

GATEWAY=10.56.93.151

ONBOOT=yes

TYPE=Ethernet

[root@Linux-1 ~]# ls /usr/share/doc/dh*

/usr/share/doc/dhclient-3.0.1:

dhclient.conf.sample



/usr/share/doc/dhcpv6_client-0.10:

dhcp6c.conf ReadMe

[root@Linux-1 ~]# rpm -qa | grep dhcp

dhcpv6_client-0.10-14_EL4

eth1 10-11-2009 07:10 AM

Can you paste the output of the following command ?

Quote:

tail -100 /var/log/messages


All times are GMT -5. The time now is 11:46 PM.