daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Mar 14th, 2018 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~$ curl icanhazip.com
  2.    
  3. # Initial configuration after ordering VPS
  4. source /etc/network/interfaces.d/*
  5.  
  6. auto lo
  7. iface lo inet loopback
  8.  
  9. allow-hotplug ens3
  10. iface ens3 inet static
  11.     address 194.67.205.100
  12.     netmask 255.255.252.0
  13.     gateway 194.67.204.1
  14.  
  15. # Next lines were added by me
  16. auto ens3:1
  17. iface ens3:1 inet static
  18.     address 185.125.216.101
  19.     netmask 255.255.252.0
  20.  
  21. auto ens3:2
  22. iface ens3:2 inet static
  23.     address 185.125.216.102
  24.     netmask 255.255.252.0
  25.  
  26. auto ens3:3
  27. iface ens3:3 inet static
  28.     address 185.125.216.103
  29.     netmask 255.255.252.0
  30.    
  31. ip netns add ns1
  32. ip netns add ns2
  33. and so on
  34.    
  35. # ip link set ens3:1 netns ns1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top