Advertisement
Sergio_Istea

interfaces

Mar 11th, 2024
89
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 1 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.  
  4. source /etc/network/interfaces.d/*
  5.  
  6. # The loopback network interface
  7. auto lo
  8. iface lo inet loopback
  9.  
  10. # The primary network interface
  11. allow-hotplug enp0s3
  12. #iface enp0s3 inet dhcp
  13. iface enp0s3 inet static
  14. address 192.168.0.5
  15. netmask 255.255.255.0
  16. gateway 192.168.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement