• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

router discovery, but fixed server IP?

Started by VISI, December 21, 2009, 10:57:12 AM

Previous topic - Next topic

VISI

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?

cholzhauer

AFAIK, no, you can't.  If you tell it to use a static IP, you also need to tell it what the gateway is

jimb

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.