Sponsored Content
Operating Systems Solaris How do I find what kind of NIC card the server has? Post 302188106 by DukeNuke2 on Tuesday 22nd of April 2008 04:13:07 PM
Old 04-22-2008
what kind of infos?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

No NIC Card?

Hello Everyone, While trying to configure my network interface card on my system which runs mandrake 7, I have faced many problems. I used commands like netconf, drakconf, ifconfig etc to configure my NIC but of no use. There is no output for dmesg|grep eth. Does that mean that mandrake... (2 Replies)
Discussion started by: cyno
2 Replies

2. HP-UX

configuring nic card

using sam i have tryed to configure the nic, however when i try to do so i get an error saying i couldn't as i was using BIND ? (0 Replies)
Discussion started by: bobstar01
0 Replies

3. Linux

Howto Detect New Nic Card

Hi PPL! I have P-IV processor, with on-board NIC card. I have added one more NIC card for domestic use. My kudzu does not recognise the newly added PCMCIA NIC card. How to go about this one? Suggest PEnguin (0 Replies)
Discussion started by: chakri.penguin
0 Replies

4. HP-UX

how can I determine which NIC card is virtual NIC Card

how can I determine which NIC card is virtual NIC Card which condition can make a decision Does HP UX have Virtual Network Adapter Concept if ,it has where I can Find if I Install Virutal Network Adapter or which command that i can get it or which software can generate thanks (2 Replies)
Discussion started by: alert0919
2 Replies

5. Solaris

Reg. NIC card

Hi friends i have problem with my home pc, i installed solaris 10 but my lan drivers are not installed, if i want to install drivers manually from where to download and how to install. I have Realtech lan card. when i type ifconfig -a it shows only localhost 127.0.0.0 Lo0 cannot see other than... (5 Replies)
Discussion started by: kurva
5 Replies

6. Solaris

NIC card repetative Failover

I have configure 2 NIC in ipmp group1 .Similarly other 2 NIC in ipmp group2 When I connect both NIC to 2 different switch , which is connect to one L3 switch as trunk. Both the NIC failover to each other continously. Following are the message log. ifmsdb1 in.mpathd: NIC failure detected... (0 Replies)
Discussion started by: abhaymittal003
0 Replies

7. Linux

How to check which NIC Card is used for backups?

I have a linux box with 2 nic cards on it one for prod and one for backup. My question is while the backup are happening how do I determine which nic is used for backups . I would like to run a command so that that I can see the usage in a dynamic fashion. (7 Replies)
Discussion started by: new2prog
7 Replies

8. AIX

AIX -How to find which NIC is on which PCI card

Hi All, How can I find out which is ETH5 on my AIX P5 system. I have about seven different NIC card on this. I did move the cable to each one but still I was not able to see the link light up when I did netstat -v Any idea? Thanks. (2 Replies)
Discussion started by: samnyc
2 Replies

9. HP-UX

NIC card issue

Hi, Someone asked me the below. If the box has multiple NIC cards, try to run a test with interface address specified as shown below $ java utils.MulticastTest -N server100 -A 237.155.155.1 -i <interfaceaddress> How can I now find out if my box has multiple NIC cards and how can I... (5 Replies)
Discussion started by: mohtashims
5 Replies

10. Red Hat

Finding speed of NIC Card

Hi, I would like to know how to find out ACTUAL speed of NIC Card. I have used the command ethtool eth0, it is showing supported modes, but what is acutal speed ? how to find out? (4 Replies)
Discussion started by: manoj.solaris
4 Replies
Config::Model::IdElementReference(3pm)			User Contributed Perl Documentation		    Config::Model::IdElementReference(3pm)

