View previous topic :: View next topic |
Author |
Message |
manu.rhel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Apr 2014 Posts: 48
|
Posted: Mon Dec 27, 2021 3:25 am Post subject: Enabling PIM Protocol in Gentoo |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 2130
|
Posted: Mon Dec 27, 2021 3:40 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
manu.rhel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Apr 2014 Posts: 48
|
Posted: Mon Dec 27, 2021 4:54 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
manu.rhel n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Apr 2014 Posts: 48
|
Posted: Mon Dec 27, 2021 5:08 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|