daily pastebin goal
5%
SHARE
TWEET

ip aliasing stuff ubuntu 16.04

a guest Jun 13th, 2016 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # The primary network interface
  2. auto enp1s6
  3. iface enp1s6 inet dhcp
  4.  
  5. auto enp3s0
  6. allow-hotplug enp3s0
  7. iface enp3s0 inet static
  8.     address 10.0.0.201
  9.     netmask 255.255.255.0
  10.     gateway 10.0.0.1
  11.  
  12. iface enp3s0 inet static
  13.     address 10.0.0.202
  14.     netmask 255.255.255.0
  15.  
  16.  
  17. iface enp3s0 inet static
  18.     address 10.0.0.203
  19.     netmask 255.255.255.0
  20.  
  21.  
  22. iface enp3s0 inet static
  23.     address 10.0.0.204
  24.     netmask 255.255.255.0
  25.  
  26.  
  27. iface enp3s0 inet static
  28.     address 10.0.0.205
  29.     netmask 255.255.255.0
  30.  
  31.  
  32. ^ contents of /etc/network/interfaces
  33.  
  34. output: after sudo ifdown enp3s0 && sudo ifup enp3s0
  35.  
  36. ifdown: interface enp3s0 not configured
  37. RTNETLINK answers: File exists
  38. Failed to bring up enp3s0.
RAW Paste Data
Top