LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2011, 11:27 AM   #1
sourav0031
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
Arrow create a private domain among 3 ubuntu os.


hi guys

i want to create a private network between 3 ubuntu(s) installed in oracle virtual box..

i want 1 of them to be a server
1 to be a client
and the 3rd one to be a certification authority(kerberos/X.509 CA)

first help me to connect 3 ubuntu(s) to form a private network.

all 3 are in my laptop which runs win 7.

and is connected to wifi.


thank you...

Last edited by sourav0031; 12-21-2011 at 11:29 AM.
 
Old 12-21-2011, 11:37 AM   #2
singhharmeet
LQ Newbie
 
Registered: Dec 2011
Posts: 21

Rep: Reputation: Disabled
on windows 7 at cmd run ipconfig and paste the results here.. you have install 3 ubuntus on virtualbox ?... during installtion of ubuntu did you gave manual ips ? or automatic ?
 
Old 12-21-2011, 11:39 AM   #3
singhharmeet
LQ Newbie
 
Registered: Dec 2011
Posts: 21

Rep: Reputation: Disabled
also the one vm which you want to be server. what kind of server you want it to be. ftp ? nfs ? http ? samba ? give the whole information in detail ... you have to run atleast 2 .. is your hardware capable enuff ? and you dont need wifi router to make a private network between 3 vms as they are connected through virtual bridge.

Last edited by singhharmeet; 12-21-2011 at 11:44 AM.
 
Old 12-21-2011, 11:52 AM   #4
sourav0031
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Arrow

Quote:
Originally Posted by singhharmeet View Post
on windows 7 at cmd run ipconfig and paste the results here.. you have install 3 ubuntus on virtualbox ?... during installtion of ubuntu did you gave manual ips ? or automatic ?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\saravanan>ipconfig

Windows IP Configuration


Wireless LAN adapter Wireless Network Connection 3:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wireless Network Connection 2:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::6921:7ee2:7ff5:db8e%13
IPv4 Address. . . . . . . . . . . : 192.168.1.119
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Ethernet adapter Bluetooth Network Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Ethernet adapter VirtualBox Host-Only Network:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::f546:4c14:5a2d:b58f%23
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Tunnel adapter 6TO4 Adapter:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{12E5B3A0-A58A-4A91-B204-5189F4644004}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{5E1BB597-FEBF-462E-8AB5-2C88BF99A94C}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{28454D14-9E9D-4F46-9A6C-2C2038F155DF}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.nyit.edu:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{A99D1F05-E340-40A1-8A46-E996F7E0E809}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

C:\Users\saravanan>

and no i did not give any ips

my hard disk is 500gb, ram 4 gb, intel core i7 processor.
 
Old 12-21-2011, 11:53 AM   #5
sourav0031
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Arrow

Quote:
Originally Posted by singhharmeet View Post
also the one vm which you want to be server. what kind of server you want it to be. ftp ? nfs ? http ? samba ? give the whole information in detail ... you have to run atleast 2 .. is your hardware capable enuff ? and you dont need wifi router to make a private network between 3 vms as they are connected through virtual bridge.
want my server to be ftp or http either 1 is fine
 
Old 12-21-2011, 11:56 AM   #6
singhharmeet
LQ Newbie
 
Registered: Dec 2011
Posts: 21

Rep: Reputation: Disabled
can you run one of your virtual machines and type ifconfig in terminal and paste the output here ?
 
Old 12-21-2011, 12:09 PM   #7
sourav0031
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Arrow

Quote:
Originally Posted by singhharmeet View Post
can you run one of your virtual machines and type ifconfig in terminal and paste the output here ?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\saravanan>ipconfig

Windows IP Configuration


Wireless LAN adapter Wireless Network Connection 3:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wireless Network Connection 2:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::6921:7ee2:7ff5:db8e%13
IPv4 Address. . . . . . . . . . . : 192.168.1.119
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Ethernet adapter Bluetooth Network Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Ethernet adapter VirtualBox Host-Only Network:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::f546:4c14:5a2d:b58f%23
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Tunnel adapter 6TO4 Adapter:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{12E5B3A0-A58A-4A91-B204-5189F4644004}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{5E1BB597-FEBF-462E-8AB5-2C88BF99A94C}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{28454D14-9E9D-4F46-9A6C-2C2038F155DF}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.nyit.edu:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{A99D1F05-E340-40A1-8A46-E996F7E0E809}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

C:\Users\saravanan>
 
Old 12-21-2011, 12:11 PM   #8
singhharmeet
LQ Newbie
 
Registered: Dec 2011
Posts: 21

Rep: Reputation: Disabled
not ipconfig of windows ...
run your virtual machine inside virtualbox .. in ubuntu terminal .. run command ifconfig and paste the output here..
 
Old 12-21-2011, 12:14 PM   #9
sourav0031
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Arrow

Quote:
Originally Posted by singhharmeet View Post
not ipconfig of windows ...
run your virtual machine inside virtualbox .. in ubuntu terminal .. run command ifconfig and paste the output here..
yeah i copied the info from virtual box but it is not available to paste in windows browser...
so i looged in thru ubuntu...

eth0 Link encap:Ethernet HWaddr 08:00:27:21:88:64
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe21:8864/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2150 (2.1 KB) TX bytes:11743 (11.7 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1296 (1.2 KB) TX bytes:1296 (1.2 KB)
 
Old 12-23-2011, 05:23 AM   #10
singhharmeet
LQ Newbie
 
Registered: Dec 2011
Posts: 21

Rep: Reputation: Disabled
eth0 Link encap:Ethernet HWaddr 08:00:27:21:88:64
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe21:8864/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2150 (2.1 KB) TX bytes:11743 (11.7 KB)


okay ! 10.0.2.15 is the ip given to your virtual machine you can create ftp server on this vm but i would suggest you to make this server static. give it a static ip, to do that go to connection properties of eth0 and instead of automatic click on manual and give ip address, mask and gateway. then install vsftpd service and enable it and start it. it will create a folder /var/ftp/ where you can copy all the files you want to share with other computers ( your other virtual machines here ) can access it thru ftp://10.0.2.15
hope this helps..
p.s. may be you also need to edit selinux contexts to make this folder work

Last edited by singhharmeet; 12-23-2011 at 08:17 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Create new domain on Ubuntu Server 32 bit 10.04 guitarmaneg140 Linux - Newbie 5 06-03-2010 06:23 PM
LXer: Samba Tutorial: Create Private User Shares LXer Syndicated Linux News 0 01-09-2010 05:40 PM
Creating a bogus DNS domain inside private address range network zogness Linux - Networking 13 10-16-2009 01:34 PM
LXer: How to Create a Private Encrypted Folder On Ubuntu 8.10 (Intrepid) LXer Syndicated Linux News 0 01-14-2009 08:20 AM
How to create p2p traffic inside private lab? sharon179 Linux - Networking 1 03-13-2007 09:54 PM


All times are GMT -5. The time now is 04:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration