Author: Daniel Schrock
Date: 23-02-01 17:33
background info:
xl0 (external interface) is aliased to my entire subnet (xxx.xxx.xxx.xxx/29)
dc0 (internal interface) then has 172.16.0.5.
the publics are then bimaped through ipnat to boxen on private ips.
Solaris has the ability to assign a hostname to each interface and alias.
Does FreeBSD have any way to do this outside of /etc/hosts and named?
ie:
hostname.xl0="hostname1"
hostname.xl0.alias0="hostname2"
hostname.dc0="hostname-int"
i have tried the above and variations in rc.conf and ended up with no hostname after a reboot. After reading the man pages on hostname, I figured it wouldn't work, but freebsd has surprised me in the past so i figured why not try.
this seems like something that should be possible, as many people have dual/multi homed systems that could use this kind of functionality.
|
|