Difference between revisions of "Single to Double NIC"

From LinuxMCE
Jump to: navigation, search
m (moved category to "networking")
Line 2: Line 2:
 
[[Category: Networking]]
 
[[Category: Networking]]
  
Changes need to be made in several places.
+
When switching from a Single NIC setup to using dual NICs, Changes need to be made in several places.
  
 
* Web Admin: Advanced menu > Network > Network Settings (more or less optional)
 
* Web Admin: Advanced menu > Network > Network Settings (more or less optional)
Line 20: Line 20:
 
  #      address 192.168.80.1
 
  #      address 192.168.80.1
 
  #      netmask 255.255.255.0
 
  #      netmask 255.255.255.0
+
    */ This sets eth0 to use DHCP to connect to cable/DSL/etc. automatically */
 
  iface eth1 inet static
 
  iface eth1 inet static
 
  address 192.168.80.1
 
  address 192.168.80.1
 
  netmask 255.255.255.0
 
  netmask 255.255.255.0
+
    */ This sets eth1 to use the internal network */
 
  auto eth1
 
  auto eth1
 
   
 
   
 
  auto eth0
 
  auto eth0

Revision as of 15:29, 2 December 2007


When switching from a Single NIC setup to using dual NICs, Changes need to be made in several places.

  • Web Admin: Advanced menu > Network > Network Settings (more or less optional)
  • Web Admin: Show devices tree/My Devices/CORE > Device data/Network Interfaces
    • Change: eth0,dhcp|eth0:0,192.168.80.1,255.255.255.0 to: eth0,dhcp|eth1,192.168.80.1,255.255.255.0
  • /etc/network/interfaces (can be edited from the launch manager).
    • Comment out eth0:0 related entries:
auto lo
        iface lo inet loopback
        address 127.0.0.1
        netmask 255.0.0.0


iface eth0 inet dhcp
#auto eth0:0
#iface eth0:0 inet static
#       address 192.168.80.1
#       netmask 255.255.255.0
    */ This sets eth0 to use DHCP to connect to cable/DSL/etc. automatically */
iface eth1 inet static
address 192.168.80.1
netmask 255.255.255.0
    */ This sets eth1 to use the internal network */
auto eth1

auto eth0