eth0 con ip non voluto
Ciao a tutti
Ho installato qualche giorno fa una nuova debian testing.
Ho notato che nonostante il file di configurazione sia settato in un
modo l'interfaccia eth0 ha un'altro indirizzo.
Se provo a chuderla e riaprirla (ifconfig eth0 down / up) l'indirizzo
rimane quello, se invece dichiaro l'indirizzo corretto le cose vanno a
posto, ci�n qualunque kernel.
A cosa pu�sere dovuto?
Dove mettere le mani?
Saluti
Tiziano.
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:69:79:46
inet addr:169.254.247.45 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::2e0:4cff:fe69:7946/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:84262 errors:0 dropped:0 overruns:0 frame:0
TX packets:74343 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:93094099 (88.7 MiB) TX bytes:6037104 (5.7 MiB)
Interrupt:10 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1453 errors:0 dropped:0 overruns:0 frame:0
TX packets:1453 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:101423 (99.0 KiB) TX bytes:101423 (99.0 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:82.50.187.90 P-t-P:192.168.100.1
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:83651 errors:0 dropped:0 overruns:0 frame:0
TX packets:73746 errors:0 dropped:149 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:91212753 (86.9 MiB) TX bytes:4378492 (4.1 MiB)
/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.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
#auto dsl-provider
#iface dsl-provider inet ppp
# provider dsl-provider
Reply to: