Linux VLAN interfaces

# Create tagged interface and bring it up, then add it to a bridge ip link add link eth0 name eth0.10 type vlan id 10 ip link set dev eth0.10 up brctl addbr br10 brctl addif br10 eth0.10

Read More »

Bonding in active-backup using linux bridges on Ubuntu 18

Because this was WAAYY more difficult to find any decent doco on that I had ever expected, here is what worked for me I deleted the netplan config file at /etc/netplan/01-netcfg.yaml rm /etc/netplan/01-netcfg.yaml Ensure that ‘bonding’ appears in /etc/modules (I’s not here by default) echo bonding >> /etc/modules   Here is /etc/network/interfaces source-directory /etc/network/interfaces.d auto […]

Read More »

Linux static routes & fixing “Error: either “to” is duplicate, or gw is a garbage.”

I was having troubles adding a route using ip route, I was getting “Error: either “to” is duplicate, or “172.16.1.254” is a garbage.” [root@adlwest-nms1 ~]# ip route add 172.16.103.0/24 172.16.1.254 dev eth1 Error: either “to” is duplicate, or “172.16.1.254” is a garbage. But running ip route add subnet/netmask via gw worked [root@adlwest-nms1 ~]# ip route […]

Read More »

Mikrotik BGP

To show what routes you are receiving from a particular peer on Mikrotik   ip route print detail where received-from={PeerName}   OR ip route print detail where bgp-as-path=123456

Read More »

Quanta LB6M commands

From http://www.kontron.com/downloads/software/fastpath-configuration-guide-v1.2.pdf?product=89439 3.2.1.2 Example 2: Set Up VLAN Routing for the VLANs and the Switch. The following code sequence shows how to enable routing for the VLANs: (Ethernet Fabric) #vlan database (Ethernet Fabric) (Vlan) #vlan routing 10 (Ethernet Fabric) (Vlan) #vlan routing 20 (Ethernet Fabric) (Vlan) #exit (Ethernet Fabric) #show ip vlan This returns the […]

Read More »