Pages

[ubuntu] Ubuntu Netwokring

vendredi 29 juillet 2016

I have configured in my virtual box network bridge adapter of guest Ubuntu, so I could ssh to it from the host machine.
The problem is that the guest Ubuntu ip address keep changing.
Even though it changes within a very short range 192.168.0.4-10 it is still takes time to configure Putty and other programs each time.
My Internet service provide also DHCP.

Is there a way to make the guest Ubuntu ip address to be static?

My guest OS has the full GUI.

Even i tried this process no use.

Edit /etc/network/interfaces to reflect something like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.X
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.X
dns-nameservers 192.168.0.X

Let's block ads! (Why?)



[ubuntu] Ubuntu Netwokring

Aucun commentaire:

Enregistrer un commentaire