BLISSdayout-2007-01-15-ipassign
Download
Report
Transcript BLISSdayout-2007-01-15-ipassign
IPassign
a tool for assignment IP address to ICEPAP
Presented by Roberto Homs
Member of BLISS group
1
IP assign tool
• IPassign is a basic tool to detect and configure remotely ICEPAP
MASTERs on the network, even if they have wrong IP configuration.
• i. e. IP address associated to other Beam Line, where ICEPAP came from.
• Automatically
detects ICEPAP
MASTERs on the
network
• Configures the
hostname validated
with DNS
• Writes in flash
memory the
configuration
• Remote reboot
2
IPassign tool / BLISS Day Out
R. Homs – 15/01/2007
advanced mode of configuration
• This mode allows specialists do what they want ...
• Information:
• MAC
• Configuration:
• hostname
• IP
• mask
• gateway
• BC
• Writes:
• flash
• RAM
• Remote reboot
3
IPassign tool / BLISS Day Out
R. Homs – 15/01/2007
advanced mode of configuration
• In case of error, the IP connectivity will not
exist, so IPassign must be used again to
reconfigure ICEPAP Master with good
values.
4
IPassign tool / BLISS Day Out
R. Homs – 15/01/2007
design review
• IPassign tool is supported on multicast protocol
• HW filtering with a reserved virtual MAC address for multicast packages, and IP filtering
for multicast class D address.
• class D address (224.0.0.0 – 239.255.255.255), reserved virtual MAC
(01:00:5e:xx:xx:xx)
• receiver can have wrong IP data (IP addr, gateway, mask ...)
• UDP
• A listener program must be running in ICEPAP MASTER, which is
launched at boot time.
• Bidirectional and errorless communication was implemented by in-house
developed protocol with:
• destination / source ID
• package numbering
• function code
• CRC
6
IPassign tool / BLISS Day Out
R. Homs – 15/01/2007
multicast: subnet
TTL = 1
Icepap
master
STATUS
ENABLE
DISABLE
SYNCHRO
listener
IN
OUT
Ethernet
RS232
USB
Comm
Icepap
master
STATUS
listener
ENABLE
Icepap
master
STATUS
ENABLE
DISABLE
SYNCHRO
IN
IN
listener
USB
Comm
USB
OUT
TTL = 1 is used in IPassign
(not configurable) to prevent
any interaction with other
ESRF beam lines.
RS232
RS232
Comm
OUT
Ethernet
Ethernet
IPassign
SYNCHRO
DISABLE
(or ALBA BLs ...)
7
IPassign tool / BLISS Day Out
R. Homs – 15/01/2007
conclusions
IPassign tool and listener program for ICEPAP module were
developed and tested.
Connectivity was restricted to a Beam Line (TTL=1).
Structure and protocol created can be extended to use in
other tasks where simultaneous communication with a group
of receivers is needed, i. e. upgrading package files.
8
IPassign tool / BLISS Day Out
R. Homs – 15/01/2007
thanks for your attention!
9