LAG Groups

Some collection of LAG configurations and status commands seen over time. LinuxManually ConfigurationStatusFreeBSDConfig ExampleStatusPermanentCheckpoint ConfigStatus - Clish Status - Expert ModeFortigateConfigStatusCisco - CatalystsConfig StatusLinks Linux Manually Configuration modprobe bonding mode=802.3ad ifconfig bond1 192.168.1.1 netmask 255.255.255.0 up ifenslave bond1 eth0 ifenslave bond1 eth1 The Permanent way depends on the distribution. Status cat /proc/net/bonding/bond1 Ethernet Channel Bonding …

resize raw image

freebsd# truncate -s +500G disk0.img https://man.freebsd.org/cgi/man.cgi?query=truncate&sektion=1&manpath=freebsd-release-ports [Expert@cpmg:0]# partedGNU Parted 3.1Using /dev/sdaWelcome to GNU Parted! Type 'help' to view a list of commands.(parted) printError: The backup GPT table is not at the end of the disk, as it should be.This might mean that another operating system believes the disk is smaller.Fix, by moving the backup to …

Routing Tables

FreeBSD freebsd:~ $ netstat -rWRouting tablesInternet:Destination Gateway Flags Nhop# Mtu Netif Expiredefault 11.155.93.1 UGS 6 1500 em011.155.93.0/24 link#1 U 3 1500 em011.155.93.77 link#2 UHS 5 16384 lo0localhost link#2 UH 1 16384 lo0Internet6:Destination Gateway Flags Nhop# Mtu Netif Expire::/96 link#2 URS 6 16384 lo0default fe80::1%em0 UGS 7 1500 em0localhost link#2 UHS 1 16384 lo0::ffff:0.0.0.0/96 link#2 URS …

SSH Configuration

Some Notes about OpenSSH configuration that comes in handy for me. This is have settings applied on Host or Domain base, use jump servers where needed, find the console for a device or use deprecated encryption when needed. Basic Options Host Hostname Port User Apply Settings per domain Host *. Protocol 2 TCPKeepAlive yes ServerAliveInterval …

Serial Console unter Debian

LinksEdit: /boot/grub/menu.lstDamit hätten wir dann eine Serielle Console auf der WAVE:-) So dann nur noch ein Backup und dann go baby go. Links http://www.howtoforge.com/setting_up_a_serial_console Edit: /boot/grub/menu.lst --- snip --- # password topsecret serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console --- snip --- --- snip --- title Ubuntu 8.10, kernel 2.6.27-7-server uuid b25570ad-6302-4637-a897-d7a4cebf4a7f …