Categories: CategoryNetwork


read man page interfaces.

my configuration

# The loopback interface
auto lo eth0 eth1
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
iface eth0 inet static
        address 192.168.100.1
        netmask 255.255.255.0
        network 192.168.100.0
        broadcast 192.168.100.255

# The second network card - this is used for adsl-connetion to my provider.
iface eth1 inet ppp
        provider dsl-provider