Hi,
I have followed the guide on vmware install but I cant seem to get the network adapters to work so I can have wan access.
I have tried nat, bridge, etc.
I am using the default config.
Is this still a valid option?
Hi,
I have followed the guide on vmware install but I cant seem to get the network adapters to work so I can have wan access.
I have tried nat, bridge, etc.
I am using the default config.
Is this still a valid option?
1st adapter is LAN with DHCP server which you need to connect to a isolated bridge together with virtual machines, defaults to 192.168.1.1/24, 2nd adapter is wan which needs to be bridged to workstation lan or NAT-ed but with different IP than own LAN. You can change OpenWRT LAN address to make networks unique. Both vmxnet3 and e1000 work in default build image. Wifi absent in a vm you can run any full-fledged linux instead to do the nat thing.
Thanks, I have it partially working, I can ping 8.8.8.8, but luci not working.
And all I can do is a terminal with root, but cant install anything.
any idea why?
Terminal - as in just the virtual console?
How did you configure network access to eth0 on the host?
By default, the OpenWrt's LAN is a DHCP server and will issue IPs in the 192.168.1.100 - 192.168.199/24 range.
You would access LuCI at https://192.168.1.1 on LAN.
Does the LAN subnet numbering conflict with your WAN network?
I setup both adapters using bridged networking.
And no the openwrt lan network doesn't conflict at all.
When I try to access the Wan ip, it doesn't load, says problem loading page.
Thats normal operation, no administration from WAN aka public internet.
You may wish to note as others pointed out - that you must access from LAN. By default you cannot access the web gui from WAN.
That wasn't as specific of a description as I was expecting.
How should it be setup, I am a rookie when it comes to openwrt and vmware, I do run openwrt on my netgear.
And how would I access the lan ip if its not same subnet?
example. I am on 10.x but if vmware and openwrt has 192.168.x do I make a vmnet with that ip?
Other virtual guests should be connected to the OpenWRT virtual machine on the LAN side. This is not the right place to ask for vmware network basics.
You confused me with this statement. It makes me think you haven't properly configured your virtual eth0 and the host's PHY. As I noted, LAN will be a DHCP served network with 192.168.1.1 as the router IP.
Edit:
You may have to statically address the host, but that would imply you configured the host interfaces incorrectly, or don't have enough PHYs for your use case (it could also mean the traffic isn't separated).
I think my biggest issue so far is networking, and I cant get luci to work because of that.
I started over and I currently can access openwrt but its not configured right becuase its using my lan network. 10.x
And its only version 19.
I was hoping to use openwrt as a vmware image for my firewall.
You can figure out MAC addresses from vmware GUI, in a very little likely case eth0 and eth1 are swapped - enter OpenWRT console, check ip link
that eth0 (lan) is first adapter in vmware and the isolated virtual bridge connects ubuntu desktop VM right there to admin OpenWRT.
If you provide information needed to assist, we may be able to offer some advice and guidance.
What can I provide?
I am on windows 10 using vmware workstation 17 I followed the vmware guide on openwrt.
are screenshots allowed?
I got it figured out, now I just need to figure out how to implement it with my network.
Thank you for your help.