Announcement

Collapse
No announcement yet.

How to setup a static IP for network-manager in Virtual Box on Ubuntu Server

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to setup a static IP for network-manager in Virtual Box on Ubuntu Server

    Hi there is anyone familiar with the non-gui version of ubuntus network Manager?
    I'd like to set up a static IP with it in virtualbox without touching the file /etc/network/interfaces.
    • IP: 192.168.56.101
    • Gateway: 102.168.1.1
    • Netmask: 255.255.255.0

    Additionally I'd like to set up a second network interface with a dynamic IP to get connected to the internet with the Vbox.

  • #2
    Normally i edit the file /etc/network/interfaces and mod the info to something like this:


    NOTE

    >> iface eth0 inet static
    >> address 192.168.56.101
    >> netmask 255.255.255.0
    >> gateway 192.168.56.1 (u had 102.168.1.1, so i guessed it was a mistake)

    Comment

    Working...
    X