ospfd: can't setsockopt IP_ADD_MEMBERSHIP (AllDRouters) : Adress already in use ! ! Zebra configuration saved from vty ! 2003/06/26 20:17:57 ! hostname ospfd password * enable password * log syslog ! ! ! interface ed1 ip ospf priority 128 ip ospf cost 128 ! interface ppp0 ip ospf network point-to-point ! interface ppp1 ! ip ospf network point-to-point ! interface lo0 ! !interface vlan1 ! !interface vlan2 ! !interface ed0 ! ip ospf cost 1 ! router ospf ospf router-id * network 0.0.0.0/0 area 0 network */28 area 1 ! line vty ! -- AY7-UANIC || AY15-RIPE =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
On Mon, Jun 30, 2003 at 11:04:19PM +0300, Alexander Yeremenko wrote:
ospfd: can't setsockopt IP_ADD_MEMBERSHIP (AllDRouters) : Adress already in use
А что еще запущено на машине ? -- The Emperor wants to control the outer space, Yoda wants to explore the inner space.That's the fundamental difference between the good and the bad sides of the Force. =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
On Mon, Jun 30, 2003 at 11:04:19PM +0300, Alexander Yeremenko wrote:
ospfd: can't setsockopt IP_ADD_MEMBERSHIP (AllDRouters) : Adress already in use
IP_ADD_MEMBERSHIP - это multicast-овый sysctl. Чтото типа mrouted-а или второй копии ospfd не запущено?
! ! Zebra configuration saved from vty ! 2003/06/26 20:17:57 ! hostname ospfd password * enable password * log syslog ! ! ! interface ed1 ip ospf priority 128 ip ospf cost 128 ! interface ppp0 ip ospf network point-to-point ! interface ppp1 ! ip ospf network point-to-point ! interface lo0 ! !interface vlan1 ! !interface vlan2 ! !interface ed0 ! ip ospf cost 1 ! router ospf ospf router-id * network 0.0.0.0/0 area 0 network */28 area 1 ! line vty !
-- AY7-UANIC || AY15-RIPE =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
-- Regards, Volodymyr. =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
On Tue, Jul 01, 2003 at 10:53:34AM +0300, Sergey A. Smitienko wrote:
On Mon, Jun 30, 2003 at 11:04:19PM +0300, Alexander Yeremenko wrote:
ospfd: can't setsockopt IP_ADD_MEMBERSHIP (AllDRouters) : Adress already in use
А что еще запущено на машине ?
А так же netstat -gn -- The Emperor wants to control the outer space, Yoda wants to explore the inner space.That's the fundamental difference between the good and the bad sides of the Force. =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
On Tue, Jul 01, 2003 at 10:53:34AM +0300, Sergey A. Smitienko wrote:
On Mon, Jun 30, 2003 at 11:04:19PM +0300, Alexander Yeremenko wrote:
ospfd: can't setsockopt IP_ADD_MEMBERSHIP (AllDRouters) : Adress already in use
А что еще запущено на машине ? Да ничего. Ну там sendmail, ssh, pppd и вроде все. Ну не считая init, inetd etc :)
-- AY7-UANIC || AY15-RIPE =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
On Tue, Jul 01, 2003 at 10:59:40AM +0300, Sergey A. Smitienko wrote:
On Tue, Jul 01, 2003 at 10:53:34AM +0300, Sergey A. Smitienko wrote:
On Mon, Jun 30, 2003 at 11:04:19PM +0300, Alexander Yeremenko wrote:
ospfd: can't setsockopt IP_ADD_MEMBERSHIP (AllDRouters) : Adress already in use
А что еще запущено на машине ?
А так же netstat -gn Virtual interface table is empty Multicast routing table is empty No IPv6 routing compiled in this system Ну а кто собственно просит ipv6 ? Зерба компилилась с --no-ipv6 или как там его. Без этого она вообще не пускалась
-- AY7-UANIC || AY15-RIPE =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
On Tue, Jul 01, 2003 at 11:47:57AM +0300, Alexander Yeremenko wrote:
On Tue, Jul 01, 2003 at 10:59:40AM +0300, Sergey A. Smitienko wrote:
On Tue, Jul 01, 2003 at 10:53:34AM +0300, Sergey A. Smitienko wrote:
On Mon, Jun 30, 2003 at 11:04:19PM +0300, Alexander Yeremenko wrote:
ospfd: can't setsockopt IP_ADD_MEMBERSHIP (AllDRouters) : Adress already in use
А что еще запущено на машине ?
А так же netstat -gn Virtual interface table is empty Multicast routing table is empty No IPv6 routing compiled in this system
Ну а кто собственно просит ipv6 ? Зерба компилилась с --no-ipv6 или как там его. Без этого она вообще не пускалась
ipv6 тут не причем. Ошибка появляется в ospfd/ospf_network.c функция ospf_if_add_alldrouters когда твою зебру выбирают Designated routerом. наверное было бы интересно дописать в нее пару строчек и посмотреть точно на что ospfd ругается. /* Join to the OSPF ALL Designated ROUTERS multicast group. */ int ospf_if_add_alldrouters (struct ospf *top, struct prefix *p, unsigned int ifindex) { int ret; + + zlog_warn("ospf_if_add_alldrouters: fd %d, prefix %x, ifindex %d, %x", + top->fd, p->u.prefix4, ifindex, htonl (OSPF_ALLDROUTERS)); + ret = setsockopt_multicast_ipv4 (top->fd, IP_ADD_MEMBERSHIP, p->u.prefix4, htonl (OSPF_ALLDROUTERS), ifindex); if (ret < 0) zlog_warn ("can't setsockopt IP_ADD_MEMBERSHIP: %s", strerror (errno)); zlog_info ("interface %s join AllDRouters Multicast group.", inet_ntoa (p->u.prefix4)); return ret; } -- The Emperor wants to control the outer space, Yoda wants to explore the inner space.That's the fundamental difference between the good and the bad sides of the Force. =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message
participants (3)
-
Alexander Yeremenko
-
Sergey A. Smitienko
-
Volodymyr Yakovenko