routing problem, was: Re: [SlugBug] Wiki,
routing and the last / first meeting...
Chris
chris at slugbug.org.uk
Fri Feb 27 15:52:28 GMT 2004
Hi Alan
(Sending this back on list -- I assume you replied
off-list my mistake :-)
On Fri 27-Feb-2004 at 02:47:50PM +0000, Alan Dawson wrote:
> Quoting Chris <chris at slugbug.org.uk>:
>
> > I used to use this netmask:
> >
> > NETMASK=255.255.255.248
>
> A net mask of 248 gives you 6 hosts per network ( you
> lose the top and bottom due to the network and broadcast
> address ) and 32 networks 0-7,8-15 ..
> 216-223,224-231,232-240,240-247,248-255
>
> So your netmask means that your default gw is in a
> different network, and your ip address is the broadcast
> address. Therefore either your default gw and IP
> address are wrong or the netmask is wrong.
>
> Er..I think ;-)
I think you are right :-)
> Try a netmask of 255.255.255.240 ?
Tried that, same problem:
# /sbin/ifconfig | grep 80.176.191.223
inet addr:80.176.191.223 Bcast:80.176.191.223 Mask:255.255.255.240
# /sbin/route | grep eth0
80.176.191.208 * 255.255.255.240 U 0 0 0 eth0
No gateway...
Chris
--
http://wiki.slugbug.org.uk/
SlugBug - the Sheffield Linux Users Group and BSD Users Group
More information about the SlugBug
mailing list