D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Issues with DSL router - getting stuck

 

Simon Avery wrote:
> exetmp03 wrote:
> 
>>> What output do you get from ifconfig when it is connected?
>> output of ifconfig
>> [root@localhost ~]# /sbin/ifconfig
>> eth0      Link encap:Ethernet  HWaddr FF:FF:FF:FF:FF:FF
>>           inet addr:10.0.0.11  Bcast:255.255.255.255  Mask:255.0.0.0
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:67 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:4550 (4.4 KiB)  TX bytes:3828 (3.7 KiB)
>>           Interrupt:10 Base address:0xd400
> 
> Now, I'm not an expert, but that looks wrong to me - and certainly 
> different to what I've got on my boxes.
> 
> Both bcast and mask appear to be set wrongly - bcast is effectively 
> disabled (if I understand it right) and mask is bad too.
> 
> Here's one of mine on the same range
> 
> eth0      Link encap:Ethernet  HWaddr 00:15:58:11:09:73
>            inet addr:10.0.0.30  Bcast:10.0.0.255  Mask:255.255.255.0
>            inet6 addr: fe80::215:58ff:fe11:973/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:202002308 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:82838714 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:500953681 (477.7 MiB)  TX bytes:1436898995 (1.3 GiB)
>            Interrupt:209 Base address:0x6000
> 
> Somebody please correct me if I'm talking crap btw. :)

Sorry, but there's nothing wrong with his "mask".

A mask of 255.0.0.0 is a "Class A" mask and will allow you to have 
something like 16.7M hosts on the 10.x.x.x network.

You're using a "Class C" mask of 255.255.255.0 which allows for 254 
hosts on the 10.0.0.x network.

Both are perfectly acceptable.

You are indeed correct about the broadcast address, however.  With a 
Class A subnetmask, the broadcast for that address should be 10.255.255.255

What's worrying me somewhat is the fact that his card's MAC address is 
wholely invalid.

Grant.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html