Comments (7)
IIRC you currently need an /etc/quagga/bgpd.conf that contains a basic BGP configuration, in particular the neighbor statements - seesaw will then add the "network" and "no network" statements in order to advertise and withdraw anycast routes. It would be preferable that seesaw did all of the necessary BGP configuration, however I don't believe that is currently the case (that said, I'd have to go and read the code to double check).
from seesaw.
That's what I thought as well, so I created a small bgpd.conf:
router bgp 65500
neighbor e.f.g.h remote-as 65500
and restarted quagga. Now seesaw_engine FATALs with:
failed to advertise VIP a.b.c.d: VTY status 1: BGP is already running; AS is 65500
so it doesn't seem to like the router bgp definition to exist in advance?
from seesaw.
That looks like quagga is complaining that BGP is already running with a different ASN - my guess would be that the local ASN that you've got in your configuration is mismatched with the local ASN configured for seesaw (in other words, the 'router bgp' statement that seesaw is issuing does not match the 'router bgp' statement in the existing configuration). If they both match then I'll have to dig further...
from seesaw.
I have a suspicion that regardless of what I write as bgp_local_asn in the config, is ignored with some hardcoded value (probably 64512). Will test.
from seesaw.
Yup. logging the value just before router bgp ...
gets send to quagga, tells me that asn used is 64512, even though I have:
bgp_remote_asn: 65500
bgp_local_asn: 65500
bgp_peer: <
fqdn: "my.router.example.com."
ipv4: "e.f.g.h/28"
>
in cluster.pb.
from seesaw.
culprit ncc/bgp.go
:
// TODO(jsing): Make this configurable.
const seesawASN = uint32(64512)
https://github.com/google/seesaw/blob/master/ncc/bgp.go#L32
from seesaw.
Could you point me in the direction of fixing this the correct way? The value is in the config. How do I access it from ncc/bgp.go
?
from seesaw.
Related Issues (20)
- Seesaw.cfg Configuration Server functionality HOT 2
- Enabling one_packet : true HOT 1
- Compile issue: fatal error -No such file or directory #include <netlink/netlink.h> HOT 1
- engine.sock no such file or directory HOT 1
- centos7.9 Failed to initialise LB interface: Failed to get network interface: route ip+net: no such network interface HOT 10
- Consider switching to bazel instead of make
- Come up with a monitoring strategy
- read: connection reset by peer HOT 2
- dperf is l4lb load tester. i hope it's useful for you.
- Any chance I can get it working with a macvlan interface?
- Support for clients on realservers HOT 1
- Concurrent Execution of IPVS functions
- Health Check notification - Send failed HOT 2
- Can't install seesaw HOT 3
- Virtual IPs in different networks supported?
- API
- Error while setting up HOT 1
- Unable to install seesaw on docker container CentOS Linux release 7.7.1908 (Core).
- Compilation of seesaw/netlink failing HOT 1
- UDP Round Robin Only going to single server HOT 7
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 seesaw.