Probably a basic guest internal network problem

Discussions about using Linux guests in VirtualBox.
Post Reply
donaDG
Posts: 5
Joined: 6. Apr 2021, 09:26

Probably a basic guest internal network problem

Post by donaDG »

I've just joined the forum
Using virtbox 6.1
Installed Fedora 33 workstation and server as guests
Selected a single network card (enp0s8) on each guest node , set up 'internal network ' only.
set each network card address with
ip addr add 192.168.20.6 dev enp0s8 for workstation and .7 for server
Both network cards 'intnet' names are the same.
Test pinged each ip address from its own parent node.

192.168.20.6 pinging from its own node (workstation) is stable.

192.168.20.7 pinging from its own node (server) is unstable. The network card loses its address after about 20 pings of itself.
I don't know whats wrong here.

I tried to ping between both nodes during the time that the server node is up and fail here too.
What am I missing ?
I read that the internal routing does not need setting up because virtual default routing already exists.
I set each card to promiscuous mode, no difference. Both cards are the same type.
donaDG
Posts: 5
Joined: 6. Apr 2021, 09:26

Re: Probably a basic guest internal network problem

Post by donaDG »

Don't worry, figured it out. If a Mod wants to delete this, please do so
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Probably a basic guest internal network problem

Post by scottgus1 »

Actually, we'd like to know what your solution was, for forum readers' edification.
donaDG
Posts: 5
Joined: 6. Apr 2021, 09:26

Re: Probably a basic guest internal network problem

Post by donaDG »

It was so simple that I feel embarrassed now. I didn't set the subnet to .0 for the last octet. I assumed this was all taken care of by the default virtual routing.
As to why the server network card kept dropping out, I'm not yet sure but I unticked the tick box in the main VM setup screen at the Network setup {advanced} features for "cable connected" and it began working continuously. Some time later on, I ticked the button and it still kept on working.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Probably a basic guest internal network problem

Post by scottgus1 »

Thanks for letting us know!
Post Reply