Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Netmask reset at boot

From: David Paleino <d.paleino(at)gmail.com>
Date: Sun Sep 30 2007 - 06:31:31 EDT


Hi *,
it's some time now (I can't say how long) that I have a "little" problem on my Debian (it's an unstable box). What happens is that at every boot the netmask of my eth0 is reset, so I can't connect.

This is /etc/network/interfaces:

---8<---
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static

        gateway 192.168.1.1
        metric  1
        address 192.168.1.36
        netmask 255.255.255.0
        broadcast 192.168.1.255

---8<---

Here's what appears when the computer has just booted:

# ifconfig eth0

eth0      Link encap:Ethernet  HWaddr 00:DE:AD:DE:AD:00  
          inet addr:192.168.1.36  Bcast:192.168.1.255  Mask:255.255.255.255
          inet6 addr: fe80::211:d8ff:fec8:e1eb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          ...
#
          

I can connect only if I set the correct netmask and I fix the routing table:

# ifconfig eth0 netmask 255.255.255.0
# route add default gw 192.168.1.1

Do you need help?X

I've already grep'ed for ifconfig into /etc/, also looked for eth0 into /etc/udev/, bot I haven't noticed anything strange.

Any idea about this?

Kindly,
David (a newcomer to debian-user :) )

-- 
 . ''`.  Debian maintainer | 
http://snipurl.com/qa_page/
 : :'  :  Linuxer #334216  |  
http://www.hanskalabs.net/
 `. `'`    GPG: 1392B174   | 
http://www.debianizzati.org/
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Received on Sun Sep 30 06:35:29 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 06:56:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library