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

RES: RES: networking partly broken after upgrade to testing



Always learning. Thanks, David.

-----Mensagem original-----
De: David Wright [mailto:d.wright@open.ac.uk]
Enviada em: Quinta-feira, 15 de Fevereiro de 2001 11:55
Para: GalbraithP@dfo-mpo.gc.ca
Cc: luiz@infoporto.com.br; debian-user@lists.debian.org
Assunto: Re: RES: networking partly broken after upgrade to testing


Quoting Luiz Carlos S. de Alencar (luiz@infoporto.com.br):
> The network mask assigned to eth0, as reported [255.255.252.0] by
ifconfig,
> seems to be incorrect. Never heard about classless subnets in Class B
> networks. You probably have a Class C (/24) network [255.255.255.0] or a
> classless subnet of a Class C network, like [255.255.255.252].

I don't know what all this is about. Still, it woke me up.

> The route and ifconfig look okay to me (but I'm not 100% sure):
>
> $ route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> localnet        *               255.255.252.0   U     0      0        0
eth0
> default         142.130.48.1    0.0.0.0         UG    1      0        0
eth0
>
> $ ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:E0:29:05:EA:C6
>           inet addr:142.130.48.235  Bcast:142.130.48.255
Mask:255.255.252.0

                                                    ^^
That can't be right. You need the last two bits set, to correspond
with the two bits unset in the mask, i.e. 142.130.51.255

Cheers, running on a 255.255.254.0 mask,

--
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: