Hello,

since I am a bit new to puppet I'd like to create a recipe to autoconfigure
eth0, eth1, eth2 and eth3.

Assuming I have eth0 given by a dhcp I'd like to setup it to static ip...
and

eth1
eth2
eth3

to another IP as well.

For example facter gave me ipaddress => 172.16.20.11

so eth0 will have 172.16.20.11, with gateway .254
eth1 will have 172.17.20.11
eth2 will have 172.18.20.11
and
eth3 will have 172.19.20.11..

Now I don't know how to extract "last" number of IPv4 address and if there
is nice way on RHEL4 with puppet to set interfaces without rewrite files "by
hand" with puppet.

Any hints ?

/Xavier

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to