Troubles with adding IPv6 support to a program

2022-06-12 Thread Chris Ross
Tl;dr; I don’t know why I’m getting an EINVAL from a call to bind for a second socket 20 years ago, I spent a lot of time adding IPv6 support to IPv4-only programs. So I thought this (adding IPv6 support to simpleproxy[1]) would be an easy project to pick up. I’ve gotten most of the framewor

Re: Troubles with adding IPv6 support to a program

2022-06-12 Thread Chris Ross
way twice despite thinking I wasn’t. Sorry for the noise. - Chris > On Jun 12, 2022, at 12:40, Chris Ross wrote: > > > Tl;dr; > I don’t know why I’m getting an EINVAL from a call to bind for a second socket > > > > > 20 years ago, I s

Netstat -i 5-character interface name length?

2022-06-29 Thread Chris Ross
Hello folks. I just noticed something that I’m sure has been true forever, but I checked and it’s still true on my 12.3-STABLE system. In the daily run output, I’m seeing the network interface names truncated. This comes from netstat -I apparently only rendering the first 5 characters of the

Lagg and multi-gigabit questions/proablems

2022-11-07 Thread Chris Ross
Tl;dr; I have two FreeBSD systems attached to a Cisco switch, there should be multi-gigabit connectivity, but only seeing 1Gpbs. Each system is trunked, vlan interfaces on the underlying interface. I have an older Freebsd 11.x system with a 10gbe interface, There are a collection of vlan inter

Re: Lagg and multi-gigabit questions/proablems

2022-11-09 Thread Chris Ross
> On Nov 9, 2022, at 14:32, Patrick M. Hausen wrote: > >> Am 08.11.2022 um 06:38 schrieb Chris Ross : >> I have a newer Freebsd 12.3 system with lagg across two 1gbe interfaces. >> There are a collection of vlan interfaces on the lagg. >> >> I would

DHCPv6 IA_PD - how-to

2024-07-23 Thread Chris Ross
tl;dr; anyone have a good IPv6 network setup based on an IA_PD from their provider? Any details or advice to share? The current router is x86_64 FreeBSD 11.x, but I’m building the FreeBSD 14.1 system to replace it now. What to install on it for this is a pending question. Hello all. I have bee

Re:  DHCPv6 IA_PD - how-to

2024-07-23 Thread Chris Ross
> On Jul 23, 2024, at 13:23, Roy Marples wrote: > On Tue, 23 Jul 2024 18:11:18 +0100 cross+free...@distal.com wrote > > >> tl;dr; anyone have a good IPv6 network setup based on an IA_PD from >> their provider? Any details or advice to share? > > > I'm upstream for dhcpcd. > All op

Re:  DHCPv6 IA_PD - how-to

2024-07-28 Thread Chris Ross
> On Jul 26, 2024, at 23:21, moto kawasaki wrote: > > > Hi Chris, all > > I am struggling the same problem too, and here is my working > configuration for dhcp6c in my test environment. > Hope this can be help. Thank you, moto-san. Roy was/is helping me get dhcpcd working, and I have begun re

Re:  DHCPv6 IA_PD - how-to

2024-08-01 Thread Chris Ross
[Long message, apologies. Thoughts mostly after the log output.] > On Jul 24, 2024, at 04:12, Roy Marples wrote: > dhcpcd can indeed setup the internal networks within the PD for you. > If my answer to Kar's question is not enough, then please let me know. Alright. Time passes, and I have a

IPv6 interface identifier/index on FreeBSD?

2024-08-04 Thread Chris Ross
So, moving to a dynamic IPv6 network, I want to be able to address my hosts both predictably (for which eui64/RA has been working), and also statically in some cases. For a dynamic network/subnet, an IPv6 address can be specified by the “subnet prefix” and "interface identifier” (or “interface ind

Re:  DHCPv6 IA_PD - how-to

2024-09-04 Thread Chris Ross
> On Aug 1, 2024, at 12:17, Roy Marples wrote: > > On Thu, 01 Aug 2024 16:24:54 +0100 Chris Ross wrote --- >> >> [Long message, apologies. Thoughts mostly after the log output.] >> >>> On Jul 24, 2024, at 04:12, Roy Marples r...@marples.name>

IPv6 neighbor flaps for ISP router are occurring frequently

2024-09-16 Thread Chris Ross
Hello. Following the earlier thread "DHCPv6 IA_PD - how-to” I have been bringing up a new gateway router for my network. With Roy’s help, I have IPv6 working as expected, but I am seeing something that I suspect is unusual. Roy doesn’t think it’s specific to dhcpcd, as it is caused by routing ch

Re: IPv6 neighbor flaps for ISP router are occurring frequently

2024-09-16 Thread Chris Ross
Apologies for lack of important context, the below discusses a FreeBSD 14.1 amd64 system. Thank you. > On Sep 16, 2024, at 16:05, Chris Ross wrote: > > Hello. Following the earlier thread "DHCPv6 IA_PD - how-to” I have been > bringing up a new gateway router for my network.

Re: IPv6 neighbor flaps for ISP router are occurring frequently

2024-09-16 Thread Chris Ross
> On Sep 16, 2024, at 17:55, Karl Denninger wrote: > What is the revision on the kernel (rev and/or build date)? Build was from releng/14.1 back at the start of August. Looking now, I see that I’m behind by 24 commits, so maybe should try updating. > I THINK the only difference between you a

Problems with FreeBSD (amd64 stable/11) router

2016-12-05 Thread Chris Ross
Hello all. I recently replaced my router with a FreeBSD/11 box (stable/11 r308579). I am running a lagg device across two bce’s, and 802.1q vlan interfaces atop lagg0. I’m using pf to NAT/filter out through a single outside IP address. I’m having the following problem. Some devices appea

Re: Problems with FreeBSD (amd64 stable/11) router

2016-12-05 Thread Chris Ross
(unless I missed something) to the natural MTUs on all interfaces. The vlan’s all show 1496, and the bee’s (and lagg0) show 1500. The options on each of the bce’s show VLAN_MTU, and a few other VLAN_ options. - Chris > On Mon, Dec 5, 2016 at 10:00 AM, Chris Ross wr

Re: Problems with FreeBSD (amd64 stable/11) router

2016-12-06 Thread Chris Ross
> On Dec 6, 2016, at 09:34, Ryan Stone wrote: > > Let me confirm I understand what's happening: > > 1) You want to use your router to vlan-tag traffic from your network, and > then send it out of a lagg over bce interfaces. The bxe interfaces have > their MTU set to 1500 and the vlan interfa

Re: IPv6 neighbor flaps for ISP router are occurring frequently

2024-09-20 Thread Chris Ross
> On Sep 20, 2024, at 06:15, DutchDaemon - FreeBSD Forums Administrator > wrote: > > On 19-9-2024 19:43, Chris Ross wrote: >> Alright. Coming back to this, I was clearly not paying attention. At the >> time I stopped seeing the aforementioned problem, a new one starte

Re: IPv6 neighbor flaps for ISP router are occurring frequently

2024-09-17 Thread Chris Ross
> On Sep 16, 2024, at 18:02, Chris Ross wrote: > > Build was from releng/14.1 back at the start of August. Looking > now, I see that I’m behind by 24 commits, so maybe should try > updating. Hmm. Well, I updated my releng/14.1 tree and built a new kernel last night. I reb

Re: IPv6 neighbor flaps for ISP router are occurring frequently

2024-09-19 Thread Chris Ross
> On Sep 17, 2024, at 14:46, Chris Ross wrote: > > Hmm. Well, I updated my releng/14.1 tree and built a new kernel last night. > I rebooted and after dhcpcd started up it was emitting the same notices > for many hours. But, at about 07:30 this morning it stopped. It’s now