nw

GUI tool

Basic

https://access.redhat.com/sites/default/files/attachments/rh_ip_command_cheatsheet_1214_jcs_print.pdf

/etc/network/interfaces

VLAN-aware Bridge Mode

https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-42/Layer-2/Ethernet-Bridging-VLANs/VLAN-aware-Bridge-Mode/

/etc/netplan/*.yaml

  • basic/bond/wireless/route/SR-IOV: https://netplan.io/examples

  • static/wireguard: https://github.com/canonical/netplan/tree/main/examples

setup ovs manually

netplan try

  • reverting ... not supported, directly run: netplan apply

  • other errors: netplan generate or netplan --debug apply

Port listening

debug

https://en.wikipedia.org/wiki/Netlink

https://github.com/shemminger/iproute2/blob/master/misc/ss.c

tuntap

Features

disable ipv6

nftables

  • https://wiki.nftables.org/wiki-nftables/index.php/Main_Page

  • https://wiki.nftables.org/wiki-nftables/index.php/Moving_from_iptables_to_nftables

  • https://openwrt.org/docs/guide-user/firewall/misc/nftables

iptables

table / chain

rules

NAT

http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-3.html

Masquerading is a specialized form of SNAT Port forwarding, load sharing, and transparent proxying are all forms of DNAT.

http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-6.html http://ipset.netfilter.org/iptables-extensions.man.html

Trace

http://backreference.org/2010/06/11/iptables-debugging/

Log manually

http://www.microhowto.info/troubleshooting/troubleshooting_iptables.html

Transparent Proxy

iptables frontend

CentOS firewall-cmd

Ubuntu - ufw

ip rule

tc

http://events.linuxfoundation.org/sites/events/files/slides/Linux_traffic_control.pdf

LVS

http://kb.linuxvirtualserver.org/wiki/IPVS https://github.com/torvalds/linux/tree/master/net/netfilter/ipvs IPVS - an advanced layer-4 load balancing solution, NAT/Direct Routing/IP Tunneling

Virtual routing and forwarding

https://docs.cumulusnetworks.com/display/DOCS/Virtual+Routing+and+Forwarding+-+VRF multiple independent routing tables working simultaneously on the same router or switch Think of this feature as VLAN for layer 3

https://www.kernel.org/doc/Documentation/networking/vrf.txt

DNS

teamd

https://github.com/jpirko/libteam/wiki/Tutorial

Last updated

Was this helpful?