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

Re: any ideas? no network traffic gets through



On Sat, Feb 23, 2002 at 07:40:45PM -0200, Rafael Sasaki wrote:
> On Sat, Feb 23, 2002 at 02:30:28PM -0600, will trillich wrote:
> > root@server# ifdown eth0 ; ifup eth0
> > 
> > root@server# ifconfig eth0
> > eth0      Link encap:Ethernet  HWaddr 00:60:8C:82:CF:3B  
> >           inet addr:208.251.253.83  Bcast:208.251.253.87  Mask:255.255.255.248
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:590 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:100 
> >           Interrupt:10 Base address:0x300 
> 
> Hi,
>   maybe here you got an error. IIRC, your broadcast address must be
>   208.251.253.255, and your Network Mask 255.255.255.0 if you have
>   a class C internet address.

we've got a 'mini commercial' cluster from our isp
which included our own subnet of 8 ip addresses
(with ...0 and ...7 being used for listen and
broadcast).

so yes, the netmask is supposed to be (binary)
	11111111.11111111.11111111.11111000
(decimal)
	255.255.255.248
where class C subnets are normally (binary)
	11111111.11111111.11111111.00000000
(decimal)
	255.255.255.0

we've got a windon't box that's got the same
subnet mask (255.255.255.248) and [unfortunately
:)] it works without a snag.

but apparently the netmask CAN be just about
anything you choose, for your private in-house
nets... it's just easier to maintain if you
keep all the zeroes together at the right
end of the binary string. at least that's
what i've read--

but next time i'm at the office, i could
experiment with trying a different netmask
if y'all think it would really help...

-- 
DEBIAN NEWBIE TIP #62 from Will Trillich <will@serensoft.com>
:
Wouldn't it be nice to SEE YOUR TABS WHILE YOU EDIT? With Vim,
you can do this with
	:set listchars=tab:+-,trail:$
	:set list
and format them via ":highlight NonText ...". (See ":help listchars"
and ":help highlight" for more info.) Put them in your ~/.vimrc if
you decide you like that setup.

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: