From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5321CDA7.5030907@mail.com> Date: Thu, 13 Mar 2014 16:24:23 +0100 From: Adriano Verardo User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] two nics 8139 Topicbox-Message-UUID: c9bbd97e-ead8-11e9-9d60-3106f5b1d025 Hi, all. I have 2 nics rtl8139, both successfully probed as l0 and l1 but in /net I see only the interface ether0 to l0 and /net.alt is empty. Where can I find a doc about how to configure 2 tcp stacks and/or to use 2 nics through the same stack ? Thanks in advance adriano From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5321CDA7.5030907@mail.com> References: <5321CDA7.5030907@mail.com> Date: Thu, 13 Mar 2014 08:44:31 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a11c2ec9a506e9e04f47ed405 Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9c1b704-ead8-11e9-9d60-3106f5b1d025 --001a11c2ec9a506e9e04f47ed405 Content-Type: text/plain; charset=ISO-8859-1 the usual suspects (bind, ipconfig, cs, dns) # second ethernet card bind -b '#l1' /net.alt bind -b '#I1' /net.alt ip/ipconfig -x /net.alt ether /net.alt/ether1 ndb/cs -x /net.alt -f /lib/ndb/external ndb/dns -sx /net.alt -f /lib/ndb/external On Thu, Mar 13, 2014 at 8:24 AM, Adriano Verardo wrote: > Hi, all. > I have 2 nics rtl8139, both successfully probed as l0 and l1 but > in /net I see only the interface ether0 to l0 and /net.alt is empty. > > Where can I find a doc about how to configure 2 tcp stacks and/or > to use 2 nics through the same stack ? > > Thanks in advance > > adriano > > > --001a11c2ec9a506e9e04f47ed405 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
the usual suspects (bind, ipconfig, cs, dns)

# second ethernet card
bind -b '#l1' /ne= t.alt
bind -b '#I1' /net.alt
ip/ipconfig -x /ne= t.alt ether /net.alt/ether1
ndb/cs -x /net.alt -f /lib/ndb/external
ndb/dns -sx /net.alt= -f /lib/ndb/external

=

On Thu, Mar 13, 2014 at 8:24 AM, Adriano= Verardo <adriano.verardo@mail.com> wrote:
Hi, all.
I have 2 nics rtl8139, both successfully probed as l0 and l1 but
in /net I see only the interface ether0 to l0 and /net.alt is empty.

Where can I find a doc about how to configure 2 tcp stacks and/or
to use 2 nics through the same stack ?

Thanks in advance

adriano



--001a11c2ec9a506e9e04f47ed405-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <5321CDA7.5030907@mail.com> Date: Thu, 13 Mar 2014 15:52:00 +0000 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7bd6bb0e09901104f47eefaf Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9c8a3e8-ead8-11e9-9d60-3106f5b1d025 --047d7bd6bb0e09901104f47eefaf Content-Type: text/plain; charset=UTF-8 On 13 March 2014 15:44, Skip Tavakkolian wrote: > # second ethernet card > bind -b '#l1' /net.alt > You can also add it as another ether on the same IP stack: bind -b '#l1' /net and then use ipconfig to configure it there. --047d7bd6bb0e09901104f47eefaf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 13 March 2014 15:44, Skip Tavakkolian <skip.tavakkolian@gmail.= com> wrote:
# second ethernet card
bind -= b '#l1' /net.alt

You can also add it as= another ether on the same IP stack: bind -b '#l1' /net
and then use ipconfig to configure it there.
--047d7bd6bb0e09901104f47eefaf-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5321D536.4020905@mail.com> Date: Thu, 13 Mar 2014 16:56:38 +0100 From: Adriano Verardo User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <5321CDA7.5030907@mail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9ce49ba-ead8-11e9-9d60-3106f5b1d025 Skip Tavakkolian ha scritto: > the usual suspects (bind, ipconfig, cs, dns) > > # second ethernet card > bind -b '#l1' /net.alt > bind -b '#I1' /net.alt > ip/ipconfig -x /net.alt ether /net.alt/ether1 > ndb/cs -x /net.alt -f /lib/ndb/external > ndb/dns -sx /net.alt -f /lib/ndb/external > I will re-read all that docs. Thanks a lot for the hints, Skip adriano > > > On Thu, Mar 13, 2014 at 8:24 AM, Adriano Verardo > > wrote: > > Hi, all. > I have 2 nics rtl8139, both successfully probed as l0 and l1 but > in /net I see only the interface ether0 to l0 and /net.alt is empty. > > Where can I find a doc about how to configure 2 tcp stacks and/or > to use 2 nics through the same stack ? > > Thanks in advance > > adriano > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5321D837.2020806@mail.com> Date: Thu, 13 Mar 2014 17:09:27 +0100 From: Adriano Verardo User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <5321CDA7.5030907@mail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9d3965e-ead8-11e9-9d60-3106f5b1d025 Charles Forsyth ha scritto: > > On 13 March 2014 15:44, Skip Tavakkolian > wrote: > > # second ethernet card > bind -b '#l1' /net.alt > > > You can also add it as another ether on the same IP stack: bind -b > '#l1' /net > and then use ipconfig to configure it there. ok, thanks. If the goal is to manage two separate networks, one local and the other for remote/restricted access only, its better to have 2 stacks or 2 nics under the same stack ? adriano From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 13 Mar 2014 12:11:29 -0400 To: 9fans@9fans.net Message-ID: <4221cdfdc2e3b6bcea8cae72323bbaa8@ladd.quanstro.net> In-Reply-To: <5321D837.2020806@mail.com> References: <5321CDA7.5030907@mail.com> <5321D837.2020806@mail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9d9117e-ead8-11e9-9d60-3106f5b1d025 > ok, thanks. If the goal is to manage two separate networks, one local > and the other for remote/restricted access only, its better to have 2 > stacks or 2 nics under the same stack ? i don't know about "better", but it's certainly easier to think about two seperate stacks. one can be certain (absent bridging) that the stacks don't interact, and the services won't leak between them. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5321DACC.7020507@mail.com> Date: Thu, 13 Mar 2014 17:20:28 +0100 From: Adriano Verardo User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <5321CDA7.5030907@mail.com> <5321D837.2020806@mail.com> <4221cdfdc2e3b6bcea8cae72323bbaa8@ladd.quanstro.net> In-Reply-To: <4221cdfdc2e3b6bcea8cae72323bbaa8@ladd.quanstro.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9de7aec-ead8-11e9-9d60-3106f5b1d025 erik quanstrom ha scritto: >> ok, thanks. If the goal is to manage two separate networks, one local >> and the other for remote/restricted access only, its better to have 2 >> stacks or 2 nics under the same stack ? > i don't know about "better", but it's certainly easier to think about > two seperate stacks. one can be certain (absent bridging) that the > stacks don't interact, and the services won't leak between them. > > - erik > > ok, thank you very much Erik adriano From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5321D837.2020806@mail.com> References: <5321CDA7.5030907@mail.com> <5321D837.2020806@mail.com> Date: Thu, 13 Mar 2014 16:26:08 +0000 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7bacb6a0245b0c04f47f6978 Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9e45430-ead8-11e9-9d60-3106f5b1d025 --047d7bacb6a0245b0c04f47f6978 Content-Type: text/plain; charset=UTF-8 On 13 March 2014 16:09, Adriano Verardo wrote: > If the goal is to manage two separate networks, one local and the other > for remote/restricted > access only, its better to have 2 stacks or 2 nics under the same stack ? > i've always used two stacks to keep them separate. --047d7bacb6a0245b0c04f47f6978 Content-Type: text/html; charset=UTF-8

On 13 March 2014 16:09, Adriano Verardo <adriano.verardo@mail.com> wrote:
If the goal is to manage two separate networks, one local and the other for remote/restricted
access only, its better to have 2 stacks or 2 nics under the same stack ?

i've always used two stacks to keep them separate.
--047d7bacb6a0245b0c04f47f6978-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5321DD0E.7010109@mail.com> Date: Thu, 13 Mar 2014 17:30:06 +0100 From: Adriano Verardo User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <5321CDA7.5030907@mail.com> <5321D837.2020806@mail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9f2e8ba-ead8-11e9-9d60-3106f5b1d025 Charles Forsyth ha scritto: > > On 13 March 2014 16:09, Adriano Verardo > wrote: > > If the goal is to manage two separate networks, one local and the > other for remote/restricted > access only, its better to have 2 stacks or 2 nics under the same > stack ? > > > i've always used two stacks to keep them separate. Ok, I'll do the same. Thank you again, Charles adriano From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Thu, 13 Mar 2014 08:44:31 PDT." References: <5321CDA7.5030907@mail.com> Date: Thu, 13 Mar 2014 11:52:32 -0700 From: Bakul Shah Message-Id: <20140313185232.48ABEB827@mail.bitblocks.com> Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9f8ae94-ead8-11e9-9d60-3106f5b1d025 > bind -b '#l1' /net.alt > bind -b '#I1' /net.alt > ip/ipconfig -x /net.alt ether /net.alt/ether1 > ndb/cs -x /net.alt -f /lib/ndb/external > ndb/dns -sx /net.alt -f /lib/ndb/external So what do you do when you have N ethernet ports and you want to forward packets between these ports either @ layer2 (bridge) or @ layer3 (route)? From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 13 Mar 2014 14:58:06 -0400 To: 9fans@9fans.net Message-ID: <2bca18cbdc6eee8962ef623908c1e577@ladd.quanstro.net> In-Reply-To: <20140313185232.48ABEB827@mail.bitblocks.com> References: <5321CDA7.5030907@mail.com> <20140313185232.48ABEB827@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: c9fe205e-ead8-11e9-9d60-3106f5b1d025 On Thu Mar 13 14:53:52 EDT 2014, bakul@bitblocks.com wrote: > > bind -b '#l1' /net.alt > > bind -b '#I1' /net.alt > > ip/ipconfig -x /net.alt ether /net.alt/ether1 > > ndb/cs -x /net.alt -f /lib/ndb/external > > ndb/dns -sx /net.alt -f /lib/ndb/external > > So what do you do when you have N ethernet ports and you want > to forward packets between these ports either @ layer2 > (bridge) or @ layer3 (route)? if you want to do layer 3, just put them in the same ip stack. if you want to do layer 2, use bridge(3). - erik From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20140313185232.48ABEB827@mail.bitblocks.com> References: <5321CDA7.5030907@mail.com> <20140313185232.48ABEB827@mail.bitblocks.com> Date: Thu, 13 Mar 2014 18:58:55 +0000 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=f46d041825e08a74bb04f4818bc5 Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: ca03ffe2-ead8-11e9-9d60-3106f5b1d025 --f46d041825e08a74bb04f4818bc5 Content-Type: text/plain; charset=UTF-8 On 13 March 2014 18:52, Bakul Shah wrote: > So what do you do when you have N ethernet ports and you want > to forward packets between these ports either @ layer2 > (bridge) or @ layer3 (route)? > You don't separate them but put them in the same name space and use bridge(3) or routing as appropriate. --f46d041825e08a74bb04f4818bc5 Content-Type: text/html; charset=UTF-8

On 13 March 2014 18:52, Bakul Shah <bakul@bitblocks.com> wrote:
So what do you do when you have N ethernet ports and you want
to forward packets between these ports either @ layer2
(bridge) or @ layer3 (route)?

You don't separate them but put them in the same name space and use bridge(3) or routing as appropriate.
--f46d041825e08a74bb04f4818bc5-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20140313185232.48ABEB827@mail.bitblocks.com> References: <5321CDA7.5030907@mail.com> <20140313185232.48ABEB827@mail.bitblocks.com> Date: Thu, 13 Mar 2014 14:13:52 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a11c2aa6a28fa1b04f4836ec7 Subject: Re: [9fans] two nics 8139 Topicbox-Message-UUID: ca098be2-ead8-11e9-9d60-3106f5b1d025 --001a11c2aa6a28fa1b04f4836ec7 Content-Type: text/plain; charset=ISO-8859-1 there is also nat http://www.9legacy.org/9legacy/doc/nat/readme On Thu, Mar 13, 2014 at 11:52 AM, Bakul Shah wrote: > > bind -b '#l1' /net.alt > > bind -b '#I1' /net.alt > > ip/ipconfig -x /net.alt ether /net.alt/ether1 > > ndb/cs -x /net.alt -f /lib/ndb/external > > ndb/dns -sx /net.alt -f /lib/ndb/external > > So what do you do when you have N ethernet ports and you want > to forward packets between these ports either @ layer2 > (bridge) or @ layer3 (route)? > > --001a11c2aa6a28fa1b04f4836ec7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On Thu, Mar 13, 2014 at 11:52 AM, Bakul = Shah <bakul@bitblocks.com> wrote:
> bind -b '#l1' /net.alt
> bind -b '#I1' /net.alt
> ip/ipconfig -x /net.alt ether /net.alt/ether1
> ndb/cs -x /net.alt -f /lib/ndb/external
> ndb/dns -sx /net.alt -f /lib/ndb/external

So what do you do when you have N ethernet ports and you want
to forward packets between these ports either @ layer2
(bridge) or @ layer3 (route)?


--001a11c2aa6a28fa1b04f4836ec7--