Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[ubuntu] Ubuntu Netwokring

$
0
0
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





Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>