Hello!

I've got a system, which has 2 NICs. Both are configured with
DHCP (client: pump). We're using DDNS; ie. the DHCP server enters
the IP adress and hostname into DNS, so that lookups work.

Problem now is, that this machine has two NICs. Because of that,
it needs to enter *TWO* unique hostnames; one for eth0 and
one for eth1. In my /etc/conf.d/net, I've added:

modules=( "pump" )
config_eth0=( "dhcp" )

config_eth1=( "dhcp" )
pump_eth1="--hostname=dewugb01"

When I run "/etc/init.d/net.eth0 start" & "/etc/init.d/net.eth1 start"
by hand, everything's working as I want it to.

But as soon as the leases have to be renewed, I've got a problem.
Meaning, that it'll try to register the hostname from eth0
for the IP of eth1 as well; IOW: it will not respect the
hostname that I specified.

I also see, that there's just ONE pump process running.

How do I do all of that correctly?

Thanks a lot,

Alexander Skwar
-- 
And now for something completely the same.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to