Re: WTH is up with this network config?

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

 



jack craig wrote:
> + . /etc/sysconfig/network-scripts/ifcfg-eth0
> ++ 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

This netmask is weird. Maybe should have been 255.0.0.0 or 255.255.255.0.
Confusion with broadcast address?

> + OTHERSCRIPT=/etc/sysconfig/network-scripts/ifup-eth
> + '[' '!' -x /etc/sysconfig/network-scripts/ifup-eth ']'
> + exec /etc/sysconfig/network-scripts/ifup-eth ifcfg-eth0
> RTNETLINK answers: Cannot allocate memory
> Failed to bring up eth0.

The -x is lost at the exec command.

Add a new line "set -x" in /etc/sysconfig/network-scripts/ifup-eth
just after the #!/bin/bash line.
Something more will be logged, then.
We want to see where the address and netmask is set.

-- 
   Roberto Ragusa    mail at robertoragusa.it
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux