I have a set-up like this:
Ubuntu (Host OS)
OpenWRT(Guest OS) | Damn Small Linux(Guest OS)
OpenWRT is connected to Ubuntu through two interfaces, eth0
via NAT (for internet) and eth1
via Host-only adapter.
Damn Small Linux has one network adapter, the Host-only adapter which OpenWRT uses.
I would like Damn Small Linux to be able to access the internet through OpenWRT through the Host-only adapter.
Here is a crude drawing I did to try an illustrate the situation:
Is what I am trying to do possible? Can anybody run through a high level description of what is needed to make this work? I.e OpenWRT acts as a dhcp server for the Host-Only Adapter interface etc..
The idea is this, I am trying to emulate OpenWRT being a physical router connected to the internet on one interface (eth0
) and providing internet on another (eth1
/ the host-only adapter)
I would appreciate any thoughts or comments on this!