[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How should I configure my two lancards on my Debian system?



Marty wrote:

-You have to set up /etc/network/interfaces.  E.g. maybe similar to my example
here, which uses eth2 for my DSL internet connection:

-----------------
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/netbase/examples for more information.
#
auto lo eth0 eth1 ppp0
iface lo inet loopback


iface eth0 inet static
           address 10.0.0.254
           netmask 255.255.255.0
           broadcast 10.0.0.255

iface eth1 inet static
           address 10.0.1.254
           netmask 255.255.255.0
           broadcast 10.0.1.254
                       ^^^^^^^^^^
Sorry, make that 10.0.1.255


iface ppp0 inet ppp
           pre-up ip link set eth2 up
           provider dsl-provider eth2



Reply to: