WTH is up with this network config?

Tom H tomh0665 at gmail.com
Thu Apr 29 06:50:54 UTC 2010


On Wed, Apr 28, 2010 at 7:15 PM, jack craig <jcraig at extraview.com> wrote:
> When I learned about ip address, the network & host portions of the IP and
> the netmask to
> differentiate the host & network numbers. I learned a class A addr used
> a mask of 10.255.255.255.
>
> While my FC11 works fine, I was looking at this network config and found the
> below!!!
>
> eth0      Link encap:Ethernet  HWaddr 00:26:18:FE:75:91
>           inet addr:10.0.0.100  Bcast:11.255.255.255  Mask:254.0.0.0
>           inet6 addr: fe80::226:18ff:fefe:7591/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:8291136 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:8464483 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:8084873362 (7.5 GiB)  TX bytes:8107599565 (7.5 GiB)
>           Interrupt:35
>
> cat ./devices/ifcfg-eth0
> # Networking Interface
> DEVICE=eth0
> BOOTPROTO=static
> DNS1=10.0.0.199
> GATEWAY=10.0.0.129
> HWADDR=00:26:18:FE:75:91
> IPADDR=10.0.0.100
> NETMASK=10.0.0.255
> ONBOOT=yes
>
> My question, if the ifcfg-eth0 has the right IP & Mask, why does the
> ifconfig display not agree?
> More, why does it work as is ???!!!

No idea how/why it works but your netmask is incorrect and must be the
reason for the incorrect broadcast and mask values in your ifconfig
output.


More information about the users mailing list