Skip to content

Instantly share code, notes, and snippets.

@stevenwilliamson
Created November 3, 2015 16:17
Show Gist options
  • Save stevenwilliamson/d57312ab306437d94dd8 to your computer and use it in GitHub Desktop.
Save stevenwilliamson/d57312ab306437d94dd8 to your computer and use it in GitHub Desktop.
+ /sbin/ifconfig net1 inet 10.16.100.251/24 up up
+ iface_configured=true
+ read ifparams
+ [[ -f /etc/addrconf.net1 ]]
+ [[ -z true ]]
+ read -r iface addrtype
+ IFS=:
+ first_ipv4_configured=''
+ iface_configured=''
+ [[ -f /etc/dhcp.net2 ]]
+ [[ -f /etc/hostname.net2 ]]
+ 0< /etc/hostname.net2
+ read ifparams
+ [[ '10.16.100.254/24 up' == {3}({1,3}(\d).){1,3}(\d)* ]]
+ plumbif net2 inet
ifconfig: cannot plumb net2: Interface already exists
ifconfig: setifflags: SIOCSLIFFLAGS: net2: Invalid argument
[ Nov 3 15:59:54 Method "start" exited with status 1. ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment