Re: Contribute to base
Use the system. Soon enough you'll find something you don't like or that could work better. One thing that's tickled me since I've used OpenBSD is the lack of a DHCPv6 client and server in base. Since I can't program, please be my guest, OP! Is there a reason why dhcpcd is not included in base?
Re: Intranet routing with dynamic IPs
Thanks Stuart! Knowing that, implementing it will be easy.
Re: Intranet routing with dynamic IPs
Regardless of which routing protocol I use, I run into the same problem. I can't find a way to configure this on OpenBSD. Is this such an exotic set-up? On 2018-05-21 22:23, Raul Miller wrote: I would try OpenOSPFD for this situation, instead of OpenBGPD.
Re: Intranet routing with dynamic IPs
On 2018-05-21 01:22, Solene Rapenne wrote: hello I'm not sure to understand your need. You don't need BGP for this. Adding a route on router A, accessing network B through router B is all you need. Computers on the dhcp client of A will use router A as a default gateway and then will be able to reach network B computers. And then, do the same on the other router. Or maybe I totally missed your need. I probably didn't explain it very well. Here is my best attempt of drawing the situation in ASCII: OO o INTERNET o OO | | | ?.?.?.? | ?.?.?.? +---+ +---+ | A | | B | +---+ +---+ | 10.0.0.1 | 10.0.0.2 | | +--+ What I need is some way for A and B to inform each other of their Internet facing IP addresses. They would then route those IPs via the internal path. Since the Internet-facing addresses are dynamic, the routers should inform each other when these change. Network A and B should be completely autonomous. But they should be aware of their local line instead of using the Internet. The situation I have now, using BGP, does almost exactly what I want. The only problem is that the routers inform each other of their whole Internet subnet, instead of just their own host entries.
Re: Intranet routing with dynamic IPs
I'm guessing you are reacting to the jocular nature of my e-mail address. I admit it is a bit infantile, but I am just using it because I don't like my personal address to be published publicly. As for the allusion to training certs, I am just messing around on my own private network to learn stuff. I have dealt with the proprietary stuff you're referring to back in school, but I strongly prefer OpenBSD and other well-written free software. To summarize my actual question, I guess I am looking for a way to dynamically advertise my router's (DHCP-defined) host entries, but nothing else. I'm not sure what the best way is. On 2018-05-20 20:00, justina colmena wrote: What's this? Is there a giant email cock-up at 4:30am in the https://chicken.coop/ ??? Or is someone trying to pass a certain proprietary networking IT training cert? --> /var/www/cgi-bin/bgplg *They* do not exactly want the BSD freeloaders looking at this stuff. Somebody might need to tslk to the boss. That thing actually is on my system "amarillo" in the cgi-bin folder, but I don't think it's hooked up to anything at the moment. Original message ---- From: giant@cock.email Date: 5/19/18 2:47 PM (GMT-09:00) To: misc@openbsd.org Subject: Intranet routing with dynamic IPs Hi everyone, I have a routing question which I don't know how to solve. I have two routers. Both are connected to my ISP and get a dynamic IP. Both are also connected to a local VLAN. I'd like to use the local VLAN for any traffic in between the two and the ISP for everything else. Basically, it should be like: # Router A 1.2.3.x (DHCP) 10.0.0.1/30 10.0.1.1/24 # Router B 2.3.4.x (DHCP) 10.0.0.2/30 10.0.2.1/24 # Network A: 10.0.1.0/24 route 0.0.0.0/0 via 10.0.0.1 route 2.3.4.x/32 via 10.0.0.2 # Network B: 10.0.2.0/24 route 0.0.0.0/0 via 10.0.0.2 route 1.2.3.x/32 via 10.0.0.1 I've tried doing this with BGP with a config like this (on Router A, by example): AS 65001 router-id 10.0.0.1 network inet connected neighbor 10.0.0.2 { remote-as 65002 } The problem here is that a computer in Network A will now try to use Router B to connect to IP-address 2.3.4.5, whereas I want it to use Router A. I'd appreciate if anyone could lead me in the right direction here. The reason why I'm doing is: I want to keep two networks separate, letting them browse the Internet with different IP addresses, but use the immediate link between the local routers for better performance. Kind regards, John Longe
Intranet routing with dynamic IPs
Hi everyone, I have a routing question which I don't know how to solve. I have two routers. Both are connected to my ISP and get a dynamic IP. Both are also connected to a local VLAN. I'd like to use the local VLAN for any traffic in between the two and the ISP for everything else. Basically, it should be like: # Router A 1.2.3.x (DHCP) 10.0.0.1/30 10.0.1.1/24 # Router B 2.3.4.x (DHCP) 10.0.0.2/30 10.0.2.1/24 # Network A: 10.0.1.0/24 route 0.0.0.0/0 via 10.0.0.1 route 2.3.4.x/32 via 10.0.0.2 # Network B: 10.0.2.0/24 route 0.0.0.0/0 via 10.0.0.2 route 1.2.3.x/32 via 10.0.0.1 I've tried doing this with BGP with a config like this (on Router A, by example): AS 65001 router-id 10.0.0.1 network inet connected neighbor 10.0.0.2 { remote-as 65002 } The problem here is that a computer in Network A will now try to use Router B to connect to IP-address 2.3.4.5, whereas I want it to use Router A. I'd appreciate if anyone could lead me in the right direction here. The reason why I'm doing is: I want to keep two networks separate, letting them browse the Internet with different IP addresses, but use the immediate link between the local routers for better performance. Kind regards, John Longe