Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    rendere di default gli indirizzi di rete

    ciao. mi collego cosi:

    route add default gw 192.168.0.1
    ifconfig eth0 192.168.0.84 netmask 255.255.255.0

    solo che adesso devo scriverli ogni volta che accendo il pc. difatti in route -n compare:

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

    dovrebbe esserci default in destination. come si fa?

  2. #2
    In /etc/network/interfaces:

    codice:
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
            address 192.168.0.84
            netmask 255.255.255.0
            network 192.168.0.0
            broadcast 192.168.0.255
            gateway 192.168.0.1
    Tu schiavo di Hedwig. Ora tu fa quello che dice Hedwig.

    If you're going to San Francisco be sure to wear some flowers in your hair.

  3. #3
    ok grazie!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.