05-24-2013
How to set DHCP by using Virtualbox?
Hi, Guys,
I met a question.
I've installed the Oracle Virtualbox in my laptop, whose OS is Windows XP.
And I've installed two CentOS 6.4 in the virtualbox : test1, test2.
I wanted the test1 to be the DHCP server and assigned IP Address to the test2.
I knew the principle :
step 1: install the DHCP server in the test1;
step 2: config the dhcpd.conf in the test1;
step 3: restart the DHCP service;
I set the test1's network adapter attached to Host-Only Adapter and set the IP Address by manual (192.168.56.83)
I set the test2's network adapter attached to Host-Only Adapter and set the IP Address by DHCP.
However, the test2 cannot get the correct IP Address which contains the test1's dhcpd.conf.
It took me a whole day and is terrible!
Please help me! Give me some ideas!
Thx
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have linux box setup and connected to a cable modem via a hub which is shared with other win98 pcs. I need to set up the linux box with dhcp.
I have two issues:
First: For some reason, every time I activate the eth0 interface, it seems to deactivate itself after some time all by itself.... (1 Reply)
Discussion started by: alam
1 Replies
2. Solaris
I've just installed VirtualBox on my PC and installed OpenSolaris as a virtual machine within it. The PC connects to the internet via a router and uses DHCP to get its IP address. How do I configure the OpenSolaris virtual machine to use the same DHCP server so I can connect it to the net. At the... (4 Replies)
Discussion started by: JerryHone
4 Replies
3. Virtualization and Cloud Computing
Hello, guys!
I use Ubuntu 9.04 as desktop operating system and I want to make some tests on NetBSD. I tried to install as a virtual sistem on VirtualBox but it doesn't want to install. You can see the error in the attached file.
Do you guys have any clue about what the problem could be? (3 Replies)
Discussion started by: Sergiu-IT
3 Replies
4. AIX
Hi,
I have used "smit tcpip" to setup dhcp client but it does not work. Don't know why. Now I want to try using commands to do the job. I have studied commands chdev and mktcpip but did not find howto.
Please help. Thank you! (1 Reply)
Discussion started by: aixlover
1 Replies
5. IP Networking
Hello;
Please,I did the clone on virtualBox, but the machines have the same IP address: eth2 Link encap: Ethernet HWaddr 8:00:27: f0: 92:19 inet addr: 192.168.1.4 Bcast: 192.168.1.255 Mask: 255.255.255.0
how to change the address please?
Thank you so much (6 Replies)
Discussion started by: chercheur857
6 Replies
6. IP Networking
Hi All ,
please view the set up below:
-------------------------------------------------------------------
| DHCP Server |-----------| ROUTER & |-----------| Clients |
| 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X |
... (2 Replies)
Discussion started by: gdangoor
2 Replies
7. UNIX for Advanced & Expert Users
hi to everyone. our instructor gave us a cd containing rhel6. where on 3rd week now and he is assgning us to configure a dns. Im using rhel 6.3(anaconda). i install bind. and says:nothing to do. when i follow step by step configuration in some website i encounter problems like i have no file... (1 Reply)
Discussion started by: rpmacaspac
1 Replies
8. Virtualization and Cloud Computing
I want to change my virtual box disk to immutable. When I try to do that I get the following error.
Error changing medium type from Normal to Immutable.
Cannot change the type of medium '/root/VirtualBox VMs/fedora13/fedora13.vmdk' because it is attached to 1 virtual machines
Please help me... (2 Replies)
Discussion started by: Ankur Goyal
2 Replies
LEARN ABOUT DEBIAN
bup-restore
bup-restore(1) General Commands Manual bup-restore(1)
NAME
bup-restore - extract files from a backup set
SYNOPSIS
bup restore [--outdir=outdir] [-v] [-q]
DESCRIPTION
bup restore extracts files from a backup set (created with bup-save(1)) to the local filesystem.
The specified paths are of the form /branch/revision/path/to/file. The components of the path are as follows:
branch the name of the backup set to restore from; this corresponds to the --name (-n) option to bup save.
revision
the revision of the backup set to restore. The revision latest is always the most recent backup on the given branch. You can dis-
cover other revisions using bup ls /branch.
/path/to/file
the original absolute filesystem path to the file you want to restore. For example, /etc/passwd.
Note: if the /path/to/file is a directory, bup restore will restore that directory as well as recursively restoring all its contents.
If /path/to/file is a directory ending in a slash (ie. /path/to/dir/), bup restore will restore the children of that directory directly to
the current directory (or the --outdir). If the directory does not end in a slash, the children will be restored to a subdirectory of the
current directory. See the EXAMPLES section to see how this works.
OPTIONS
-C, --outdir=outdir
create and change to directory outdir before extracting the files.
-v, --verbose
increase log output. Given once, prints every directory as it is restored; given twice, prints every file and directory.
-q, --quiet
don't show the progress meter. Normally, is stderr is a tty, a progress display is printed that shows the total number of files
restored.
EXAMPLE
Create a simple test backup set:
$ bup index -u /etc
$ bup save -n mybackup /etc/passwd /etc/profile
Restore just one file:
$ bup restore /mybackup/latest/etc/passwd
Restoring: 1, done.
$ ls -l passwd
-rw-r--r-- 1 apenwarr apenwarr 1478 2010-09-08 03:06 passwd
Restore the whole directory (no trailing slash):
$ bup restore -C test1 /mybackup/latest/etc
Restoring: 3, done.
$ find test1
test1
test1/etc
test1/etc/passwd
test1/etc/profile
Restore the whole directory (trailing slash):
$ bup restore -C test2 /mybackup/latest/etc/
Restoring: 2, done.
$ find test2
test2
test2/passwd
test2/profile
SEE ALSO
bup-save(1), bup-ftp(1), bup-fuse(1), bup-web(1)
BUP
Part of the bup(1) suite.
AUTHORS
Avery Pennarun <apenwarr@gmail.com>.
Bup unknown- bup-restore(1)