Hi all,
I've got two virtual machines both statically configured IP addresses one which is
10.10.0.33
and one is
10.20.0.33
Both are configured on the same internal network "myinternalnetwork", however the machines can't ping each other.
If I bring up another machine say 10.10.0.34 this can ping 10.10.0.33
If I bring up another machine say 10.20.0.34 this can ping 10.20.0.33
I'm presuming there's some routing I need to get this to work, but for the life of me I can't figure out how I can get communication between 10.10 -> 10.20 despite them being on the same internal network.
Running standard ubutnu servers.
Any help greatly appreciated
Thanks
Alan
[Solved] Internal Network Routing
[Solved] Internal Network Routing
Last edited by socratis on 21. Jun 2018, 01:20, edited 1 time in total.
Reason: Marked as [Solved].
Reason: Marked as [Solved].
-
- Volunteer
- Posts: 2560
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Internal Network Routing
Set a /8 netmask (255.0.0.0) and you don't need routing.
The two virtual machines are not "on the same network" If you use a smaller netmask with these two addresses.
The two virtual machines are not "on the same network" If you use a smaller netmask with these two addresses.
Re: Internal Network Routing
Thanks Martin. How do you set the netmask on an internal network, or do I just set this in network interfaces file on the boxes?
-
- Volunteer
- Posts: 2560
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Internal Network Routing
It is just the network configuration inside your VMs.
The VirtualBox "Internal Network" is just like a direct cable connection or a simple switch, there is no network addressing intelligence in it.
The VirtualBox "Internal Network" is just like a direct cable connection or a simple switch, there is no network addressing intelligence in it.
Re: Internal Network Routing
Man I feel dumb Thanks Martin, that obviously works perfectly....
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Internal Network Routing
Glad you got it going. Marking as [Solved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.