Choosing ipaddress value in multi-NIC systems


#1

Is there a way to force node[:ipaddress] to take a different value
than the default? I have one system where it’s grabbing it off the
last NIC instead of eth0.

-J


#2

I don’t why you get different value. But it might be somehow connected with
node[:network][:default_interface]. Find out what’s where and perhaps you’ll
come to an understanding of this.
As for me I prefer to work with particular vales got from
node[:network][:interfaces] because I always know the proper interface…

2011/6/16 Jason J. W. Williams jasonjwwilliams@gmail.com

Is there a way to force node[:ipaddress] to take a different value
than the default? I have one system where it’s grabbing it off the
last NIC instead of eth0.

-J


#3

I see why it’s selecting that NIC now, it has the default route. Guess
we’ll need to come up with a different solution. Thank you for your
help.

-J

On Wed, Jun 15, 2011 at 4:12 PM, Денис Барышев denis.barishev@gmail.com wrote:

I don’t why you get different value. But it might be somehow connected with
node[:network][:default_interface]. Find out what’s where and perhaps you’ll
come to an understanding of this.
As for me I prefer to work with particular vales got from
node[:network][:interfaces] because I always know the proper interface…

2011/6/16 Jason J. W. Williams jasonjwwilliams@gmail.com

Is there a way to force node[:ipaddress] to take a different value
than the default? I have one system where it’s grabbing it off the
last NIC instead of eth0.

-J