Comments (2)
I understand the bypassing arp process and using MAC of the gw as destination MAC. But this may cause CPU issue on the network device as all packets are designated to the device itself is CPU processed.
We haven't observed switches doing this, because in our typical top of rack switch deployment the switches are essentially acting the same as when packets are incoming to the rack and performing hardware routing (MAC destination of the switch / default gw), rather than rack-local switching (MAC of the end machine on the same rack).
As all configuration process of backed are automatized via CI/CD, MAC address of each backend can also be included in the configuration file.
It should be possible to add an optional field for backend MAC address, though it does add additional complexity, and it very much depends on the type of deployment. For example, it may not always be trivial to know the MAC address without using ARP. Additionally, only machines on the same rack (switch) will be addressable via their direct MAC, and switches on other racks must still use the default gateway MAC.
If you've got a deployment where this does cause a problem and having MAC addresses in the forwarding table for rack-local machines or some other scenario would make sense, we could definitely accept a patch, as long as it's optional (enabled only if the MAC addresses are explicitly defined). 👍
from glb-director.
Hi Theo,
From the routing perspective it's same as routing packet outside network as long as GLB and backend are installed on different networks. Also as you experienced, modern routing process is hardware switched on switches.
We already checked with our switches (Arista) and packets are hardware switched which will not cause any issue. Although its very weird for the host on same subnet:)
We will watch the performance and update it we come up with any problem.
Thanks a lot .
from glb-director.
Related Issues (20)
- glb-director-xdp on bonded nic HOT 2
- stopping the glb-director-xdp service does not stop directing traffic
- Metrics of glb-director-xdp HOT 1
- cibuild-create-packages fails to prepare the Docker build environment with a broken packages error HOT 1
- conntrack lookup removal in ipt_GLBREDIRECT breaks with network namespaces HOT 1
- Tag releases please HOT 1
- glb-director failing host + ecmp/ibgp HOT 4
- glb-director fails to build with kernel linux-5.9.1 HOT 1
- Question: XDP Director status HOT 3
- Question about filling state HOT 2
- How was this made?
- how to use glb-director-xdp?
- make error
- Package for Debian buster ? HOT 2
- dperf: a high performance open source l4lb load tester
- cannot build with latest DPDK HOT 1
- GUE healthcheck fails with self IP
- Is it possible to run GLB without GUE? HOT 1
- Branch Protections Audit - 2022-10-05T18-41-55-524 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glb-director.