All pastes #339342 Raw Edit

Untitled

public text v1 · immutable
#339342 ·published 2007-02-04 00:38 UTC
rendered paste body
dev:~# ifup eth1
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth1: ERROR while getting interface flags: No such device
Failed to bring up eth1.

dev:~# dmesg |grep eth
eth0: RealTek RTL8139 at 0xdc00, 00:00:e8:89:8c:11, IRQ 209
eth0:  Identified 8139 chip type 'RTL-8139A'
eth1: Broadcom 4400 10/100BaseT Ethernet 00:18:8b:7f:a2:5e
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present

dev:~# ifconfig |grep eth
eth0      Lien encap:Ethernet  HWaddr 00:00:E8:89:8C:11

dev:~# cat /etc/network/interfaces
# 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 eth0
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 10.10.1.254
        netmask 255.255.255.0
        gateway 10.10.1.249

iface eth1 inet static
        address 10.10.1.230
        netmask 255.255.255.0