how to configure ethernet card.
Answers were Sorted based on User's Feedback
Answer / phani
First check whether this device is there in the file
/etc/path_to_inst.
the interfaces are of the types like hme0, rtl, bge0 ... etc.
run vi /etc/path_to_inst and check whether one of the type
is there in the file.
then run the command
ifconfig <interface name> <Ip address> plumb
ifconfig <interface name> <Ip address> up
ifconfig -a - shows your ip address of the system.
eg: ifconfig <rtl> <192.168.51.45> plumb
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ratheesh
1. Verfy the interface is avaiable
grep -i <interface name> /etc/path_to_inst
ex:grep ce /etc/path_to_inst
2.Plump the interface
ifconfig <interface name> plumb
ex:ifconfig ce0 plumb
3.Configure the ipaddress with the interface
ifconfig <interface name> <ipaddress> netmask <netmask
value> broadcast + up
ex:ifconfig ce0 168.152.10.19 netmask 255.255.255.254
broadcast + up
4. use the below command to check the configuration
ifconfig -a
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sasi
#dladm show-dev -- to see interface name
#ifconfig <interface_name> plumb
#ifconfig <interface_name> <ipaddress> up
#ifconfig -a
| Is This Answer Correct ? | 3 Yes | 0 No |
first we need findout the nic :-
#grep -i network /etc/path_to_inst
then
#ifconfig nicname plumb ip subnet subnet-ip up
#ifconfig -a (for Checking ip)
ofter we need edit two file for making ip perminent
1)/etc/hosts
2)/etc/inet/ipnodes
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you search for commands at the boot prompt if you only know part of the command?
what is the difference between solaris 8&9,
What is mean by paging & server average time.
Which file maintain the kernel
After creating user account successfully it shows 64 blocks.what for these 64 blocks are used and what information is stored in this blocks?
In a two node cluster how can you bring the one of the node in maintenance mode.
How to find out the shared file system from server and client
What is difference between g G while creating useradd?
how to add a script, that execute at start time
How to configure the network card
Which command to lock the user Account?
I don’t want to ask password reset in ever month to particular user. How to enable the same for only one user.