DragonFly users List (threaded) for 2005-03
DragonFlyBSD not in compliance with RFC 1122
I ran into a problem today. I administer a machine that needs to sit on
two separate networks 192.168.2.2/24 and 192.168.15.2/24. The network
card is configured as:
xl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.15.2 netmask 0xffffff00 broadcast 192.168.15.255
inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
media: Ethernet autoselect (100baseTX <full-duplex>)
The machine has a default route of 192.168.15.1.
(Public IP addresses replaced with private.)
All is well except that 192.168.2.2 is inaccessible from the Internet. A
quick RTFM reveals that I need to add a second default gateway but it
appears that this is not supported under FreeBSD 4 or DragonFly.
RFC1122 INTERNET LAYER October 1989
... the IP layer MUST pick a gateway from its list of
"default" gateways. The IP layer MUST support multiple
I've resolved this by using IPFW to forward the necessary traffic from
192.168.2.0/24 to the 192.168.2.1 router but feel this is a bit of a
bodge. I've noticed recent routing code commits so I'm hoping this is a
good time to ask if DragonFly is planning to support multiple default
gateways (RFC 1122)? Supporting the use of Zebra can't be a bad thing.