Admin Admin Podcast #049 – Show Notes – Or And Not Logic Gates

Al been been building Switch Stack- Ansible Network Modules
Andy been adding 1Gb Networks card to his NAS
Jerry been playing with Apache Modules and IP Tables.

 

 

 

 

Andy Linus Network Commands

andy@skynet:~$ netstat -i

Kernel Interface table

Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg

enp3s0     1500 0      2319      0     17 0          1493      0      0      0 BMRU

lo        65536 0       931      0      0 0           931      0      0      0 LRU

andy@skynet:~$ ip link show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1

   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000

   link/ether f4:f2:6d:03:47:5a brd ff:ff:ff:ff:ff:ff

3: enp0s7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000

   link/ether 00:1d:72:ba:d5:74 brd ff:ff:ff:ff:ff:ff

# The loopback network interface

auto lo

iface lo inet loopback

# The primary network interface

auto enp3s0

iface enp3s0 inet static

       address 192.168.1.234

       netmask 255.255.255.0

       network 192.168.1.0

       broadcast 192.168.1.255

       gateway 192.168.1.1

       # dns-* options are implemented by the resolvconf package, if installed

       dns-nameservers 192.168.1.1