[Xorp-hackers] comm_sock_open error!

Li Chuanhuang chuanhuang_li at pop.zjgsu.edu.cn
Tue May 23 07:24:24 PDT 2006


Hi,
   I'm a new user of XORP.I have compiled  XORP in my Linux machine(kernel:2.4.20),it seems no problem,but when I run it with my config file,There are some fatal errors!!
I attach the config.boot and the error message:

My config:

interfaces {
    restore-original-config-on-shutdown: false
    interface eth0 {
	description: "ethernet interface"
	disable: false
	default-system-config
    }
}

fea {
    unicast-forwarding4 {
	disable: false
    }
}

protocols {
    ospf4 {
	router-id: 10.10.10.1
	area 0.0.0.0 {
	    interface eth0 {
	    }
	}
    }
}

error message:
	
[ 2006/05/23 22:17:46  INFO xorp_rtrmgr:4966 RTRMGR +240 master_conf_tree.cc exe
cute ] Changed modules: interfaces, fea, rib, policy, ospf4
[ 2006/05/23 22:17:46  INFO xorp_rtrmgr:4966 RTRMGR +99 module_manager.cc execut
e ] Executing module: interfaces (fea/xorp_fea)
[ 2006/05/23 22:17:46  ERROR xorp_fea:4967 LIBCOMM +110 comm_sock.c comm_sock_op
en ] Error opening socket (domain = 10, type = 2, protocol = 0): Address family
not supported by protocol
[ 2006/05/23 22:17:46  ERROR xorp_fea:4967 LIBCOMM +110 comm_sock.c comm_sock_op
en ] Error opening socket (domain = 10, type = 2, protocol = 0): Address family
not supported by protocol

why the "domain" was setted  to "10"(AF_CCITT)!? Is there somewhere I haven't configured?
can you give me some suggestions?

Thanks and best regards! 

        Robin
        chuanhuang_li at pop.zjgsu.edu.cn
          05-23-2006



More information about the Xorp-hackers mailing list