Its an VM
What im doing is changing config and then connect to ISP modem to tests the changes. Its the only way i have to do it
Its an VM
What im doing is changing config and then connect to ISP modem to tests the changes. Its the only way i have to do it
well, maybe your host computer does not allow passing tagged vlan traffic on real NIC ?
Few test and ko. It is connected to current main router by wire in eth1. To test the PPPoE connection, im changing "wan cable" from main router to this one.
VM's are a bit tricky... you need to make sure that:
Do you have other VLAN aware devices that you can use to test that this works?
Another thing to consider -- it's usually not the best idea to run your primary router as a VM. It's far better to run bare-metal for your router because it means that there are far fewer processes and variables (including the VM supervisor/hypervisor itself) that could introduce potential security or operational concerns.
How can i find out?
What kind of host ? Win? Linux? VirtualBox? Proxmox ?
I have this ones, as https://openwrt.org/docs/guide-user/virtualization/virtualbox-vm says:
I just can pray for it to work, VM env is VirtualBox, Host is Windows 10 and how can i check if hardware is compatible? I think so because is a Acemagician T8 Plus.
Yes, an Archer C6 with OpenWRT currently working with that configuration i want to do in the VM.
I know but is for home purposes and not "forever", thanks for the advice.
VirtualBox
sorry, i am out of idea
using Proxmox with advanced networking features every day ... but this combo, win+VB is out of my league
maybe somebody else have idea
Why would you run your main router with a host OS of Windows? This sounds like a very very bad idea.
Prayers don't work if the environment isn't setup correctly.
Configure your OpenWrt C6 with a new subnet (complete with a DHCP server and assigned to the lan firewall zone). Assign that new subnet to VLAN20. Make sure that VLAN20 is tagged on one of the C6 ports.
Then, change your VM's wan interface to get an address via DHCP. Connect a cable between the C6 (on the port with tagged VLAN 20) and eth1 of your VM. Does it get an address?
I merged the two threads by @Exio0 because they were essentially duplicate/cross posts. This was both causing clutter and also bifurcating the conversation which will cause massive confusion and duplication of efforts..
@Exio0 -- please keep the conversation in one place.
I have Proxmox too and i wish a router could run remotely in Proxmox....
Well, i have very large files in that Windows installation and i cannot move them yet... any recomendations?
Im new to this... its hard to you to explain it to me like... step by step? Sorry for the inconvenience...
Yes, sorry for that i said before but the topic has advanced almost without realizing it. Again my apologies.
Yes... my recommendation is to not use this machine as your router.
If you want to use an x86 class device as your router, get a mini-PC type unit that is generally designed to be used as a router... there are tons of them out there and some of them are very inexpensive and power efficient. Run OpenWrt as bare-metal (i.e. no other host OS/VM setups) on this device.
The choice of x86 vs ARM or other platforms (including all-in-one wifi routers) depends on your ISP speed tier and what other services you will be running... so you might be able to use something other than the x86 class devices we've been discussing.
This would be a longer discussion if you don't already know how to configure VLANs and additional subnets on OpenWrt. The purpose of this would be to prove if the VLANs are working or not through the chain of hardware > Windows Host OS > Virtualized Environment > OpenWrt
.
I'd rather focus on the fact that the current path is really not a particularly good option -- you should be running OpenWrt on a dedicated device, not a VM with a windows host OS.
i am unsure about this ... but
maybe (idk if it is possible) to uninstall/remove whatever your second NIC from windows and make a PCI passtrough to VB
this way you will remove WIN drivers and WIN+VB bridging
sorry, i don't have better explanation/idea
I think i have done this but i dont know exactly. I can only show you screenshots of C6 and x86 VM.
The only thing i missed is the new subnet, but, for this case, i dont think is totally necessary.
Is this config near to test this?
Actually, that won't work because the C6 is currently using VLAN 20 as it's upstream.
You'll need to use another VLAN to test this out.... creating an entirely new subnet + dhcp server, and a new VLAN.
For the test I am proposing, yes it most certainly is.
I cannot emphasize this strongly enough. You're wasting time and energy on what is objectively a poor choice for system topology.
Ok. I'll leave the topic aside then. I just want to know if i can do "a local NAS" with Samba only with OpenWRT installed on my x86.
Yes, that can be done.
There are many people who will argue (with good reason) that this should not be done... leave your router to serve the core routing needs (and other routing based services), and use a different physical device as your NAS.
And what do you think?
I respect that but i dont feel good leaving OpenWRT 256GB of space, furthermore, my needs of routing doesnt fill the capacities of my Mini-PC (or i think so). Also the NAS wont be working everytime, i will just save and see some videos and pictures. Thats why i wanted to create a VM to work as router
Maybe you'd be better off with something much less 'intense' -- maybe a Raspberry Pi 4 would be a good option. You could use any small capacity microSD card that you can find lying around -- 2GB would even be more than needed.
What is your ISP speed tier? Are you running anything else (services) on your router that we should know about? Why are you trying to migrate away from the C6?