LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Setup dual nics on OpenIndiana (https://www.linuxquestions.org/questions/solaris-opensolaris-20/setup-dual-nics-on-openindiana-905103/)

Vyacheslav 09-26-2011 01:47 PM

Setup dual nics on OpenIndiana
 
Code:

                +------------+            +------------+
                |            |            |            |
      ---- atge0/dhcp      vr0 ----- rge0            |
                |            |            |            |
                +------------+            +------------+
                    pc1                        pc2

Does anyone know how to setup dual nics on OpenIndiana?
What I would like to do is have Internet on pc2.

Regards,

jlliagre 09-26-2011 03:34 PM

For dual nics, the simplest way would be to disable physical:nwam and enable physical:default, then configure both of your interfaces, one with dhcp and the other one with a fixed address. Use ipadm for that. Fixed address too on the pc2 side. Finally, add either a web proxy if only web access is required or configure ip forwarding and nat for full access.

enno_onne 12-02-2011 03:01 AM

Quote:

Originally Posted by jiliagre
Finally, add either a web proxy if only web access is required or configure ip forwarding and nat for full access.

How about if I want to setup an openindiana box that provides squid transparent proxy, full access (other than HTTP) and NAS?

Cheers :cool:


All times are GMT -5. The time now is 06:35 PM.