René's URL Explorer Experiment


Title: network: L3 routed networking without shared L2 domain · Issue #12210 · apache/cloudstack · GitHub

Open Graph Title: network: L3 routed networking without shared L2 domain · Issue #12210 · apache/cloudstack

X Title: network: L3 routed networking without shared L2 domain · Issue #12210 · apache/cloudstack

Description: The required feature described as a wish Networking without Layer 2 This proposal is to add a new networking feature to CloudStack where Instances are directly assigned /32 (IPv4) and/or /128 (IPv6) addresses without a shared Layer 2 dom...

Open Graph Description: The required feature described as a wish Networking without Layer 2 This proposal is to add a new networking feature to CloudStack where Instances are directly assigned /32 (IPv4) and/or /128 (IPv6...

X Description: The required feature described as a wish Networking without Layer 2 This proposal is to add a new networking feature to CloudStack where Instances are directly assigned /32 (IPv4) and/or /128 (IPv6...

Opengraph URL: https://github.com/apache/cloudstack/issues/12210

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"network: L3 routed networking without shared L2 domain","articleBody":"### The required feature described as a wish\n\n# Networking without Layer 2\nThis proposal is to add a new networking feature to CloudStack where Instances are directly assigned /32 (IPv4) and/or /128 (IPv6) addresses without a shared Layer 2 domain.\n\nA shared Layer 2 domain in this case would be a VLAN or VXLAN VNI where Instances shared the same Broadcast/Multicast domain and where they use a shared IP-gateway for their routing.\n\n# Layer 3\nBy leveraging various features of the Linux kernel, making this a KVM-only feature, we can directly route an IPv4 and/or IPv6 address to a virtual machine by using a dynamic routing protocol like BGP, but this could also work with OSPF(v3).\n\nBy eliminating the need for Layer 2 we can create a routed network where no Instance has a \"network relationship\" with another Instance. Every Instance has one or more routes installed in the routing table of the network and can be routed to any host at any time.\n\nIn the examples below I will use two IP-addresses:\n- 2.57.57.30\n- 2001:678:3a4:100::80\n\n# Hypervisor host as gateway\nOn the hypervisor the cloudbr0 bridge will be created and assigned an IPv4 and IPv6 address:\n\n```\nauto cloudbr0\niface cloudbr0 inet static\n    address 169.254.0.1/32\n    address fe80::1/64\n    bridge-ports none\n    bridge-stp off\n    bridge-fd 0\n```\n\nAll Instances will be connected to this bridge and they will be configured to use the following IP-gateways:\n- 169.254.0.1\n- fe80::1\n\n# Inside the Instance\nAs there is no Layer 2 available the IP-configuration within the VM has to be done using ConfigDrive for cloud-init, a Virtual Router handing out DHCP and cloud-init data is not possible in this design. For the VM there is no way of detecting the cloud-init source over the network as our current CloudStack provider within cloud-init relies on the DHCP server as a source.\n\nAfter the Instance has used cloud-init to fetch the networking information from ConfigDrive the Netplan (Ubuntu Linux) configuration would look like this:\n\n```\nnetwork:\n  ethernets:\n    ens18:\n      accept-ra: no\n      nameservers:\n          addresses:\n              - 2620:fe::fe\n              - 2620:fe::9\n      addresses:\n              - 2.57.57.30/32\n              - 2001:678:3a4:100::80/128\n      routes:\n      - to: default\n        via: fe80::1\n      - to: default\n        via: 169.254.0.1\n        on-link: true\n  version: 2\n```\n\nIn this configuration the network inside the Instance is configured to the the addresses configured on **cloudbr0** as the gateway, meaning that the hypervisor will act as the gateway and route the IP-traffic.\n\nThis results in the interface being configured:\n\n```\n2: ens18: \u003cBROADCAST,MULTICAST,UP,LOWER_UP\u003e mtu 1500 qdisc fq_codel state UP group default qlen 1000\n    link/ether 52:02:45:76:d2:35 brd ff:ff:ff:ff:ff:ff\n    altname enp0s18\n    inet 2.57.57.30/32 scope global ens18\n       valid_lft forever preferred_lft forever\n    inet6 2001:678:3a4:100::80/128 scope global \n       valid_lft forever preferred_lft forever\n```\n\nAll hypervisors will use an identical configuration for cloudbr0, this allows all Instances to have the same routes in their route table:\n\n```\nroot@web01:~# ip -6 route show\n::1 dev lo proto kernel metric 256 pref medium\n2001:678:3a4:100::80 dev ens18 proto kernel metric 256 pref medium\nfe80::/64 dev ens18 proto kernel metric 256 pref medium\ndefault via fe80::1 dev ens18 proto static metric 1024 pref medium\nroot@web01:~# ip -4 route show\ndefault via 169.254.0.1 dev ens18 proto static onlink \nroot@web01:~#\n```\n\n# ARP and NDP neighbor configuration\nCloudStack is aware of the IPv4 and/or IPv6 addresses assigned to an Instance as well as the MAC address. On the hypervisor these entries have to be installed into the kernel's routing table and neighbor table. In this example the commands would be:\n\n```\nip -6 route add 2001:678:3a4:100::80/128 dev cloudbr0\nip -6 neigh add 2001:678:3a4:100::80 lladdr 52:02:45:76:d2:35 dev cloudbr0 nud permanent\nip -4 route add 2.57.57.30/32 dev cloudbr0\nip -4 neigh add 2.57.57.30 lladdr 52:02:45:76:d2:35 dev cloudbr0 nud permanent\n```\n\nThese entries would need to be added upon Instance start on that host and removed on Instance stop/migrate. The KVM Agent should handle the orchestration of these entries.\n\n# Dynamic Routing\nConfiguring these entries in the routing table is not sufficient, these need to be advertised to the upstream network. For this the hypervisor host would need to use some form of dynamic routing. BGP is the most commonly used, while others would like to use OSPF(v3).\n\nIn both cases the hypervisor will announce these /32 (IPv4) and /128 (IPv6) addresses to the upstream network while receiving a default route (0.0.0.0/0 and ::/0) from the network to be able to route traffic.\n\nA very simple piece of configuration for FRRouting (BGP or OSPF) could be:\n\n## BGP\n```\nrouter bgp\n redistribute kernel route-map only-cloud\n!\nroute-map only-cloud permit 10\n match interface cloudbr0\n```\n\n## OSPF\n```router ospf\n redistribute kernel route-map only-cloud\n network YOUR_NETWORK/XX area 0.0.0.0\n!\nroute-map only-cloud permit 10\n match interface cloudbr0\n```\n\n# IP address pools\nAs each Instance is assigned a IPv4 and/or IPv6 address there is no need to create a \"network\" inside CloudStack. The concept would be that CloudStack simply has a pool of addresses to choose from and allocates them to an Instance\n\nA pool could be:\n\n- 2.57.57.80\n- 145.31.53.21\n- 90.78.37.15\n- 88.17.11.53\n\n- 2001:db8::100\n- 2001:678:3a4:100::80\n- 2a00:f10:415:27::100\n\nThese addresses have no relationship with eachother, but they don't have to as each individual address is assigned the a VM\n\nThis networking setup also allows for very easy single stack IPv6-only Virtual Machines where IPv4 can be added or removed when needed. There is no dependency on either of the two protocols.\n\n# Summary\nThis networking design completely eliminates the use of Layer 2 broadcast/multicast domains. Each Instance becomes a full L3 routed part of the network where CloudStack's orchestration will make sure the addresses are routed towards the host where the Instance is on.\n\nUsing this setup it's very easy to create a massively scalable and reliable network spanning multiple datacenters as there is no shared L2 or VXLAN overlay.\n\nThe most common use-case for this feature will probably be public cloud providers which need to assign public IPv4/IPv6 addresses to Instance and want to share nothing between the VMs.\n","author":{"url":"https://github.com/wido","@type":"Person","name":"wido"},"datePublished":"2025-12-08T21:04:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":25},"url":"https://github.com/12210/cloudstack/issues/12210"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c8ee2f36-7fd5-75cd-2553-fb28a72316cf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC996:1956FA:1F74B29:2D6E067:6A4D0A58
html-safe-nonce8822685348f5547b5182a99e9ad02cf64611b91e92f970c11d2e81a9aa594744
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTk2OjE5NTZGQToxRjc0QjI5OjJENkUwNjc6NkE0RDBBNTgiLCJ2aXNpdG9yX2lkIjoiNjgzNjYzMDA2NDgxOTE0NTMwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb406a826712e5316fd685d5ca82baf69610e4559aaf75698f98ab1136f768825
hovercard-subject-tagissue:3708013092
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/12210/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0177cb5c1ef494fc4317d82b5889376a935b9e6e68b483d105bd6a9d57fb67a4/apache/cloudstack/issues/12210
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0177cb5c1ef494fc4317d82b5889376a935b9e6e68b483d105bd6a9d57fb67a4/apache/cloudstack/issues/12210
og:image:altThe required feature described as a wish Networking without Layer 2 This proposal is to add a new networking feature to CloudStack where Instances are directly assigned /32 (IPv4) and/or /128 (IPv6...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewido
hostnamegithub.com
expected-hostnamegithub.com
None31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5
turbo-cache-controlno-preview
go-importgithub.com/apache/cloudstack git https://github.com/apache/cloudstack.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id9759448
octolytics-dimension-repository_nwoapache/cloudstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9759448
octolytics-dimension-repository_network_root_nwoapache/cloudstack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasefb70bd3c4b2bec429781b65419e912c66e2d5581
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/12210#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F12210
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F12210
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/issues/12210
Reloadhttps://github.com/apache/cloudstack/issues/12210
Reloadhttps://github.com/apache/cloudstack/issues/12210
Please reload this pagehttps://github.com/apache/cloudstack/issues/12210
apache https://github.com/apache
cloudstackhttps://github.com/apache/cloudstack
Notifications https://github.com/login?return_to=%2Fapache%2Fcloudstack
Fork 1.3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Star 3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Code https://github.com/apache/cloudstack
Issues 534 https://github.com/apache/cloudstack/issues
Pull requests 262 https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality 0 https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Code https://github.com/apache/cloudstack
Issues https://github.com/apache/cloudstack/issues
Pull requests https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Featurehttps://github.com/apache/cloudstack/issues?q=type:"Feature"
network: L3 routed networking without shared L2 domainhttps://github.com/apache/cloudstack/issues/12210#top
component:advanced-networkinghttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Aadvanced-networking%22
component:ipv6https://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Aipv6%22
component:networkinghttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Anetworking%22
ipv6https://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22ipv6%22
long-term-planhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22long-term-plan%22
unplannedhttps://github.com/apache/cloudstack/milestone/19
https://github.com/wido
widohttps://github.com/wido
on Dec 8, 2025https://github.com/apache/cloudstack/issues/12210#issue-3708013092
component:advanced-networkinghttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Aadvanced-networking%22
component:ipv6https://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Aipv6%22
component:networkinghttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Anetworking%22
ipv6https://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22ipv6%22
long-term-planhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22long-term-plan%22
Featurehttps://github.com/apache/cloudstack/issues?q=type:"Feature"
unplannedNo due datehttps://github.com/apache/cloudstack/milestone/19
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.