Results 1 to 4 of 4

Thread: Problem with Network on Ubuntu 15.10

  1. #1
    Join Date
    Jul 2016
    Beans
    2

    Problem with Network on Ubuntu 15.10

    I recently deployed a VM with Ubuntu 15.10 and I am having trouble configuring the network properly. Note: When the OS was installed, it picked up an IP (from DHCP I guess), because it didn't ask me to set up the network. After installation I could access the server via that IP. However, I keep trying to add another IP (10.100.144.115) to the server and the server does not pick it up.
    This is what I have on /etc/network/interfaces:
    Code:
    root@blah20:/etc/network# cat interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    source /etc/network/interfaces.d/*
    
    # The loopback network interface
    auto lo ens33
    iface lo inet loopback
    
    # The primary network interface – use DHCP to find our address
    auto ens33
    iface ens33 inet static
    address 10.100.144.142
    netmask 255.255.255.0
    broadcast 10.100.144.255
    gateway 10.100.144.1
    dns-nameserver 8.8.8.8
    
    # The secondary IP – This one is very important as it hosts the Portal.
    auto ens33
    iface ens33:0 inet static
    address 10.100.144.115
    netmask 255.255.255.0
    gateway 10.100.144.1
    root@blah20:/etc/network#
    When I restart the network, I only get the first IP.
    Code:
    root@blah20:/etc/network# ifconfig
    ens33     Link encap:Ethernet  HWaddr 00:50:56:a4:5e:35
              inet addr:10.100.144.142  Bcast:10.100.144.255  Mask:255.255.255.0
              inet6 addr: fe80::250:56ff:fea4:5e35/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:482877 errors:2 dropped:2 overruns:0 frame:0
              TX packets:44446 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:108341017 (108.3 MB)  TX bytes:14661830 (14.6 MB)
              Interrupt:19 Base address:0x2000
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:1724 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1724 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:170653 (170.6 KB)  TX bytes:170653 (170.6 KB)
    
    root@blah20:/etc/network#
    I have tried different things but nothing seems to work. Can somebody tell me what I am doing wrong? I never had this issue with Ubuntu before.

  2. #2
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    13,647
    Distro
    Xubuntu

    Re: Problem with Network on Ubuntu 15.10

    Hi, welcome to the fora.
    Are you sure that you would want to troubleshoot 15.10 which is out of support by end of this month?
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts.
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  3. #3
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Problem with Network on Ubuntu 15.10

    Quote Originally Posted by mörgæs View Post
    Hi, welcome to the fora.
    Are you sure that you would want to troubleshoot 15.10 which is out of support by end of this month?
    Welcome. I'll second that. Try 16.04. 15.10 is dead.

    Incidentally, 16.04 LTS is an LTS release (long term support) which gives five years support. The interim releases, like 15.10, are supported for nine months.

  4. #4
    Join Date
    Jul 2016
    Beans
    2

    Re: Problem with Network on Ubuntu 15.10

    Quote Originally Posted by Bucky Ball View Post
    Welcome. I'll second that. Try 16.04. 15.10 is dead.

    Incidentally, 16.04 LTS is an LTS release (long term support) which gives five years support. The interim releases, like 15.10, are supported for nine months.
    Thank you guys, but I tried that and I seem to be having the same issue on 16.04 LTS. Can you please help me solve this?

    Thanks in advance.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •