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

quando DHCP e quando no ?



Ho una macchina squeeze che in /etc/network/interfaces aveva:

# 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 eth0 eth0:2 eth1
iface lo inet loopback

# The primary network interface
# allow-hotplug eth0
iface eth0 inet static
        address x.y.z.2
        netmask 255.255.255.0
        network x.y.z.0
        broadcast x.y.z.255
        gateway x.y.z.1
# dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers x.y.z.3 x.y.t.14
        dns-search a.b.c

iface eth0:2 inet static
        address 172.25.2.2
        netmask 255.255.255.0
        network 172.25.2.0
        broadcast 172.25.2.255

iface eth1 inet static
        address 192.168.143.2
        netmask 255.255.252.0
        network 192.168.140.0
        broadcast 192.168.143.255

Finora eth1 era staccata .
ho attaccato eth1 e dopo un ora di funzionamento crash ...
ho trovato su eth1 un indirizzo preso da dhcp (server presente su un altra macchina su quella sottorete) e il corrispondente default route. da notare che anche su eth0 c; è un dhcp server, ma quanto non ha mai fornito indirizzi. che potrebbe essere successo ? come faccio a inibirgli di prendere indizzi dinamici ?

--
Leonardo Boselli


Reply to: