05-17-2023 06:37 PM - edited 05-17-2023 07:56 PM
Hello,
I've attached a packet tracer file. Will also include router configs. Basically I'm expecting to be able to disconnect one of the paths between the pcs, and have bgp automatically update the routing table and activate the remaining available path. I've only managed to get it to work once, by shutting down port 0/0 on the switch (and I wasn't able to reproduce).
Perhaps the issue is that I'm abusing how these technologies are supposed to work. My goal was to allow link failover between a maximum of 2 devices, one of the 2 links being preferred but less reliable than the other / different speeds (haven't gotten this far, as far as any kind of prioritization). (The different speeds eliminates etherchannel as a solution, but this is really just an exercise in learning / curiousity anyway).
A note on the configs: for some reason, the network line doesn't have the mask, even though I ran the command: network 192.168.x.0 mask 255.255.255.0
PCs are able to ping each other once everything is booted up. Not sure if the configuration of bgp and the vlans is correct; it seems that loopback interfaces are often used rather than vlans in the real world, but when I had bgp setup with loopback interfaces, it wasn't possible for the pcs to directly connect through them; looked like additional routing / bridging would have been required. Maybe that's part of the problem?
Solved! Go to Solution.
05-20-2023 11:55 AM
Got this working in GNS3. The bgp timers command was a good suggestion for testing; for whatever reason I had to enable it per neighbor, as global command didn't seem to work. Anyway, was really cool to setup a ping -t on the pc, disconnect the cable, and within 2 failed pings, the route was changed and pings continued. Good learning experience.
I'm still pretty muddy on the whole loopback interface situation. I'm very used to thinking of networking in terms of having a LAN, with the router ip address assigned to it (internally a vlan / bridge), and then having the WAN ip assigned to an interface.
Thanks again everyone!
05-24-2023 05:12 PM - edited 05-24-2023 05:13 PM
as Mr. @Harold Ritter mention, I was wrong and He is correct , You run two session between same peer.
I run lab and see two TCP session between same Peer.
thanks
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide