Skip to content

Instantly share code, notes, and snippets.

@lbragstad
Last active February 8, 2018 21:00
Show Gist options
  • Save lbragstad/fcbd595869fdaad4eaf378f3d947131a to your computer and use it in GitHub Desktop.
Save lbragstad/fcbd595869fdaad4eaf378f3d947131a to your computer and use it in GitHub Desktop.
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
lbragstad@nassau:~$ ifconfig -a
br0 Link encap:Ethernet HWaddr e0:4f:43:28:04:a3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eno1 Link encap:Ethernet HWaddr e0:4f:43:28:04:a3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:e7100000-e717ffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:177 errors:0 dropped:0 overruns:0 frame:0
TX packets:177 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:13372 (13.3 KB) TX bytes:13372 (13.3 KB)
lxdbr0 Link encap:Ethernet HWaddr fe:b0:3a:43:ff:4e
inet addr:10.29.21.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::fc5f:e7ff:feaa:add3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15594 errors:0 dropped:0 overruns:0 frame:0
TX packets:21396 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1072128 (1.0 MB) TX bytes:34772648 (34.7 MB)
rename3 Link encap:Ethernet HWaddr e0:4f:43:28:04:a2
inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::e24f:43ff:fe28:4a2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:267293 errors:0 dropped:0 overruns:0 frame:0
TX packets:139465 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:385662719 (385.6 MB) TX bytes:11133532 (11.1 MB)
Interrupt:20 Memory:e7300000-e7320000
veth8M197M Link encap:Ethernet HWaddr fe:b0:3a:43:ff:4e
inet6 addr: fe80::fcb0:3aff:fe43:ff4e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15578 errors:0 dropped:0 overruns:0 frame:0
TX packets:21376 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1289148 (1.2 MB) TX bytes:34770236 (34.7 MB)
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# auto rename3
# iface rename3 inet dhcp
# bridge-ifaces eno1
# bridge-ports eno1
# up ifconfig eno1 up
#
# iface eno1 inet manual
iface eno1 inet manual
auto br0
iface br0 inet dhcp
bridge-ifaces eno1
bridge-ports eno1
up ifconfig eno1 up
lbragstad@nassau:~$ ifconfig -a
br0 Link encap:Ethernet HWaddr e0:4f:43:28:04:a3
inet addr:192.168.1.13 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::e24f:43ff:fe28:4a3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1097 errors:0 dropped:0 overruns:0 frame:0
TX packets:553 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1252455 (1.2 MB) TX bytes:51582 (51.5 KB)
eno0 Link encap:Ethernet HWaddr e0:4f:43:28:04:a2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:20 Memory:e7300000-e7320000
eno1 Link encap:Ethernet HWaddr e0:4f:43:28:04:a3
inet6 addr: fe80::e24f:43ff:fe28:4a3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1585 errors:0 dropped:0 overruns:0 frame:0
TX packets:561 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1325711 (1.3 MB) TX bytes:52230 (52.2 KB)
Memory:e7100000-e717ffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:176 errors:0 dropped:0 overruns:0 frame:0
TX packets:176 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:13296 (13.2 KB) TX bytes:13296 (13.2 KB)
lxdbr0 Link encap:Ethernet HWaddr fe:0a:ef:38:40:4b
inet addr:10.29.21.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::c072:f0ff:fee1:6c75/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5938 (5.9 KB) TX bytes:201762 (201.7 KB)
veth55L16X Link encap:Ethernet HWaddr fe:0a:ef:38:40:4b
inet6 addr: fe80::fc0a:efff:fe38:404b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7086 (7.0 KB) TX bytes:201980 (201.9 KB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment