Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 23 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Connect Bt4 to the internet
EH-Net
May 26, 2013, 02:32:16 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Connect Bt4 to the internet  (Read 3945 times)
0 Members and 1 Guest are viewing this topic.
f4csimil3
Newbie
*
Offline Offline

Posts: 22



View Profile
« on: May 26, 2011, 12:08:47 PM »

Hey guys!

I kinda have a little issue with connecting Bt4 to the internet.
Im behind a Firewall and running Bt in Vmware.
but im not able to get it to connect to the outside and ble to connect in the LAN and see all the connections There but not able to get to the internet.

What configuration do i need?
What do i need to do in order to get it to work?

Thanks!!
Logged
lorddicranius
Sr. Member
****
Offline Offline

Posts: 447



View Profile WWW
« Reply #1 on: May 26, 2011, 12:17:50 PM »

Are you able to ping IP addresses assigned to other physical machines, or only IPs within your one machine (ie main OS and other VM's)?  If the latter, you might need to reconfigure the BT VM to a different network connection type.  I haven't used VMWare much, but in VirtualBox you are able to configure the network connection type to bridged, NAT, internal, etc.  Bridged/NAT will allow you to access outside of your host OS, otherwise you're only able to ping IP's within your host OS.
Logged

GSEC, eCPPT, Sec+
hayabusa
Hero Member
*****
Offline Offline

Posts: 1633



View Profile
« Reply #2 on: May 26, 2011, 12:23:02 PM »

Sounds like you have it set to host-only, unless those other LOCAL network machines are not VM's as well.  As lorddicranius said, you'd need to go NAT or Bridged, to fix that.

Sounds that way, anyway...  The other possibility, if you statically assigned an address, is that your gateway is set wrong, on the BT guest...  You could hit local subnet machines, but nothing more, if you aren't talking to or configured for a gateway machine / router, somewhere.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
f4csimil3
Newbie
*
Offline Offline

Posts: 22



View Profile
« Reply #3 on: May 26, 2011, 12:39:53 PM »

Thanks for the response!!

When i put it in NAT im able to ping all the computers in the LAN, but when i put it in bridge i get.

Code:
root@bt:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@bt:~#

Meaning its not getting an Ip from the DHCP server.
Logged
lorddicranius
Sr. Member
****
Offline Offline

Posts: 447



View Profile WWW
« Reply #4 on: May 26, 2011, 12:57:21 PM »

Have you run the command "/etc/init.d/networking start" yet?  If so, try running the command "dhclient" to see if you can pull down an IP address.
Logged

GSEC, eCPPT, Sec+
f4csimil3
Newbie
*
Offline Offline

Posts: 22



View Profile
« Reply #5 on: May 26, 2011, 02:03:51 PM »

Thanks lorddicranius the following code worked i missing that Tongue
i was only doing the dhclient.
Quote
Have you run the command "/etc/init.d/networking start" yet?
.

Thanks now i can connect to the outside world Cheesy not able to browse but ill get that fixed thanks::
Logged
hayabusa
Hero Member
*****
Offline Offline

Posts: 1633



View Profile
« Reply #6 on: May 26, 2011, 02:58:07 PM »

I almost suggested dhclient, but since you'd said you were able to connect to other local machines, I assumed you were already getting an IP and connecting...
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
lorddicranius
Sr. Member
****
Offline Offline

Posts: 447



View Profile WWW
« Reply #7 on: May 26, 2011, 03:06:28 PM »

Glad it's working for ya.  That's something to also keep in mind when switching between BT4 and BT5: BT4 doesn't start the networking daemon upon bootup (by default), while BT5 does start it.
Logged

GSEC, eCPPT, Sec+
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.103 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.