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 |
Explain about Vxrecover?
If you have forgotten the root password for a server, how do you get back in?
Default path for patches
How to find the kernel bit version or architecture
can you explain about the vxencap command in veritas volume manager?
In an NIS environment if user forgot is password, then as an admin what you will do?
Which command is used to backup and restore solaris file system?
how will you execute backup and restore using the tar command in a single command
What is WWN on storage
Hi We have upgraded our sun machine from solaris 9 to solaris 10. Before upgradation the date command output(Solaris 9) Wed Oct 13 09:45:21 IST 2010 But after upgradation the output for date is as below(solaris 10). Wednesday, October 13, 2010 9:46:14 AM IST Looks like I need to change LC_TIME=C. can you please help me how to change it for permanently
How will you comment error line in /etc/system file
I have a TCP error how can fix this error?