LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Virtual DHCP network

[ILUG] Virtual DHCP network

David Pintor painterman at gmail.com
Sat Dec 25 18:14:16 GMT 2010


Hi,

I'm trying to configure a DHCP server in a Fedora virtual box that will
provide ip addresses to other virtual boxes, so far with no success.

These are the steps that i'm following (more or less), if anyone can put me
in the right direction or send me a good link to do this that would be
great. Been googling for 3 days, but no joy...

- Basically, the DHCP server gets the IP "bridged" from the host, so it will
be a 192.168.1.x, same range that the host.
- What I want to do (or I think i need to do) is put my virtual network in a
different IP range (ie, 192.168.100.x), so it doesnt interfere with the rest
of pc's in the house.
- So I thought i might just NAT the address from the host and not bridge it?
And then i get a 10.0.2.x IP in my virtual box, which can see the internets
(cool). The ideal would be to have a static IP here (as it's going to be the
dhcp server), something like 10.0.2.1 would be the ideal. However when I
change the ip address, the box can't see the internet anymore (ping to
google fails).
- I've tried also creating another interface (tun0) on the top of eth0 but
as soon as the Ip changes, no internet acces either...

Hope this makes sense... I think it might be some problem with the routing
table, but not sure. I am unfortunately quite a newby in network stuff and
all this seems like a highly complex task to do, even though it might be
straight forward enough... Any tips are welcome. I might have forgotten to
post important information too - if so please ask, i didnt want to make this
email too long.

Thanks in advance and happy christmas to everyone!!

David


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell