All pastes #395187 Raw Edit

Plouj

public text v1 · immutable
·published 2007-03-14 21:13 UTC
rendered paste body
# cat /etc/network/interfaces
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
        option hostname ltsp-server

auto eth1
iface eth1 inet static
        address 10.1.2.1
        netmask 255.255.255.0
        broadcast 10.1.2.255

# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.1.1.0        0.0.0.0         255.255.255.0   U         0 0          0 eth0
10.1.2.0        0.0.0.0         255.255.255.0   U         0 0          0 eth1