Sample Header Ad - 728x90

Why my IP is not set?

2 votes
1 answer
50 views
In Backtrack I entered this command : vi /etc/network/interfaces And then set these lines : iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.1 Saved and exited, then restarted my OS. But when I enter ifconfig command, it shows me that the: inet addr :192.168.1.105 Why ? I am sure that the previous vi command is saved because when I again enter command: vi /etc/network/interfaces the result shows me that: iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.1
Asked by user30461 (21 rep)
Sep 23, 2016, 12:33 PM
Last activity: Jul 27, 2023, 03:53 AM