Issue Description
Q:
How to add the new ethernet interface on Solaris Operating system?
Alarm Information
Null
Handling Process
A:
There are some steps to do this configuration in the Solaris base system.
Step 1:-Login to Operating system as a root user.
Step 2:-
Find the network interface by using the following command.
bash-2.05$ more /etc/path_to_inst | grep net
“/pci@1f,700000/network@2” 0 “bge”
“/pci@1f,700000/network@2,1” 1 “bge”
“/pci@1e,600000/network@2” 0 “ce”
“/pci@1d,700000/network@2” 2 “bge”
“/pci@1d,700000/network@2,1” 3 “bge”
bash-2.05$
Suppose you want to configure the ce0 interface.
#ifconfig ce0 plumb
Step 3:-
Set the ip address and subnet mask of the interface.
#ifconfig ce0 inet <ipaddress> netmask <subnet mask>
Step 4:-
make the interface up.
#ifconfig ce0 up
Step 5:
Create/add the entry of ip address in the hostname file
#vi /etc/hostname.ce0
Add the ip address of ce0 /etc/hostname.ce0
<ip address of ce0>
Step 6:-
Add the entry of ip address in the /etc/hosts file.
#vi /etc/hosts
Add the following line in the file.
<ce0 ip address> ce0
Step 7:-
Add the entry of subnet mask in the /etc/netmask file.
#vi /etc/netmask
Add the following line in the file.
<ce0 network> <subnet mask>
Step 8:
Add the static route for the new interface network.
Permanent route.
-#cd /etc/rc2.d
#vi Sstaticroute
Add the following line in the file.
#route add -net <ce0 network> <gatway IP address>
Step 9:-
Temporary route.
#route add <ce0 network> <gatway IP address>
Root Cause
Adding the ethernet interface for expension/new netwrok expenssion.
Suggestions
No need to restart the server after adding the ethernet interface on Solaris based system.
Comments are closed