How to Enable DHCP on Backtrack-4

Today i tried to install some applications on Backtrack 4 .It was not conencted on to internet .i was just wondering then just i enable this command it was amazing working good   also i can access the internet .

After that i was ping G-dns ( Google DNS ) waallaa !!

root@Kartook:~# ifconfig eth0 up
root@Kartook:~# dhclient eth0

Internet Systems Consortium DHCP Client V3.1.1

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:0c:29:f5:46:00

Sending on     LPF/eth0/00:0c:29:f5:46:00

Sending on     Socket/fallback

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8

DHCPOFFER of 192.168.204.142 from 192.168.204.254

DHCPREQUEST of 192.168.204.142 on eth0 to 255.255.255.255 port 67

DHCPACK of 192.168.204.142 from 192.168.204.254

bound to 192.168.204.142 — renewal in 775 seconds.

root@Kartook:~# ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

64 bytes from 8.8.8.8: icmp_seq=1 ttl=128 time=83.5 ms

64 bytes from 8.8.8.8: icmp_seq=2 ttl=128 time=83.3 ms

64 bytes from 8.8.8.8: icmp_seq=3 ttl=128 time=83.2 ms

6 thoughts on “How to Enable DHCP on Backtrack-4

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.