Just a quick tip which may resolve the problem...
1. Check /etc/sysconfig/network file and make sure the GATEWAY and
GATEWAYDEV values are correct.
2. After that, I would try initializing the ethernet interfaces ("ifdown
eth0" then "ifup eth0") and then restart the network ("/etc/rc.d/init.d/network
stop" then "/etc/rc.d/init.d/network start"). I have seen problems where the
changes don't always take affect immediately.
3. For an excellent subnet calculator (runs on NT/95) go to
http://www.net3group.com/ipcalc.html-ssi
***One thing that you may need to look further into is whether the Linux IP
stack supports zero-subnet usage - I don't know enough about how Linux's
implementation. The first and last subnets of a network (according to the RFC)
are not usable because they constitute an "all ones" or an "all zeros" subnet
(broadcast and network respectively). You can't assign addresses in the "all
ones" subnets, but it is a common (although not highly recommended) tactic to
use the zero subnet to conserve on the usage of IP addresses. Many stacks now
support this (router IOS, NT, etc.). Again, I am not sure about Linux, and
it's not a documented standard.
Good Luck,
Jim
Alexander Woodby wrote:
> I've this computer on xxx.xxx.xxx.240 subnet (I have the whole class C)
>
> >From /etc/sysconfig/network-scripts/ifcfg-eth0
>
> DEVICE=eth0
> IPADDR=xxx.xxx.115.1
> NETMASK=255.255.255.240
> NETWORK=xxx.xxx.115.0
> BROADCAST=xxx.xxx.115.15
> ONBOOT=yes
> BOOTPROTO=none
>
> If I try to start networking I get
> SIOCADDRT: Invalid argument
> and can't reach anything, though I can ping myself?
>
> ANy clue what I'm doing wrong? Anyone know a good resource for
> Subnetting????? I completely stink at subnetting, to go lightly on
> myself...
>
> Thanks!!!
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.