Owen, I don’t see RP in your configuration. See the very first command on PIM manual: http://docs.frrouting.org/en/stable-8.0/pim.html#clicmd-ip-pim-rp-A.B.C.D-A.... <http://docs.frrouting.org/en/stable-8.0/pim.html#clicmd-ip-pim-rp-A.B.C.D-A.B.C.D-M> Regards, Jafar
On Oct 31, 2021, at 2:03 AM, owen s <owen94012@gmail.com> wrote:
I learned how to work with frr using configure terminal -> interface to configure interfaces.
I need to setup a router that creates an ipsec tunnel, then creates a gre tunnel to route multicast packets using ipsec over gre.
I have three interfaces; my local /26 subnet a static loopback ip I need to use pim-sm
Here's my current configuration ======================= write terminal Building configuration...
Current configuration: ! frr version 8.0.1 frr defaults traditional hostname bb no ipv6 forwarding service integrated-vtysh-config ! debug igmp events debug igmp packets debug igmp trace debug mroute debug mtrace ! interface ens4 ip igmp ip igmp version 2 ip pim ! interface t0 ip igmp ip igmp version 2 ip pim ! line vty ! end ======================= interface ens4 is my /26 subnet interface t0 the gre tunnel, source is from my loopback address to a remote address.
ip tun show t0: gre/ip remote x.x.x.x local [local loobpack ip] ttl 255
show interface Interface ens4 is up, line protocol is up Link ups: 0 last: (never) Link downs: 0 last: (never) vrf: default index 2 metric 0 mtu 1460 speed 4294967295 flags: <UP,BROADCAST,RUNNING,MULTICAST> Type: Ethernet HWaddr: 42:01:0a:f7:2f:42 inet x.x.x.x/32 unnumbered inet x.x.x.x/32 unnumbered Interface Type Other Interface Slave Type None protodown: off Interface ens5 is up, line protocol is up Link ups: 0 last: (never) Link downs: 0 last: (never) vrf: default index 3 metric 0 mtu 1460 speed 4294967295 flags: <UP,BROADCAST,RUNNING,MULTICAST> Type: Ethernet HWaddr: 42:01:dc:8c:05:4a inet x.x.x.x/32 unnumbered Interface Type Other Interface Slave Type None protodown: off Interface erspan0 is down Link ups: 0 last: (never) Link downs: 0 last: (never) vrf: default index 15 metric 0 mtu 1464 speed 0 flags: <BROADCAST,MULTICAST> Type: Ethernet Interface Type Other Interface Slave Type None protodown: off Interface gre0 is down Link ups: 0 last: (never) Link downs: 0 last: (never) vrf: default index 13 metric 0 mtu 1476 speed 0 flags: <NOARP> Type: GRE over IP Interface Type GRE Interface Slave Type None protodown: off Interface gretap0 is down Link ups: 0 last: (never) Link downs: 0 last: (never) vrf: default index 14 metric 0 mtu 1476 speed 0 flags: <BROADCAST,MULTICAST> Type: Ethernet Interface Type Other Interface Slave Type None protodown: off Interface ip_vti0 is down Link ups: 0 last: (never) Link downs: 0 last: (never) vrf: default index 7 metric 0 mtu 1480 speed 0 flags: <NOARP> Type: IPIP Tunnel Interface Type Other Interface Slave Type None protodown: off Interface lo is up, line protocol is up Link ups: 0 last: (never) Link downs: 0 last: (never) vrf: default index 1 metric 0 mtu 65536 speed 0 flags: <UP,LOOPBACK,RUNNING,MULTICAST> Type: Loopback inet x.x.x.x/32 Interface Type Other Interface Slave Type None protodown: off Interface pimreg is up, line protocol is up Link ups: 1 last: 2021/10/30 19:29:44.16 Link downs: 0 last: (never) vrf: default index 23 metric 0 mtu 1472 speed 0 flags: <UP,RUNNING,NOARP> Type: Unknown Interface Type Other Interface Slave Type None protodown: off Interface t0 is up, line protocol is up Link ups: 0 last: (never) Link downs: 0 last: (never) vrf: default index 16 metric 0 mtu 1436 speed 0 flags: <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> Type: GRE over IP HWaddr: 0a:f7:00:3c inet x.x.x.x/30 Interface Type GRE Interface Slave Type None VTEP IP: x.x.x.x , remote y.y.y.y protodown: off
show ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure
K>* 0.0.0.0/0 <http://0.0.0.0/0> [0/0] via x.x.x.x, ens4, 11:28:19 C>* x.x.0.60/32 is directly connected, lo, 11:28:19 C>* x.x.4.232/30 is directly connected, t0, 11:28:19 K>* x.x.x.x/26 [0/0] via x.x.x.x, ens4, 11:28:19 K * x.x.x.x/32 [0/0] is directly connected, ens4, 11:28:19 C>* x.x.x.x/32 is directly connected, ens4, 11:28:19 C>* x.x.x.x/32 is directly connected, ens4, 00:11:53 K>* y.y.y.72/29 [0/0] via y.y.y.73, ens5, 11:28:19 K>* y.y.y.73/32 [0/0] is directly connected, ens5, 11:28:19 C>* y.y.y.74/32 is directly connected, ens5, 00:05:45
show ip mroute IP Multicast Routing Table Flags: S - Sparse, C - Connected, P - Pruned R - SGRpt Pruned, F - Register flag, T - SPT-bit set
Source Group Flags Proto Input Output TTL Uptime
show ip pim neighbor Interface Neighbor Uptime Holdtime DR Pri
The route should get picked up through the gre tunnel.
Are there any steps that I can take to get the router properly configured to join the proper pim group and detect neighbor? _______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog