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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux