{"id":20590100,"url":"https://github.com/takehaya/srv6_sfc_example","last_synced_at":"2025-08-18T01:34:27.168Z","repository":{"id":93157218,"uuid":"174143216","full_name":"takehaya/SRv6_SFC_Example","owner":"takehaya","description":"This is a kit for experiencing problems which were quizzed in the competition called ICTSC","archived":false,"fork":false,"pushed_at":"2019-03-09T05:31:21.000Z","size":430,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T13:39:27.048Z","etag":null,"topics":["segment-routing","sfc","srv6"],"latest_commit_sha":null,"homepage":"https://icttoracon.net/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takehaya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-06T12:42:20.000Z","updated_at":"2023-03-21T13:37:57.000Z","dependencies_parsed_at":"2023-06-05T04:45:27.090Z","dependency_job_id":null,"html_url":"https://github.com/takehaya/SRv6_SFC_Example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/takehaya/SRv6_SFC_Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takehaya%2FSRv6_SFC_Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takehaya%2FSRv6_SFC_Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takehaya%2FSRv6_SFC_Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takehaya%2FSRv6_SFC_Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takehaya","download_url":"https://codeload.github.com/takehaya/SRv6_SFC_Example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takehaya%2FSRv6_SFC_Example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270932578,"owners_count":24670240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["segment-routing","sfc","srv6"],"created_at":"2024-11-16T07:34:00.878Z","updated_at":"2025-08-18T01:34:27.143Z","avatar_url":"https://github.com/takehaya.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next Generation Networks(Baby)\n## Descript\nこれはictsc2018で `Next Generation Networks(Baby)` と第して出題した問題を体験できるconfigとvagrantfileです。\nSFCの具体的なコンフィグ例を体験することができます。\n\nThis is a config and vagrantfile that you can experience the problem that I first tried with `Next Generation Network(Baby)` on ICTSC2018. You can experience concrete configuration example of SFC.\n\n## usage\n### 初期化\n`bento/ubuntu-18.04` を`vagrant up`して, `config/setup.sh` をsudo権限で実行します。\nそれが完了したあと、`ictsc_SRT` という名前でbox化します。\n\nYou will do `vagrant up`(use image:`bento/ubuntu-18.04`), and sudo run `config/setup.sh`.After completion, we create a box with the name `ictsc_SRT`\n\n### 実行\n前述したものを実行したあとに同梱されたvagrantfileを `vagrant up`をして実行します\n\nAfter doing the above, do `vagrant up` with the vagrantfile.\n\n### 問題を解くためには。\nまずはじめにhostAからhostBへの疎通を確認します。そのうえでコンフィグを変更をします。\n具体的にはRouter1, Router5からネームスペースを区切っているSnortのノードを変更することになります。\n\nFirst of all, confirm the communication from host A to host B. Then change the config.\nSpecifically, we will change Snort Node that separates the namespace from Router 1, Router 5.\n\n```\n# Router1\nip route add 10.0.1.0/24 encap seg6 mode encap segs fc00:3::bb,fc00:5::bb,fc00:4::bb dev eth1\nip -6 route add fc00:1::bb/128 encap seg6local action End.DX4 nh4 10.0.0.1 dev eth2\n\n# Router5(SnortMode Side)\ndepmod -a \u0026\u0026 modprobe srext\nsudo srconf localsid add fc00:5::bb end.ad4 ip 192.168.1.2 veth0 veth1\n```\n\nこれでサービスチェインをして通信を確認できます。\nYou can now check the communication by doing a service chain. Thanks!!\n## toplo\n\n![image](https://github.com/takehaya/SRv6_SFC_Example/blob/master/SRT_toplo.001.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakehaya%2Fsrv6_sfc_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakehaya%2Fsrv6_sfc_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakehaya%2Fsrv6_sfc_example/lists"}