Mark
________________________________________
From: [email protected] [[email protected]] on behalf of Mark Rivers [[email protected]]
Sent: Thursday, January 29, 2015 6:50 AM
To: Florian Feldbauer; EPICS Tech Talk
Subject: RE: Problems with CA
That should have worked.
Are you sure that you have set the subnet mask on your IOC machine correctly?
Mark
________________________________________
From: Florian Feldbauer [[email protected]]
Sent: Thursday, January 29, 2015 6:44 AM
To: Mark Rivers; EPICS Tech Talk
Subject: Re: Problems with CA
Hey,
thanks for the answers.
Unfortunately I did not work:
Here is what I tried:
~ > ifconfig p3p1
p3p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::213:3bff:fe0f:e7bf prefixlen 64 scopeid 0x20<link>
ether 00:13:3b:0f:e7:bf txqueuelen 1000 (Ethernet)
RX packets 39249 bytes 5375914 (5.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 192403 bytes 81244106 (77.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
~ > setenv EPICS_CA_AUTO_ADDR_LIST NO
~ > setenv EPICS_CA_ADDR_LIST 192.168.1.255
~ > caget -w 20 PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom
Channel connect timed out: 'PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom' not found.
~ > setenv EPICS_CA_ADDR_LIST 192.168.1.6
~ > caget PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom
PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom 0.0489747
p3p1 is the name of the network interface to which all our EPICS IOCs
are connected...
Florian
On 01/29/2015 12:58 PM, Mark Rivers wrote:
Is there a way to specify a subnet as address lsit for CA?
Yes.
setenv EPICS_CA_AUTO_ADDR_LIST NO
setenv EPICS_CA_ADDR_LIST 192.168.1.255
where 192.168.1.255 is the broadcast address of that subnet. That syntax would be correct if the subnet mask is 255.255.255.0.
Mark
________________________________________
From: [email protected] [[email protected]] on behalf of Florian Feldbauer [[email protected]]
Sent: Thursday, January 29, 2015 3:35 AM
To: EPICS Tech Talk
Subject: Problems with CA
Hey all,
I have observed some problems with channel access in our lab.
We have a PC with three network interfaces.
On is connected to the network of our institute (->WAN)
the other two are used for local sub nets with its own DNS/DHCP...
The used OS on this PC is Fedora 20.
On one of these local sub nets I have a running EPICS IOC.
When using caget on the PC I always get a timeout error.
Only when I specify the environment variables:
setenv EPICS_CA_AUTO_ADDR_LIST no
setenv EPICS_CA_ADDR_LIST 192.168.1.6
caget works.
The IP addresses for the local subnet are dynamically assigned,
and I don't want to look up each time, which addresses are used....
Also I don't want to put all 256 possible addresses in the
EPICS_CA_ADDR_LIST.
Is there a way to specify a subnet as address lsit for CA?
Or is it possible to bind all request (from Clients as well as from
Servers) on the machine
to one specific interface?
Best regards,
Florian
--
----------------------------------------
| Dr. Florian Feldbauer |
| |
| Helmholtz-Institut Mainz / |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36 |
| D-55128 Mainz |
| |
| Office: SB1 / 00-213 |
| Phone: (+49)6131 / 39-29605 |
----------------------------------------
--
----------------------------------------
| Dr. Florian Feldbauer |
| |
| Helmholtz-Institut Mainz / |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36 |
| D-55128 Mainz |
| |
| Office: SB1 / 00-213 |
| Phone: (+49)6131 / 39-29605 |
----------------------------------------