raniaadouni

/etc/netwrok/interfaces(compute)

Oct 4th, 2018
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. # This file describes the network interfaces available on your system
  2. # and how to activate them. For more information, see interfaces(5).
  3. source /etc/network/interfaces.d/*
  4.  
  5. # The loopback network interface
  6. auto lo
  7. iface lo inet loopback
  8.  
  9. # (network Adapter VMnet0 link to ethernet )
  10.  
  11. auto ens33
  12. iface ens33 inet static
  13. address 10.0.0.31
  14. netmask 255.255.255.0
  15.  
  16. # ( Network Adapter NAT link to wifi )
  17. auto ens34
  18. iface ens34 inet manual
  19. up ip link set dev $IFACE up
  20. down ip link set dev $IFACE down
Advertisement
Add Comment
Please, Sign In to add comment