EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: routing
From: Pavel Maslov <[email protected]>
To: Ralph Lange <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 10 Jan 2013 18:02:36 +0400
While building CA Gateway 2 (Windows XP x86, MVS 2008) I have encountered the following error:

make[1]: Entering directory `c:/epics/extensions/gateway2_0_4_0/O.win32-x86'
cl /nologo /EHsc /GR -c               /nologo /D__STDC__=0 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE   /Ox /GL   /W3 /w44355     /D_WIN32_WINNT=0x0503 -DSTAT_PVS -DRATE_STATS -DCONTROL_PVS -DCAS_DIAGNOSTICS -DHANDLE_EXCEPTIONS -DUSE_DENYFROM /DWIN32 /D_WINDOWS   /MD  /TP   -I. -I..\\O.Common -I. -I.. -I.\\..\\include\\os\\WIN32 -I.\\..\\include -Ic:\\epics\\base\\include\\os\\WIN32 -Ic:\\epics\\base\\include     -Ic:\\epics\\base\\src\\cas\\generic   ..\\gateway.cc
gateway.cc
..\gateway.cc(364) : error C3861: 'strcasecmp': identifier not found
make[1]: *** [gateway.obj] Error 2


On Thu, Jan 10, 2013 at 5:44 PM, Pavel Maslov <[email protected]> wrote:
Good! I will try CA Gateway. Thanks.
I can see that the latest release dates back to 2009. Does anybody know why is that so?


On Thu, Jan 10, 2013 at 3:39 PM, Ralph Lange <[email protected]> wrote:
On 10.01.2013 08:35, Pavel Maslov wrote:
Hi,

I have an EPICS IOC (Linux) on the experimental field. Also, I have got a client PC (Windows) in the control room. Everything works fine.

I want to add some more clients. However, they will be on a different IP range (172.20.X.X). So in the Windows PC I have installed two NICs - one to connect to the IOC (IP range 192.168.0.X), and the other one for the clients (IP range 172.20.X.X).

How would you recommend to set up the network configuration on the Windows machine?

I remember, I once used a router, so I set up port-forwarding so the client PC would connect from the outside of the IOC subnet to the router on a specific port (EPICS_CA_ADDR_LIST=router:3333), which would then send packets directly to the IOC (192.168.0.2:5064). And it worked.

Now, I have two NICs which is similar to this.
Any thoughts?

Your questions translates as:
How do I set up a windows pc with two NICs as a router?
You might find some answers googling around, but I would not try to do this.

Instead, use a router. (That's the appropriate, good solution.)
Or, run a CA Gateway [1] on the windows machine, that forwards CA data to the outside clients. (That should work, too.)

Cheers,
~Ralph

[1] http://www.aps.anl.gov/epics/extensions/gateway/index.php



--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01



--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01

Replies:
Re: routing Andrew Johnson
References:
routing Pavel Maslov
Re: routing Ralph Lange
Re: routing Pavel Maslov

Navigate by Date:
Prev: Re: routing Pavel Maslov
Next: dbScan.c: periodicTask( ), initOnce( ), ... Jack Smith
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: routing Pavel Maslov
Next: Re: routing Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024