CERN

Hello, trunk!

So far the setup of the new gateways has gone pretty smoothly. There’s always a lot of fine-tuning that can be done, but the first “major” thing that I configured, was the initial network-configuration. As mentioned, we’ve bought two Quad Intel NICs, one for each gateway. We’ll use 2x 1Gbps-links to both the infra-switch and GPN-switch — effectively giving us 2Gbps throughput (which can be increased to 4Gbps by using CARP load-balancing).

To summarize the setup;

root@alihlt-carp0:~$ ifconfig em0 up
root@alihlt-carp0:~$ ifconfig em1 up
root@alihlt-carp0:~$ ifconfig em2 up
root@alihlt-carp0:~$ ifconfig em3 up
root@alihlt-carp0:~$ ifconfig trunk0 trunkport em0
root@alihlt-carp0:~$ ifconfig trunk0 trunkport em2
root@alihlt-carp0:~$ ifconfig trunk0 trunkproto lacp 137.138.11.20 netmask 255.255.0.0

That’s it. No more configuration is needed (assuming everything is configured properly on the switch, of course). To make the configuration persistent through reboots, just do the following;

root@alihlt-carp0:~$ echo "up" > /etc/hostname.em0
root@alihlt-carp0:~$ echo "up" > /etc/hostname.em2
root@alihlt-carp0:~$ echo "trunkproto lacp trunkport em0 trunkport em2 137.138.11.20 netmask 255.255.0.0" > /etc/hostname.trunk0

\o/