Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: VISI on December 21, 2009, 10:57:12 AM

Title: router discovery, but fixed server IP?
Post by: VISI on December 21, 2009, 10:57:12 AM
I have a CentOS box, which is getting its address dynamically, and also learning the router dynamically:

NETWORKING_IPV6=yes
IPV6_AUTOCONF=yes

If I enter an address in ifcfg-eth0 ("IPV6ADDR=2001:..."), it seems to be ignored, in favor of the dynamic address.  Is there a way to have static host IP, but discover router dynamically?
Title: Re: router discovery, but fixed server IP?
Post by: cholzhauer on December 21, 2009, 11:03:05 AM
AFAIK, no, you can't.  If you tell it to use a static IP, you also need to tell it what the gateway is
Title: Re: router discovery, but fixed server IP?
Post by: jimb on December 21, 2009, 03:25:52 PM
There's also nothing stopping you from adding a static IP to the interface after it autoconfigs to have a static of your choosing as well as the autoconfig.