User Tools

Site Tools


network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
network [2019/09/03 03:39]
Guifre
network [2019/09/09 06:24] (current)
Guifre
Line 1: Line 1:
-== Network connection ==+====== Network connection ​====== 
 +=== IPs ===
  
 | Orig | IP | Dest | Usage | | Orig | IP | Dest | Usage |
Line 9: Line 10:
 | FlexBuff | 192.168.1.11 | DBBC 3 | IF E |  | FlexBuff | 192.168.1.11 | DBBC 3 | IF E | 
 | FlexBuff | 192.168.1.12 | DBBC 3 | IF F | | FlexBuff | 192.168.1.12 | DBBC 3 | IF F |
-| FlexBuff | 192.168.1.13 | [Reserved] ​Network ​+| FlexBuff | 192.168.1.13 | DBBC 2 S-band ​
-| FlexBuff | 192.168.1.14 | DBBC 2 S-band ​+| FlexBuff | 192.168.1.14 | [Reserved] ​Network ​
-| dBBC3 .  ​| 192.168.1.15 | FlexBuff | IF A | +| dBBC3    | 192.168.1.15 | FlexBuff:​46227 ​| IF A | 
-| dBBC3 .  ​| 192.168.1.16 | FlexBuff | IF B | +| dBBC3    | 192.168.1.16 | FlexBuff:​46228 ​| IF B | 
-| dBBC3 .  ​| 192.168.1.17 | FlexBuff | IF C | +| dBBC3    | 192.168.1.17 | FlexBuff:​46229 ​| IF C | 
-| dBBC3 .  ​| 192.168.1.18 | FlexBuff | IF D | +| dBBC3    | 192.168.1.18 | FlexBuff:​46230 ​| IF D | 
-| dBBC3 .  ​| 192.168.1.19 | FlexBuff | IF E | +| dBBC3    | 192.168.1.19 | FlexBuff:​46231 ​| IF E | 
-| dBBC3 .  ​| 192.168.1.20 | FlexBuff | IF F | +| dBBC3    | 192.168.1.20 | FlexBuff:​46232 ​| IF F | 
-| dBBC2 .  ​| 192.168.1.21 | FlexBuff | S-band |+| dBBC2    | 192.168.1.21 | FlexBuff | S-band ​
 +| dBBC2    | 192.168.1.22 | ? | ? |
  
 === FlexBuff === === FlexBuff ===
Line 29: Line 31:
  
  
-=== dBBC3  ===+=== dBBC3  ===
  
-> # Initialise ​the VDIF header +Networks settings in the dbbc3 can be defined in the fila10g config file:
-> dbbcComms(sd,'​core3h={},​destination 0 192.168.1.{}:46227'​.format(core3h,​ip_dest[core3h-1])) +
-> dbbcComms(sd,'​core3h={},​vsi_bitmask {}'​.format(core3h,​bitmask[nChan])) +
-> dbbcComms(sd,'​core3h={},​vdif_station {}'​.format(core3h,​station)) +
-> dbbcComms(sd,'​core3h={},​vdif_frame 2 {} 8000 ct=off'​.format(core3h,​nChan)) +
-> dbbcComms(sd,'​core3h={},​regupdate vdif_header 3 {} 0x03FF0000'​.format(core3h,​(core3h-1)*np.power(2,​16)))+
  
-> #Start VDIF stream  ​ +> ddc_V_core3H_1.fila10g 
-> dbbcComms(sd,'​core3h={},​start vdif'​.format(board+1)) + 
-=== dBBC2  ===+or in the python configuration script: 
 + 
 +> # default values (core3h=1,​ip_dest=7,​net_port=46227) 
 +> dbbcComms(sd,'​core3h={},​destination 0 192.168.1.{}:​{}'​.format(core3h,​ip_dest,​net_port)) 
 + 
 +=== dBBC2  === 
 + 
 +In the fila10G configuration file (for example: configure_fila10g.aum.sh) 
 + 
 +> echo "​tengbcfg eth0 mac=ba:​dc:​af:​e4:​be:​e0"​ | nc -w 1 dbbcho 6789 
 +> echo "​tengbcfg eth0 ip=192.168.1.21 port=46227 nm=27 gateway=192.168.1.1"​ | nc -w 1 dbbcho 6789 
 +> echo "​tengbarp eth0 13 90:​E2:​BA:​C6:​9E:​58" ​ | nc -w 1 dbbcho 6789 
 +> echo "​destination 0 192.168.1.13:​46236"​ | nc -w 1 dbbcho 6789
  
  --- //​[[Guifre]] 2019/09/03 01:41//  --- //​[[Guifre]] 2019/09/03 01:41//
/home/www/auscope/opswiki/data/attic/network.1567481946.txt.gz · Last modified: 2019/09/03 03:39 by Guifre