This typically is a response of /sbin/route, which is called
by the ifup script. You should check your configuration in
/etc/sysconfig/network-scripts/ifcfg-eth0
...
> eth0 Link encap:Ethernet HWaddr 00:C0:6C:75:06:55
> inet addr:192.168.0.1 Bcast:192.168.255.255
> Mask:255.255.0.0
indeed as Peter Balon states, your netmask here is probably
misconfigured.
/etc/sysconfig/network-scripts/ifcfg-eth0
should probably look something like this:
----<snip>--------------------------------
DEVICE="eth0"
IPADDR="192.168.0.1"
NETMASK="255.255.255.0"
NETWORK="192.168.0.0"
BROADCAST="192.168.0.255"
ONBOOT="yes"
----<snip>--------------------------------
...
> When I tcpdump eth0 and try to send anything to the server
> through another computer, the tcpdump is dumb.
You should also check output of
/sbin/route -n
It should look something like this:
----<snip>--------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 1 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 2 eth0
----<snip>--------------------------------
or drop the last line if there's no gateway on your subnet...
* Greetings from - Groetjes vanwege *
Dieter Demerre ----- ddemerre@acm.org
http://www.angelfire.com/de/ddemerre/
pgp:ddemerre@acm.org<-idap://certserver.pgp.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu