Skip to content

Instantly share code, notes, and snippets.

@coreyoconnor
Created January 22, 2016 05:44
Show Gist options
  • Save coreyoconnor/a32f58905e24c7d97234 to your computer and use it in GitHub Desktop.
Save coreyoconnor/a32f58905e24c7d97234 to your computer and use it in GitHub Desktop.
[coconnor@agh:~/Development/nixpkgs]$ virsh net-list --all
Name State Autostart Persistent
----------------------------------------------------------
default inactive yes yes
[coconnor@agh:~/Development/nixpkgs]$ ifconfig
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::76d4:35ff:fe9d:6e30 prefixlen 64 scopeid 0x20<link>
ether 74:d4:35:9d:6e:30 txqueuelen 1000 (Ethernet)
RX packets 253313 bytes 114953984 (109.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 266902 bytes 56261987 (53.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 127 bytes 108439 (105.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 127 bytes 108439 (105.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:48:0d:23 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[coconnor@agh:~/Development/nixpkgs]$ ifconfig
enp1s0: <snip>
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 127 bytes 108439 (105.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 127 bytes 108439 (105.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:48:0d:23 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[coconnor@agh:~/Development/nixpkgs]$ virsh net-start default
error: Failed to start network default
error: internal error: Network is already in use by interface virbr0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment