BGV network as installed in the service tunnel in P4.

The DAQ switch is configured as gateway and requires a special configuration detailed in BgvSwitch.

BGV_network_single.png


The bgvctrl node also act as the storage machine and needs to be accessible via the data network. For this it's best to add a second IP address to one of the network interfaces.

create the file (on bgvctrl): /etc/sysconfig/network-scripts/ifcfg-eth0:1

with the content:

DEVICE="eth1:1"
BOOTPROTO="static"
IPV6INIT="no"
MTU="1500"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
IPADDR=192.168.0.29
NETMASK=255.255.255.224
HWADDR="38:EA:A7:36:75:11"


The HLT nodes need to know how to route packets from the front ends (tell1s, ODIN) because they don't sent arp info. The correct routing table on the HLT nodes is the following one:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.32    192.168.0.30    255.255.255.224 UG    0      0        0 eth1
192.168.0.0     0.0.0.0         255.255.255.224 U     0      0        0 eth1
10.10.10.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0 eth1
0.0.0.0         10.10.10.254    0.0.0.0         UG    0      0        0 eth0
To use the switch gateway to reach the DAQ network.

To setup manually or permanently:

# direct command on hlts:
sudo route add -net 192.168.0.32 netmask 255.255.255.224 gw 192.168.0.30
# or
ip route add 192.168.0.32/27 via 192.168.0.30

# add permanently:
# create file /etc/sysconfig/network-scripts/route-eth1
# with:
192.168.0.32/27 via 192.168.0.30

# if needed:

sudo route delete default gw 10.128.32.1

The IP addresses assignment are managed by dhcp on the bgvctrl machine. The configuration file is /etc/dhcp/dhcpd.conf

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng BGV_network_single.png r1 manage 122.7 K 2017-09-22 - 17:41 ColinBarschel BGV network map
Unknown file formatpptx BGV_network_single.pptx r1 manage 48.6 K 2017-09-22 - 17:40 ColinBarschel BGV network map
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2017-09-28 - ColinBarschel
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    BGV All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback