[Xorp-users] Bind failed: Could not assign requested address
Jeff Krasky
kras0021@umn.edu
Mon, 10 Jan 2005 17:05:18 CST
Hi,
I am trying to get Xorp running on a Linux machine that I have. When I log
in as root and run ./xorp_rtrmgr I get the following:
[ 2005/01/10 16:23:59 INFO xorp_rtrmgr:3411 RTRMGR +134
master_conf_tree.cc execute ] Changed modules: interfaces, fea, rib, bgp
[ 2005/01/10 16:23:59 INFO xorp_rtrmgr:3411 RTRMGR +404 module_manager.cc
run ] Running module: interfaces (/home/jkrasky/xorp/fea/xorp_fea)
[ 2005/01/10 16:24:01 INFO xorp_rtrmgr:3411 RTRMGR +404 module_manager.cc
run ] Running module: fea (/home/jkrasky/xorp/fea/xorp_fea)
[ 2005/01/10 16:24:07 INFO xorp_rtrmgr:3411 RTRMGR +404 module_manager.cc
run ] Running module: rib (/home/jkrasky/xorp/rib/xorp_rib)
[ 2005/01/10 16:24:09 INFO xorp_rtrmgr:3411 RTRMGR +404 module_manager.cc
run ] Running module: bgp (/home/jkrasky/xorp/bgp/xorp_bgp)
[ 2005/01/10 16:24:11 ERROR xorp_bgp:3414 BGP +400 socket.cc
connect_socket ] Bind failed: Cannot assign requested address
[ 2005/01/10 16:24:11 FATAL xorp_bgp:3414 BGP +67 socket.cc
create_listener ] Bind failed: Cannot assign requested address
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +550 module_manager.cc
killed ] Module abnormally killed: bgp
[ 2005/01/10 16:24:11 ERROR xorp_rtrmgr:3411 XRL +628 xrl_pf_stcp.cc die ]
XrlPFSTCPSender died: end of file
[ 2005/01/10 16:24:11 ERROR xorp_rtrmgr:3411 RTRMGR +763 task.cc
execute_done ] 210 Transport failed
[ 2005/01/10 16:24:11 ERROR xorp_rtrmgr:3411 RTRMGR +1179 task.cc
task_fail ] Shutting down fatally wounded process (bgp)
[ 2005/01/10 16:24:11 ERROR xorp_rtrmgr:3411 RTRMGR +540
master_conf_tree.cc commit_pass2_done ] Commit failed: 210 Transport failed
[ 2005/01/10 16:24:11 ERROR xorp_rtrmgr:3411 RTRMGR +146
master_conf_tree.cc config_done ] Configuration failed: 210 Transport
failed
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +1372 task.cc run_task
] No more tasks to run
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +216 module_manager.cc
terminate ] Terminating module: fea
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +216 module_manager.cc
terminate ] Terminating module: interfaces
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +262 module_manager.cc
terminate ] Killing module: interfaces (pid = 3412)
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +216 module_manager.cc
terminate ] Terminating module: rib
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +262 module_manager.cc
terminate ] Killing module: rib (pid = 3413)
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +546 module_manager.cc
killed ] Module killed during shutdown: interfaces
[ 2005/01/10 16:24:11 ERROR xorp_rtrmgr:3411 XRL +628 xrl_pf_stcp.cc die ]
XrlPFSTCPSender died: end of file
[ 2005/01/10 16:24:11 INFO xorp_rtrmgr:3411 RTRMGR +546 module_manager.cc
killed ] Module killed during shutdown: rib
[ 2005/01/10 16:24:11 ERROR xorp_rtrmgr:3411 XRL +628 xrl_pf_stcp.cc die ]
XrlPFSTCPSender died: end of file
Here is my config.boot file:
interfaces {
interface eth0 {
description: "data interface"
vif eth0 {
address 172.16.1.150 {
prefix-length: 32
broadcast: 172.16.1.150
}
}
}
}
fea {
enable-unicast-forwarding4: true
/* enable-unicast-forwarding6: true */
}
protocols {
bgp {
bgp-id: 172.16.1.150
local-as: 33333
peer 172.16.1.152 {
local-ip: 172.16.1.152
as: 33334
next-hop: 172.16.1.152
local-port: 179
peer-port: 179
/* holdtime: 120 */
/* enabled: true */
/* Optionally enable other AFI/SAFI combinations */
/* enable-ipv4-multicast */
/* enable-ipv6-unicast */
/* enable-ipv6-multicast */
}
/* Originate IPv4 Routes */
/*
network4 10.10.10.0/24 {
next-hop: 10.10.10.10
unicast: true
multicast: true
}
*/
/* Originate IPv6 Routes */
/*
network6 10:10:10:10::/64 {
next-hop: 10:10:10:10:10:10:10:10
unicast: true
multicast: true
}
*/
}
}
If someone could give me a hint to point me in the right direction as to
what might be wrong with bind() I would be grateful.
Thanks,
Jeff