[Xorp-users] AF_NETLINK NLMSG_ERROR message: File exists

Xavier Brouckaert xbr@info.ucl.ac.be
Mon, 04 Oct 2004 16:14:43 +0200


Hi,

I just wanted to explain how I got past these error messages on Linux
2.6.X running XORP CVS :

[ 2004/10/04 15:14:06  ERROR xorp_fea:20999 FEA +485 ifconfig_set.cc
push_vif_address ] On eth1/eth1/10.0.0.1: Failed to configure address:
AF_NETLINK NLMSG_ERROR message: File exists
[ 2004/10/04 15:14:06 WARNING xorp_fea XrlFeaTarget ] Handling method
for ifmgr/0.1/commit_transaction failed: XrlCmdError 102 Command failed
On eth1/eth1/10.0.0.1: Failed to configure address: AF_NETLINK
NLMSG_ERROR message: File exists
[ 2004/10/04 15:14:06  ERROR xorp_rtrmgr:20998 RTRMGR +538
master_conf_tree.cc commit_pass2_done ] Commit failed: 102 Command
failed On eth1/eth1/10.0.0.1: Failed to configure address: AF_NETLINK
NLMSG_ERROR message: File exists
[ 2004/10/04 15:14:06  ERROR xorp_rtrmgr:20998 RTRMGR +146
master_conf_tree.cc config_done ] Configuration failed: 102 Command
failed On eth1/eth1/10.0.0.1: Failed toconfigure address: AF_NETLINK
NLMSG_ERROR message: File exists

These error messages come from a section like that in config.boot:
address 10.0.0.1 {
     prefix-length: 24
     broadcast: 10.0.0.255
     enabled: true
}

It arrives when the interface is already configured with the address.
So I did a "ip addr del 10.0.0.1 dev eth1".  I also did a "modprobe
netlink_dev" because I saw netlink in the error messages but I don't
know if it was useful.

Hope it helps,
Xavier