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

Re: internet ueber gateway



Jens Meyer:
>
> Ich muss nun bei jedem Start des Systems ein
> route add default gw 192.168.0.1
> ausführen. Danach funktioniert der Internetzugriff wieder.

Kriegt der Rechner seine IP per DHCP von der Windowsbox, die Du
erwähntest? Dann sollte nämlich eigentlich auch die Default-Route dabei
sein.

Ansonsten statisch in der /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
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address         192.168.0.2
        network         192.168.0.0
        netmask         255.255.255.0
        gateway         192.168.0.1


J.
-- 
I no longer believe my life will be long, happy, interesting or fulfilled
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: