Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enabling PIM Protocol in Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 25

PostPosted: Mon Dec 27, 2021 3:25 am    Post subject: Enabling PIM Protocol in Gentoo Reply with quote

Hi Experts, I need some help in setting up PIM Protocol in my Gentoo Server. I have quagga+bgp already running and up.

I researched , and I see that qpimd package is required for Multicast. However I don't find it in the portage. Please suggest if this is the right approach or there is something more optimised way of getting this done.

Quagga Version -
[I--] [??] net-misc/quagga-1.2.4-r2:0

Multicast ROuting is enabled in the Kernel -
CONFIG_IP_MULTICAST=y

Thanks in advance.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Mon Dec 27, 2021 3:40 am    Post subject: Reply with quote

FWIW, Quagga was removed for bug 825358, but it seems to be built in to it. It looks like frr is the recommended alternative.
Back to top
View user's profile Send private message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 25

PostPosted: Mon Dec 27, 2021 4:54 am    Post subject: Reply with quote

Thanks Sam for the prompt response. I am getting FRRouting installed on my other Gentoo Box. Let me try bringing it up there.
Back to top
View user's profile Send private message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 25

PostPosted: Mon Dec 27, 2021 5:08 am    Post subject: Reply with quote

Below is the running configuration -
Quote:


# telnet 0 2611
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.

Hello, this is Quagga (version 1.2.4-gentoo).
Copyright 1996-2005 Kunihiro Ishiguro, et al.


User Access Verification

Password:
quagga-pimd-router> en
quagga-pimd-router# sh run

Current configuration:
!
hostname quagga-pimd-router
password zebra
log stdout
!
interface eno1
!
interface enp101s0
ip pim ssm
ip igmp
!
interface enp101s0d1
ip pim ssm
ip igmp
!
interface lo
!
interface sit0
!
!
ip multicast-routing
!
line vty
exec-timeout 60 0
!
end
quagga-pimd-router#


And this is what is there in the file -
Quote:
# cat /etc/quagga/pimd.conf
!
! pimd sample configuration file
! $QuaggaId: $Format:%an, %ai, %h$ $
!
hostname quagga-pimd-router
password zebra
!enable password zebra
!
!log file pimd.log
log stdout
!
line vty
exec-timeout 60
!
!debug igmp
!debug pim
!debug pim zebra
!
ip multicast-routing
!
! ! You may want to enable ssmpingd for troubleshooting
! ! See http://www.venaas.no/multicast/ssmping/
! !
! ip ssmpingd 1.1.1.1
! ip ssmpingd 2.2.2.2
!
! ! HINTS:
! ! - Enable "ip pim ssm" on the interface directly attached to the
! ! multicast source host (if this is the first-hop router)
! ! - Enable "ip pim ssm" on pim-routers-facing interfaces
! ! - Enable "ip igmp" on IGMPv3-hosts-facing interfaces
! ! - In order to inject IGMPv3 local membership information in the
! ! PIM protocol state, enable both "ip pim ssm" and "ip igmp" on
! ! the same interface; otherwise PIM won't advertise
! ! IGMPv3-learned membership to other PIM routers
!
!interface eth0
! ip pim ssm
! ip igmp

interface enp101s0
ip pim ssm
ip igmp

interface enp101s0d1
ip pim ssm
ip igmp

! -x-


Its not letting me save the configuration using write file via the telnet session and throwing below err0r -
Quote:
Can't backup old configuration file /etc/quagga/pimd.conf.sav.


and its not letting me save inside the file and throwing the below error -
Quote:
# /etc/init.d/pimd restart
* Stopping pimd ... [ ok ]
* Starting pimd ...
2021/12/27 10:37:07 PIM: pim_if_add_vif: ifindex=0 < 1 on interface enp101s0
2021/12/27 10:37:07 PIM: pim_if_add_vif: ifindex=0 < 1 on interface enp101s0d1
% Interface enp101s0 does not exist
% Interface enp101s0d1 does not exist
2021/12/27 10:37:07 PIM: Loading configuration - end


Please suggest what am I missing here.

below is the interface configuration -
Quote:
# ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.111.39 netmask 255.255.255.0 broadcast 192.168.111.255
inet6 fe80::7e10:c9ff:fe41:a9c8 prefixlen 64 scopeid 0x20<link>
ether 7c:10:c9:41:a9:c8 txqueuelen 1000 (Ethernet)
RX packets 33227 bytes 9576758 (9.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6073 bytes 1070581 (1.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0x92f00000-92f20000

enp101s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.32.12.86 netmask 255.255.255.252 broadcast 10.32.12.87
inet6 fe80::663f:5fff:fe02:560a prefixlen 64 scopeid 0x20<link>
ether 64:3f:5f:02:56:0a txqueuelen 1000 (Ethernet)
RX packets 380899 bytes 29670918 (28.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 188998 bytes 15842542 (15.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp101s0d1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.237.74.129 netmask 255.255.255.0 broadcast 10.237.74.255
inet6 fe80::663f:5fff:fe02:560b prefixlen 64 scopeid 0x20<link>
ether 64:3f:5f:02:56:0b txqueuelen 1000 (Ethernet)
RX packets 203554 bytes 15900916 (15.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 218 bytes 11482 (11.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 4130 bytes 223648 (218.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4130 bytes 223648 (218.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum