This SHOULD work but I can only have ONE IPv6 address/prefix on Ubuntu
OK -- before I lose what little sanity I have.... this SHOULD work, but doesn't. Here is the netplan file I have for Ubuntu. Notice one IPv6 address is oommented out. It doens't matter which one I comment out, but if both are active, at random, only one works. If I comment out one, the other routes. I THOUGHT I had source routing rgiht.... I guess not.
network:
version: 2
renderer: networkd
ethernets:
enp4s0:
dhcp4: false
dhcp6: false
addresses:
- 10.0.1.2/16
- 50.154.105.131/28
- 199.181.204.131/25
- 2001:55d:9080::0a00:0102/64
#- 2602:805:A000::0a00:0102/64
gateway4: 10.0.0.2
gateway6: 2001:55d:9080::1
nameservers:
addresses:
- 10.0.1.1
routes:
- to: default
via: 50.154.105.129
table: 100
- to: default
via: 199.181.204.129
table: 101
- to: default
via: 2001:55d:9080::1
table: 102
- to: default
via: 2602:805:A000::1
table: 103
routing-policy:
- from: 50.154.105.128/28
table: 100
- from: 199.181.204.128/25
table: 101
- from: 2001:55d:9080::/64
table: 102
- from: 2602:805:A000::/64
table: 103
What I THINK this says is (ignoring V4 which works), if the source address is 2602:805:A000::/48, route to 2602:805:A000::1. If it's 2001:55d:9080::/48 route to 2001:55d:9080::1. BUT....l.
This is Ubuntu 26.04 desktop. So if you want to win the Dodge Desoto with Groucho Marx, say the secret words here -- I've been saying a lot secret words, but it's frustrating so I can't say any of them in public.