[OpenAFS] NetInfo / NetRestrict on Debian

Michael Meffie mmeffie@sinenomine.net
Fri, 31 Jul 2009 11:43:14 -0400


marcus.nilsson@pulsen.se wrote:
> Hi list,
> I have an openafs 1.4.11 file and db server running on Debian squeeze/sid.
> 
> The machine has two network interfaces;
> eth0: 195.198.192.25
> eth1: 192.168.1.2
> 
> I only want the VLDB to advertise the 195.198.192.25 address.
> 
> I've tried adding the following stanzas without any affect:
> 
> root@irit:~# cat /var/lib/openafs/local/NetInfo
> 195.198.192.25
> root@irit:~# cat /var/lib/openafs/local/NetRestrict
> 192.168.1.2
> 
> root@irit:~# vos listaddrs
> irit.mera.nu
> 192.168.1.2
> 
> The fileserver processes has been restarted.
> 
> Any hints are welcome!

Hello Marcus,

At one point before you restricted the addresses, the fileserver
was started and registered the unwanted address into the vldb.
You can use the vos changeaddr command to remove the machine entry
from the vldb.

Best regards,
Mike