October 13, 2013

IP and DNS Configuration in Backtrack using Command Prompt

BackTrack is a Linux-based penetration testing arsenal that aids security professionals in the ability to perform assessments in a purely native environment dedicated to hacking. To connect BackTrack Machine with network you have configure IP Address and DNS entries.

View IP Address Configuration in BackTrack

Configure IP Address
ifconfig interface_name ip_address
#ifconfig eth0  ( with Default Subnet Mark)
#ifconfig eth0  (with subnet mask)
#ifconfig eth0   (with CIDR notation)

View Route Information

Manually Configure Default Gateway:
route add default gw ip_address interface
#route add default gw eth0

Configure DNS Server's IP Address:
echo nameserver ip_address > /etc/resolv.conf
#echo nameserver > /etc/resolv.conf

Note: In Backtrack DNS Servers configuration is saved in resolv.conf file which is located in /etc directory

Turn On  Network Interface Card (NIC)
ifconfig interface up
#ifconfig eth0 up
#ifconfig wlan0 up

Configure BackTrack Network Service
/etc/init.d/networking restart   -  To restart network service
/etc/init.d/networking start      - To start network service
/etc/init.d/networking stop       - To stop network service


  1. I'm happy I discovered this site, I couldn't discover any learning on this matter earlier to.Also work a webpage and on the off chance that you are ever inspired by doing some guest composing for me if conceivable don't hesitate to tell me, im dependably search for individuals to look at my site. my ip location

  2. Your blog is too much amazing. I have found with ease what I was looking. Moreover, the content quality is awesome. Thanks for the nudge! IP Address