LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-30-2012, 11:42 PM   #1
smart5
LQ Newbie
 
Registered: Mar 2012
Posts: 25

Rep: Reputation: Disabled
static-ip address


i using a mobile-broad band connection and i installed a Debian on a virtual-box without graphics(the Debian live-CD i created using a live-build tool)now problem is that how can i give the static ip-address using a mobile-broadband connection.i have no Ethernet? plz help me out i am stuck in it.and and second is that my two virtual machines are not ping to each others ? i need yours help very badly?
thanks
 
Old 03-31-2012, 04:57 AM   #2
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 140

Rep: Reputation: 9
I think is actually VM related, not network related.
Any way:
First of all check, if Virtual Machines have network controllers assigned by VirtualBox (in virtual machine configuration), if they have it, then you can easily get IP on machines using dhclient
Code:
dhclient -v eth0
'-v' flag means verbose, so you would see, if dhclient is getting any response.
Or you can assign static IP (I dislike static IP - it is completely wrong and hard to manage)
Code:
ifconfig eth0 192.168.1.2
Obviously your IP depends on your network, so you have to tune it to your network - this just example
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting static IP on linux PCs with no static IP address from internet provider? solvetek Linux - Networking 1 10-22-2011 08:04 AM
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 08:38 PM
[SOLVED] Converting static IP-address to dynamic IP-address Blue_Ice Linux - Networking 3 07-20-2006 03:35 AM
Static IP address mikz Slackware 4 11-28-2005 04:30 PM
Static IP Address bytebrowser Linux - Networking 14 06-16-2003 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration