How to setup interfaces file in ubuntu?
Open interfaces file with text editor (I use vim)
sudo vim /etc/network/interfaces
Now you have two ways to setup your interface
1) setup int to DHCP - in this case interface is eth0:
auto eth0
iface eth0 inet dhcp
2) Setup interface with static IP address:
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.254
Penetration testing best company?
No comments:
Post a Comment