Won't work. the virtualzation software won't be able to map the routing
properly. This only adds complexity
--------------------------------------------
On Mon, 11/4/13, John Treen <> wrote:
Subject: Re: [ts-7000] RE: ts-7800 how do I make 4 (at least 2) identical
network stacks?
To:
Date: Monday, November 4, 2013, 7:30 PM
Hi Jonathan,
Have you though about using a virtualisation layer (such
as User
Mode Linux) on your board to run multiple instances of
Linux on your
board. It is more complicated than the other
suggestions, but it
might do what you need.
It has been quite a while since I have used the TS
boards so
hopefully the below idea would work with the hardware
resources you
have available.
If your board presents each of the Ethernet jacks as a
separate ethX
interface to the kernel then for each interface you
could create a
TAP/TUN interface and bridge that with the Ethernet
interface. At
the host level you wouldn't assign any IP addresses
to those
interfaces. You would then create a Guest instance that
connects to
the TAP/TUN interface. Inside the guest you would then
set the IP
addresses as appropriate.
Basically the host level would be acting as a switch to
get the
packets to and from your guest instances. You could then
either run
your control software on the guest or if you need to
present the
devices back to another network then you could create an
additional
TAP/TUN interface for each of your guests with each
guest having a
unique IP on the same subnet as the other guests). Then
at the host
level you would bridge those TAP/TUN interfaces together
and also
give the host a unique IP on the same subnet as the
guests. If you
had a spare Ethernet interface you could also bridge
that in with
the TAP/TUN interfaces so that the Guest systems could
be accessed
from outside of your TS board.
Guest eth0 = IP address used to communicate with
devices.
Guest eth1 = IP address used to communicate with other
guests or
host
Host br4 = IP address used to communicate with guests.
I have uploaded a quick diagram to
http://www.ttech.com.au/files/diagram1.pdf
to hopefully explain what
I was talking about above.
Regards,
John Treen
Treen Technology
On 05/11/13
08:36, Jonathan Leslie
wrote:
��
"BTW, Jonathan, your
humongous font is REALLY
LOUD!"
whoops, I had no idea. -
J
From:
""
<>
To:
Sent:
Monday, November 4, 2013 5:50 PM
Subject:
RE: Re: [ts-7000] RE: ts-7800 how
do I make 4
(at least 2) identical network
stacks?
��
ynezz
said:��
"Another
option (requiring more
hardware
for sure, but more
feasible) would
be to insert something
else
between the legacy
devices and the
8700 which performs
some NATting."
So,
it seems to make even
more sense
to do this right on
the TS-8700,
rather than adding
hardware. All
of the machinery is
there, just
needs to be
implemented in
software/configuration.
This
is getting into
slightly complex
stuff, so some study
of iptables
and the types of NAT
techniques
available will be
required. The
key element that I see
is that
iptables rules allow
you to
specify a network
interface in
most/many/some
rules.��
BTW, Jonathan, your
humongous font
is REALLY LOUD!
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/
|