I want to assign a static ip 192.168.1.6 to eth0 interface in my forensic Linux VM permanently and allow it to browse internet
I can't use ip add ****up as this not permanently, also I 'm told that not to change /etc/network/interfaces file, so how to set this ip in my Linux vm? thanks
currently no ip add in eth0.
Have you looked at this https://
The Buscador Linux distro can be downloaded as a Virtual Machine or ISO file to generate a live USB.
So Buscador appears designed for intelligence gathering over the internet.
I want to assign a static ip 192.168.1.6 to eth0 interface in my forensic Linux VM permanently and allow it to browse internet
Are you sure you're asking in the right place? Yours is not a forensic question.. It does make clear that you lack some rudimentary knowledge about virtual machines and networks, and that you for some reason are seeking that knowledge outside of your own organization.
I can't use ip add ****up as this not permanently, also I 'm told that not to change /etc/network/interfaces file, so how to set this ip in my Linux vm?
So you have someone who knows a bit more than you do, and who tells you what rules to follow. Why don't you ask them? I mean, they would be the experts on your particular network and VM situation, and would probably be able to answer you immediately how to solve.
What aren't you telling us?
Is this a student assignment that you are trying to avoid doing on your own?
Personally, I would set the VM to use bridged networking so that the VM gets an IP from your “physical” DHCP server as opposed to a “virtual” (host PC) DHCP server assigning/sharing an IP. Then I would add an entry into the router DHCP config to reserve the IP address you want to use against the MAC address of the VM’s network interface.
How you achieve the network bridging will vary depending on whether you’re using VirtualBox/VMware/other solution. I’d recommend the relevant tool’s manual/support forum for advice on this.
Good luck!
Ben