Bug#576750: Problem with NFS and virtual IPs

James Gregory jgxenite at gmail.com
Tue Apr 6 22:19:51 UTC 2010


Package: net-tools
Version: 1.60-23ubuntu2

I'm trying to set up virtual IPs in Ubuntu 10.04 in the same way I've
done it in previous versions of Ubuntu, but I appear to be having
problems. For some reason, Lucid is using the virtual IP as the
'primary' IP address, and all outbound packets come through that by
default. That breaks connections to an NFS server because it is only
set up to accept requests from the actual primary IP, not the virtual
one.

I don't think this is an NFS issue, because a wget test to another
server reveals it is also using the virtual IP as the 'primary'
address.

A copy of the configuration file I'm using is attached to this bug report.
-------------- next part --------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address x.x.x.10
        netmask 255.255.255.128
        gateway x.x.x.x
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers x.x.x.x
        dns-search x.x.x.x

# Virtual IP for web interface
auto eth0:60
iface eth0:60 inet static
        address x.x.x.60
        netmask 255.255.255.128

# iptables
pre-up iptables-restore < /etc/iptables.rules


More information about the Pkg-net-tools-maintainers mailing list