Last active
January 19, 2025 00:17
-
-
Save T-X/7ede1fbac3dd83be52983ee2c6ae921f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/network/20-eth0-pim-router-id.network | |
| [Match] | |
| Name=eth0 | |
| [Network] | |
| Address=2001:67c:2d50::2/128 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/network/25-ff_hl_v_mc_link.network | |
| [Match] | |
| Name=ff_hl_v_mc_link |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/network/25-pim-router-id.netdev | |
| [NetDev] | |
| Name=pim-router-id | |
| Kind=dummy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/network/25-pim-router-id.network | |
| [Match] | |
| Name=pim-router-id | |
| [Network] | |
| Address=2001:67c:2d50::2/128 | |
| [Link] | |
| Multicast=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Defaults for babeld initscript | |
| # sourced by /etc/init.d/babeld | |
| # List of interfaces on which the protocol should operate | |
| INTERFACES="ff_hl_v_mc_link" | |
| # Additional arguments | |
| DAEMON_ARGS="-S /var/lib/babeld/state" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/[email protected] | |
| # https://github.com/troglobit/mrdisc | |
| # enable like this for instance: $ systemctl enable [email protected] | |
| [Unit] | |
| Description=Multicast Router Discovery daemon (RFC4286) | |
| BindsTo=pim6sd.service | |
| [Service] | |
| Type=exec | |
| RestartSteps=10 | |
| RestartMaxDelaySec=30 | |
| Restart=always | |
| ExecStart=mrdisc -6 %i | |
| [Install] | |
| WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/pim6sd.conf | |
| # disable all interfaces by default | |
| default_phyint_status disable; | |
| # enable the pim-router-id interface first to acquire the correct primary address | |
| phyint pim-router-id enable; | |
| # Even with "nolistener", MLD reports will be parsed. | |
| # However this allows disabling the MLD querier. | |
| # Gluon provides the querier and we use mrdisc to | |
| # announce ourself via MRD. | |
| phyint eth0 nolistener mld_version any enable; | |
| # This one is for PIM / routing, not listeners / MLD. | |
| # Add more interfaces as required below | |
| phyint ff_hl_v_mc_link nolistener enable; | |
| # configure rendezvous point for the personal multicast prefix | |
| cand_rp pim-router-id; | |
| group_prefix ff7e:240:2001:67c:2d50::/96; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment