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
#ifconfig

Configure IP Address
ifconfig interface_name ip_address
Ex:
#ifconfig eth0 172.31.1.10  ( with Default Subnet Mark)
#ifconfig eth0 172.31.1.10 255.255.192.0  (with subnet mask)
#ifconfig eth0 172.31.1.10/26   (with CIDR notation)

View Route Information
#route

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

Configure DNS Server's IP Address:
echo nameserver ip_address > /etc/resolv.conf
Ex:
#echo nameserver 8.8.4.4 > /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
Ex:
#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

9 comments:

  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

    ReplyDelete
  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

    ReplyDelete
  3. This expands the danger of Spyware and other malignant projects in the event that you utilize noxious intermediaries. web link

    ReplyDelete
  4. Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. ps4 dns error

    ReplyDelete
  5. Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. fix Ps4 controller red light

    ReplyDelete
  6. As everyone knows though it’s not really about how good the movie was, it’s about if you would watch it a second time? White House Market Link

    ReplyDelete
  7. Thanks so much for providing individuals with an extraordinarily pleasant chance to read in detail from this blog. It is usually very cool and packed with amusement for me personally and my office friends to visit your blog minimum thrice a week to read through the new items you have. And lastly, we’re actually pleased with all the surprising knowledge you serve. Certain two tips on this page are in truth the best we’ve ever had. white house market

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. Utilize your content to teach and illuminate your clients about how your items and administrations could tackle their concerns.
    ChatGPT Prompts

    ReplyDelete