NAME
Config::Model::IdElementReference - Refer to id element(s) and extract keys VERSION
version 2.021 SYNOPSIS
# synopsis shows an example of model of a network to use references use Config::Model; use Log::Log4perl qw(:easy); Log::Log4perl->easy_init($WARN); my $model = Config::Model->new; # model of several hosts with several NICs $model->create_config_class( name => 'Host', 'element' => [ ip_nic => { type => 'hash', index_type => 'string', cargo => { type => 'leaf', value_type => 'uniline', } }, ] ); # model to choose a master host and a master NIC (whatever that may be) # among configured hosts. Once these 2 are configured, the model computes # the master IP $model->create_config_class( name => "MyNetwork", element => [ host => { type => 'hash', index_type => 'string', cargo => { type => 'node', config_class_name => 'Host' }, }, # master_host is one of the configured hosts master_host => { type => 'leaf', value_type => 'reference', # provided by tConfig::Model::IdElementReference refer_to => '! host' }, # master_nic is one NIC of the master host master_nic => { type => 'leaf', value_type => 'reference', # provided by tConfig::Model::IdElementReference computed_refer_to => { # provided by Config::Model::ValueComputer formula => ' ! host:$h ip_nic ', variables => { h => '- master_host' } } }, # provided by Config::Model::ValueComputer master_ip => { type => 'leaf', value_type => 'string', compute => { formula => '$ip', variables => { h => '- master_host', nic => '- master_nic', ip => '! host:$h ip_nic:$nic' } } }, ], ); my $inst = $model->instance(root_class_name => 'MyNetwork' ); my $root = $inst->config_root ; # configure hosts on my network my $step = 'host:foo ip_nic:eth0=192.168.0.1 ip_nic:eth1=192.168.1.1 - host:bar ip_nic:eth0=192.168.0.2 ip_nic:eth1=192.168.1.2 - host:baz ip_nic:eth0=192.168.0.3 ip_nic:eth1=192.168.1.3 '; $root->load( step => $step ); print "master host can be one of ", join(' ',$root->fetch_element('master_host')->get_choice)," " ; # prints: master host can be one of bar baz foo # choose master host $root->load('master_host=bar') ; print "master NIC of master host can be one of ", join(' ',$root->fetch_element('master_nic')->get_choice)," " ; # prints: master NIC of master host can be one of eth0 eth1 # choose master nic $root->load('master_nic=eth1') ; # check what is the master IP computed by the model print "master IP is ",$root->grab_value('master_ip')," "; # prints master IP is 192.168.1.2 DESCRIPTION
This class is user by Config::Model::Value to set up an enumerated value where the possible choice depends on the key of a Config::Model::HashId or the content of a Config::Model::ListId object. This class is also used by Config::Model::CheckList to define the checklist items from the keys of another hash (or content of a list). CONSTRUCTOR
Construction is handled by the calling object (Config::Model::Node). Config class parameters refer_to "refer_to" is used to specify a hash element that will be used as a reference. "refer_to" points to an array or hash element in the configuration tree using the path syntax (See "grab" in Config::Model::Node for details). computed_refer_to When "computed_refer_to" is used, the path is computed using values from several elements in the configuration tree. "computed_refer_to" is a hash with 2 mandatory elements: "formula" and "variables". The available choice of this (computed or not) reference value is made from the available keys of the refered_to hash element or the values of the refered_to array element. The example means the the value must correspond to an existing host: value_type => 'reference', refer_to => '! host' This example means the the value must correspond to an existing lan within the host whose Id is specified by hostname: value_type => 'reference', computed_refer_to => { formula => '! host:$a lan', variables => { a => '- hostname' } } If you need to combine possibilities from several hash, use the ""+"" token to separate 2 paths: value_type => 'reference', computed_refer_to => { formula => '! host:$a lan + ! host:foobar lan', variables => { a => '- hostname' } } You can specify "refer_to" or "computed_refer_to" with a "choice" argument so the possible enum value will be the combination of the specified choice and the refered_to values. Methods reference_info Returns a human readable string with explains how is retrieved the reference. This method is mostly used to construct an error messages. AUTHOR
Dominique Dumont, (ddumont at cpan dot org) SEE ALSO
Config::Model, Config::Model::Value, Config::Model::AnyId, Config::Model::CheckList perl v5.14.2 2012-11-09 Config::Model::IdElementReference(3pm)
All times are GMT -4. The time now is 03:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy