Hey guys this may soud kinda stupid.My internet connection is PPPoE and it hoes directly into the host not into a router.
Can i have it directed into vm with a router and from there to host machine and other guest vms so i can use them in bridge mode.
The ideea is that i want to simulate a real network between host and some other guest vm for learning penetration testing and networking and also hostin my webserver and ftp server on a vm
PPPoE Networking
-
mhanor
- Volunteer
- Posts: 321
- Joined: 7. Oct 2009, 12:40
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: various
Re: PPPoE Networking
Yes, you can do that. The VM, that will serve as a router/gateway/server of whatever, will need to have two virtual network adapters. One adapter will need to use bridge networking (attached to the host's Ethernet adapter), while the second virtual adapter will be attached to a Host-only adapter (for which you'll have disable the DHCP server, from VirtualBox settings). Other VMs will have their network adapters attached to the same Host-only adapter as the first VM . To be the safe side, on the host OS you will also deselect all network protocols from the host's Ethernet adapter, except for the VirtualBox Bridge Networking Driver. The first VM will route data (if you configure the guest OS appropriately) between the external interface (the bridged interface) and the internal interface (the one attached to the Host-only adapter, which works as a private Ethernet hub/switch, creating the private network).
I hope this helps you.
I hope this helps you.