subnet 192.168.0.0 netmask 255.255.255.0 { # … option routers 192.168.0.1; } host octopus { # I don't want this host to receive the routers option } Combing through dhcpd.conf(5), I don't see anything.The octopus host is dual-homed on 192.168.2.0/24, with a router on 192.168.2.1 that should be its default router.
I tried to override it with a host-specific "option routers 192.168.2.1" setting. This doesn't work, octopus routing is messed up:
default via 192.168.2.1 dev lan0 proto static metric 1024 192.168.0.0/24 dev lan0 proto kernel scope link src 192.168.0.4 192.168.2.0/24 dev wan0 proto kernel scope link src 192.168.2.100 192.168.2.1 dev lan0 proto static scope link metric 1024octopus's lan0 is the 192.168.0.0/24 segment. So this is wrong. octopus's wan0 port is on 192.168.2.0/24 is also BOOTPROTO=dhcp and I'd expect that network's router to control its routing, but looks like lan0's DHCP overrides it.
I suppose I can configure octopus's lan0 port for a static, non-DHCP boot, but I would like to keep it on DHCP, if possible.
Attachment:
pgpF52fBq7vk8.pgp
Description: PGP signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org