Results 1 to 2 of 2

Thread: Using which network interface my system will access internet?

  1. #1
    Join Date
    Oct 2012
    Beans
    12

    Question Using which network interface my system will access internet?

    I need three network interface in ubuntu server for my experiment on openstack particularly network node. Of these three network interface which is used to access the internet ?
    eth0 or eth1 or eth2 ?

    because I want to configure like

    eth0 - storage private network - no internet access
    eth1 - management private network - no internet access
    eth2 - internet access for updation

  2. #2
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: Using which network interface my system will access internet?

    The system will try all three to access the internet, and will use whichever seems to succeed first.

    Your system maintains a routing table, a list of which interface connects to which range of IP addresses.
    As long as your routing table is correct, you need not muck about with interfaces. The system will sort interfaces properly for you.
    The routing table, using the 'ip' or 'route' commands needs to know the default gateway (upstream router IP address) for the internet.
    Last edited by ian-weisser; April 1st, 2015 at 03:53 PM.

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
  •