{"id":3535,"date":"2022-12-20T17:08:56","date_gmt":"2022-12-20T20:08:56","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/ipsr-man8\/"},"modified":"2022-12-20T17:08:56","modified_gmt":"2022-12-20T20:08:56","slug":"ipsr-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/ipsr-man8\/","title":{"rendered":"IP&minus;SR (man8)"},"content":{"rendered":"<h1 align=\"center\">IP\u2212SR<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ip-sr \u2212 IPv6 Segment Routing management<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>ip sr<\/b> { <i>COMMAND<\/i> | <b>help<\/b> }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>ip sr hmac show<\/b><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>ip sr hmac set<\/b> <i>KEYID ALGO<\/i><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>ip sr tunsrc show<\/b><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>ip sr tunsrc set<\/b> <i>ADDRESS<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>ip sr<\/b> command is used to configure IPv6 Segment Routing (SRv6) internal parameters.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Those parameters include the mapping between an HMAC key ID and its associated hashing algorithm and secret, and the IPv6 address to use as source for encapsulated packets.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>ip sr hmac set<\/b> command prompts for a passphrase that will be used as the HMAC secret for the corresponding key ID. A blank passphrase removes the mapping. The currently supported algorithms for <i>ALGO<\/i> are <b>sha1<\/b> and <b>sha256<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the tunnel source is set to the address :: (which is the default), then an address of the egress interface will be selected. As this operation may hinder performances, it is recommended to set a non-default address.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Configure an HMAC mapping for key ID 42 and hashing algorithm SHA-256<\/b> <br \/> # ip sr hmac set 42 sha256<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Set the tunnel source address to 2001:db8::1<\/b> <br \/> # ip sr tunsrc set 2001:db8::1<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ip-route<\/b>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">David Lebrun <david.lebrun@uclouvain.be><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  ip-sr \u2212 IPv6 Segment Routing management <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,655,4],"class_list":["post-3535","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-ip-sr","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3535"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3535\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}