ts-7000
[Top] [All Lists]

RE: [ts-7000] RE: ts-7800 how do I make 4 (at least 2) identical network

To:
Subject: RE: [ts-7000] RE: ts-7800 how do I make 4 (at least 2) identical network stacks?
From: Paul Yanzick <>
Date: Sun, 3 Nov 2013 13:37:30 -0600


If I understand correctly… you want a single unit to be on 4 networks, using the same IP on all 4 networks?  That could be problematic.  If they are separate networks, and it tries to send out a packet in reply, it is going to use its internal routing table.  If they are all the same IP scheme, it won’t know which adapter to send out of.  So, it may not send packets down the right network.

 

I may be misunderstanding the issue (jumping into this a bit late)… but thought I’d provide a little note on that, if that is indeed the direction.

 

From: [ On Behalf Of Jason Stahls
Sent: Sunday, November 3, 2013 12:39 PM
To:
Subject: Re: [ts-7000] RE: ts-7800 how do I make 4 (at least 2) identical network stacks?

 

 

On 11/3/2013 1:29 PM, Jonathan Leslie wrote:

"He has two legacy boxes with the same fixed IPs that can't be changed."  

Exactly.   I actually have four legacy boxes with the address 1.1.1.101. I want a C program or programs for the ts-7800 that can individually talk to each of the legacy devices through the 4 ports of the ts-7800.  

 

So I want to know if on the ts-7800 can I set up 4 IP stacks/SOCK/iptables/whatever  so that I can have a 4 different networks, lets call them A, B, C, and D, all on the same ts-7800. 

 

so I should be able to have a c program of the sort:

 

talk_to_legacy_device -n[A|B|C|D] -i[1.1.1.101] -m"message" 

 

 

where 

 

on all 4 networks, I have established that my node is 1.1.1.200.   

 

when I use talk_to_legacy_device, the -n parameter lets the c program know which of the 4 networks I want to send the message out on, and then also has a listener on that same network for the response from 1.1.1.101.   

 

eventually I will have 4 background processes all listening on the four different networks, for a communication from their respective 1.1.1.101 legacy system, and signal a command program to format a response and have only that one background process send the reply.   

 

So can this arrangement be set up on the ts-7800 or not???


Yes it can, I've done something similar with a multi-home'd router, four interfaces, two wan to lan and keep them separate from each other.  Do I remember how?  No :)  I remember lots of iproute2 and iptables reading tho.  Big thing is you'll need either four NIC's on the TS7800, or a VAN capable switch (for size and price a Linux based consumer router like a WRT54 would work) to separate the networks.  You then block the networks for seeing each other (iptables/iproute2) and bind your C app to a specific interface.  -n would be easiest to take a Ethernet interface (eth0, eth0.1, eth1, whatever) instead of a label. 

What do these legacy devices do?  Might it be easier to re-implement them into a single TS7800 ?

--
Jason Stahls



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU