Hi,
Problem: How do I get dhcp client to receive option classless-static-routes 24,10,0,0,192,168,0,1;
from my dhcp server?
Background:
- Workstation: Nixos on framework 13
- User (me): Win/mac/linux user on and off for years, have test lab, am house admin, not a professional.
- Project: Working through ‘Linux Networking Cookbook’ (outdated - chatbots handy here) to learn networking.
- Setup: Inside my home production LAN, I have a 3 NIC box running Ubuntu, which I am practicing router building. One card to the ISP router, one to the NixOS laptop, and one to a FreeBSD box. NixOS is in a subnet, and FreeBSD is in another subnet.
- What works: I am testing routing between subnets. Without DHCP server/client, static routes on FreeBSD and NixOS, and routing=1 (on) on the Ubuntu ‘router’, the subnets can ping each other. They can ping out to the internet.
- Problem: Chapter2: config DHCP. I can’t keep static routes to other subnets configged on NixOS if I use DHCP client. I can get the DHCP server to attempt share this info by
classless-static-routes option
, but can’t get the DHCP client on NixOS to pick it up. - Question: What am I mis-understandng? iptables are fine since the router can ping both subnets, and the subnets can ping out.