Advertisement
Guest User

Untitled

a guest
May 10th, 2018
1,081
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. ### /etc/netplan/01-netcfg.yaml (Guest) ###
  2. network:
  3. version: 2
  4. renderer: networkd
  5. ethernets:
  6. ens18:
  7. dhcp4: no
  8. dhcp6: no
  9. addresses: [188.40.185.208/32]
  10. routes:
  11. - to: 0.0.0.0/0
  12. via: 178.63.74.222/32
  13. on-link: true
  14. nameservers:
  15. addresses: [213.133.98.98,213.133.99.99,213.133.100.100,8.8.8.8]
  16.  
  17.  
  18.  
  19.  
  20. ### /etc/network/interfaces (Host) ###
  21. source /etc/network/interfaces.d/*
  22.  
  23. auto lo
  24. iface lo inet loopback
  25. iface lo inet6 loopback
  26.  
  27. auto enp4s0
  28. iface enp4s0 inet static
  29. address 178.63.74.222
  30. netmask 255.255.255.255
  31. gateway 178.63.74.193
  32. pointopoint 178.63.74.193
  33. dns-nameservers 213.133.98.98 213.133.99.99 213.133.100.100 8.8.8.8 2a01:4f8:0:1::add:9898 2a01:4f8:0:1::add:9999 2a01:4f8:0:1::add:1010
  34.  
  35. iface enp4s0 inet6 static
  36. address 2a01:4f8:121:23ec::2
  37. netmask 64
  38. gateway fe80::1
  39.  
  40. auto vmbr0
  41. iface vmbr0 inet static
  42. address 178.63.74.222
  43. netmask 255.255.255.255
  44. bridge_ports none
  45. bridge_stp off
  46. bridge_fd 0
  47. bridge_maxwait 0
  48. up ip route add 188.40.185.208/28 dev vmbr0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement