Setup up a private network without internet connection

Discussions about using Linux guests in VirtualBox.
Post Reply
binishbaby
Posts: 6
Joined: 3. Dec 2015, 01:49

Setup up a private network without internet connection

Post by binishbaby »

Hi Experts,

I am setting up a environment similar to my work environment where its has all systems like windows and unix servers.

My requirement is there should be no internet connection to any of the guest vm's and these vm's should have connectivity between each other.

1, I created the vm's and assigned Internal Network(Intern) as the network. I am able to communicate between the windows servers and there is no Internet connection as I wanted, but i am not able to get the connection worked between this linux and windows servers. Tried pining the IP's of the hosts not connecting. Is there anything wrong I am doing.

I searched for the solution to see if there is a similar post but didn't find it.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Setup up a private network without internet connection

Post by Perryg »

Internal will not talk to the host as it is isolated.
http://www.virtualbox.org/manual/ch06.html
binishbaby
Posts: 6
Joined: 3. Dec 2015, 01:49

Re: Setup up a private network without internet connection

Post by binishbaby »

Yes internal will not connect to host that's what I want and so selected this. But the problem is I cannot make a connection from my Linux vm to Windows vm in this internal network. Can't we not communicate between those hosts if they are internal? I can connect the Windows servers by them selves.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Setup up a private network without internet connection

Post by Perryg »

Can't we not communicate between those hosts if they are internal?
Do you mean guests and not hosts? If you mean guests then yes if the network is setup properly.
binishbaby
Posts: 6
Joined: 3. Dec 2015, 01:49

Re: Setup up a private network without internet connection

Post by binishbaby »

Yes I am sorry I meant between the guest in the same internal network . Not sure what's wrong I am not able to get the Linux and my Windows server communicate. Do you need some system info or network info so that it might help identify the issue. My Windows server is assigned a station ip 10.1.10.2 and I have assigned a static ip for my Linux machine 10.1.10.21.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Setup up a private network without internet connection

Post by Perryg »

I would need a little more than that.
1) what is the Linux guest exactly, there are hundreds of them.
2) run ifconfig -a on the Linux guest in a terminal and ipconfig /all on the Windows one and post the results of both,
binishbaby
Posts: 6
Joined: 3. Dec 2015, 01:49

Re: Setup up a private network without internet connection

Post by binishbaby »

The Linux machine I am using is rhel 5

Till now was trying to copy paste the output to of ipconfig/ifconfig to host but didn't work so I have attached the output, please see attachment.
Attachments
ifconfig output
ifconfig output
ifconfig.png (127.2 KiB) Viewed 10260 times
ipconfig output
ipconfig output
ipconfig.png (105.43 KiB) Viewed 10260 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Setup up a private network without internet connection

Post by Perryg »

How exactly did you setup the address on the Linux guest? Command line or a network manager?

How did you come up with the broadcast IP address?
binishbaby
Posts: 6
Joined: 3. Dec 2015, 01:49

Re: Setup up a private network without internet connection

Post by binishbaby »

I did it through the GUI interface, I acutally dont know how the broadcast address came.
binishbaby
Posts: 6
Joined: 3. Dec 2015, 01:49

Re: Setup up a private network without internet connection

Post by binishbaby »

Hey Sorry figuredout it was my mistake, somehow when i copied the Windows server VM the networking changed from Internal to NAT...I changed it back and it looks good.

thanks so much for you faster response..
Post Reply