Restart networking service on Debian Linux to switch from DHCP to static IP config Save and close the file when using vim/vi text editor. Note down the Debian Linux interface name and type the following ip command to see the current IP address assinged to that network interface: Lspci | egrep -i -color 'network|ethernet|wireless|wi-fi' Use the ip command as follows to show/display available Ethernet network interfaces:Īlso, we can try the following Linux command to show a list of network cards: Finding your network interfaces name on Debian Linux Let us see all commands and examples in details. Set up default gateway IP: gateway 192.168.2.254.Configure static IP address for enp0s5 Ethernet interface: address 192.168.2.249.Backup /etc/network/interfaces file running sudo cp /etc/network/interfaces /root/.Log in to remote or server using ssh command.The procedure is as follows to set up and configure a static IP information:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |