Peer to peer routing in FreeBSD

Some hosting providers started offering IPs or IP aliases with /32 bit mask (for example Hetzner). Virtual interfaces such as gif or tun have built-in ability to act as peer to peer devices and ifconfig utility can use that ability to easily setup of these interfaces, but ethernet devices need some special treatment.

Continue Reading

In search of working devfs rules

On 10th Oct 2013 in revision r256256 FreeBSD has changed rc.d script for running jails. The new version uses configuraion from /etc/jail.conf file instead of /etc/rc.conf entries. This change exposed a problem where devfs was not importing default rules anymore – therefore option devfs_ruleset was ignored.

Continue Reading