Solaris Network Configuration


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Network Configuration
# 1  
Old 06-25-2010
Java Solaris Network Configuration

Hi

How do I configure a network card in Solaris 10? using the command ifconfig, and also please advise me for persisting this ip address what are the files newly created and modify.

I am a new baby in solarisSmilie
# 2  
Old 06-25-2010
Code:
dladm show-link

will give the output of network card interfaces. Then assign a ip-address by using the following command
Code:
#ifconfig eri0 192.168.0.1 netmask 255.255.255.0 up
#svcadm refresh network/physical
#svcadm restart network/physical

Then create a filename called hostname.eri0 in the /etc directory, and put your ip address in that file also made a entry in the /etc/hosts file. Thats it. Reboot the machine and check whether ip persist or not. Cheers
This User Gave Thanks to kingston For This Post:
# 3  
Old 06-25-2010
I tried the same commands.

#ifconfig lo0 plumb
#ifconfig lo0 192.168.90.2 netmask 255.255.255.0 up

created a new file /etc/sun1.lo0 and added the above entry in that

the following entry added in /etc/hosts
#192.168.90.2 sun1 loghost
the following entry added in /etc/netmasks
#192.168.90.0 255.255.255.0
after rebooting ip address is persist but netmask is showing 255.0.0.0
# 4  
Old 06-25-2010
you are trying to configure for loopback connecter which has the default ip-address of 127.0.0.1. It will throw the packets to your card only. Just for testing purpose. whats the output of "dladm show-dev" and "dladm show-link" commands.
# 5  
Old 06-25-2010
The file in /etc should actually ready "hostname.1o0" and contains the ip address or hostname. Are you putting the "#" in front of your entries in /etc/hosts and /etc/netmasks? Reboots aren't necessary either, just use smf like kingston showed you.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Network interface configuration - Solaris 11

Hi, I am new in Solaris 11. I can't even make the NIC work. Here is the issue: Any help will be greatly appreciated. (6 Replies)
Discussion started by: aixlover
6 Replies

2. Solaris

Network configuration

Hi I have installed Solaris 5.10 on Intel x86 machine (standalone). I want to access internet through solaris. How should I configure the network? Is static IP or DHCP advisable? (5 Replies)
Discussion started by: johnl
5 Replies

3. UNIX for Dummies Questions & Answers

network configuration

I am using solaris 10, my internet works alright but each time i reboot i keep loosing my connection. I will have to use the ifconfig iprb0 192.168.1.xx netmask 255.255.255.0 up and Route add default 192.168.1.xxx command to gain back my internet. I know there is a better way of addressing... (1 Reply)
Discussion started by: seyiisq
1 Replies

4. SCO

Network Configuration

I have a SCO 5.07 Server and I am trying to get it on my network. I have edited the /etc/hosts file and /etc/rc2.d/s99route . I has connectivity on the NIC card but not sure if I am forgetting another file. Thanks! (2 Replies)
Discussion started by: andrewd
2 Replies

5. Solaris

Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated. I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies

6. Solaris

network configuration

hi again... i configured my network settings sometiime ago using the sys-unconfig command.the active link was rtls0. there was some problem with the network so i changed the ISP. now when im trying to reconfigure the system wit sys-unconfig, it tries to configure the network on rtls1 (and shows... (1 Reply)
Discussion started by: strider
1 Replies

7. IP Networking

network configuration files

I have solaris 2.8 on an ultra 1 and just configured the following files: defautrouter resolv.conf nsswitch.conf netmasks hosts but when I reboot, my NIC still is not configured. Which file do I need to configure to keep the NIC configured after reboot? (3 Replies)
Discussion started by: DarkLord
3 Replies

8. HP-UX

HP-UX Network Configuration

Hi, I have installed a HP-UX B.11.00 U 9000/800 Server in one of the domain. And I'm also able to telnet/ping into this server from systems in the same domain. But I'm not able to telnet/ping into this server from a different domain. So, what shoud need to do to achieve this... (6 Replies)
Discussion started by: S.Vishwanath
6 Replies

9. UNIX for Dummies Questions & Answers

Network configuration in Solaris 8

Hi. I have installed Solaris 8 and I am trying to configure the network settings. For some reason every time I reboot, my card loses its configuration. I can run ifconfig and the only IP address bound to my card (on either interface) is 127.0.0.1. I can change that to a valid IP address on my... (8 Replies)
Discussion started by: Ask Me
8 Replies

10. UNIX for Dummies Questions & Answers

problem with Solaris in Network configuration

WEe have installed Intel version of Solaris 8 in a machine .we skipped the network configuration at the begning.we selected unnetworked.Now we need to connect the same machine to a network. We configured the Card using ifconfig but its taking the ip address itself as the Default G/W. I need help... (4 Replies)
Discussion started by: premkumar
4 Replies
Login or Register to Ask a Question