I have two nic's on my box, rtls0 (connected to a hardware router) and nge0 
(connected to a switch which will share from my solaris box).

Here is how I think it needs to be done. Please can someone correct me, and 
answer the questions below.

dladm create-etherstub switch0
dladm create-vnic -d switch0 1
dladm create-vnic -d switch0 2
make nic nge0 go over switch0 (etherstub), don't know how to do this.

create a zone, called router, can have vnic1, and rtls0 (internet connection). 
It will becomd 192.168.0.1 on vnic1, and will run a dhcp server. It will route 
connections through rtls0 (to 192.168.5.1 (my hardware router)), the router 
zone will be 192.168.5.2.

The main solaris (global zone) will use vnic2 to connect to the internet (as 
192.168.0.2, etc). I have no idea how to set that up?

I can plug a physical switch into my nic (nge0). Then plug another computer or 
server into this switch, and the router zone will assign it a IP (via dhcp) and 
route them internet.

I could also create more virtual nic's, and attach them to etherstub (switch0). 
For other zones to connect to the internet?

Will this work? How can I route the connection through rtls0?

And how would I forward a port to a machine on the router's network? like ssh 
to 192.168.0.4.

Thanks for your help.
-- 
This message posted from opensolaris.org

Reply via email to