Új hozzászólás Aktív témák

  • tototos

    addikt

    Hello!

    Internetet akarok megosztani debiannal. A gépben van két hálókártya, az eth1-en jön be a net, az eth0-n menne tovább.Ez eth1-t a telepítésnél beállítottam. Ez eth0-t hol tudom beállítani? Mert kaptam egy leírást hogy kell megosztani a netet, de a legvégén amikor beírom hogy ifdown eth1 akkor az jó, de amikor beírom hogy ifdown eth0 akkor kiírja ezt a hibaüzenetet:
    ifdown: interface eth0 not configured.
    Ha beírom hogy ifconfig eth0 akkor megjeleníti az adatait. Ez van beírva az /etc/network/interfaces-be

    # This file describes the network interfaces available on your system
    # and show to active them. For more information, see interfaces(5).

    # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth1
    iface eth1 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 193.110.59.25 82.77.103.100
    auto eth0
    iface eth0 inet static
    adress 192.168.2.2
    netmask 255.255.255.0
    network 192.168.2.0
    boradcast 192.168.2.255
    gateway 192.168.1.2

Új hozzászólás Aktív témák