assigning ip to second interface


 
Thread Tools Search this Thread
Operating Systems Solaris assigning ip to second interface
# 1  
Old 02-01-2008
MySQL assigning ip to second interface

Hi,

I have just installed Sun Solaris 8 on my Sun Server Machine.
I have assigned a one ip to eri0 interface. i want to assign anohter ip to the another ethernet interface but i am not able to find it. can any body help me to assigning the second ip to the second inteface so that i can able to assign to ip to the server machine.

thanks.
# 2  
Old 02-01-2008
please post the output of:
Code:
ifconfig -a
grep net /etc/path_to_inst

# 3  
Old 02-02-2008
PHP Rep: Assigning ip to second interface

the output of ifconfig -a

lo0= flags=1000849 <UP, LoopBack, RUNNING, Multicast, IPV4> mtu8232 index 1 inet 127.0.0.1 netmask ff000000

eri0= flags= 1000843 <UP, Broadcast, Running multicast, IPV4> mtu 1500 index2, inet 168.10.20.22 netmask ffff0000 broadcast 168.10.255.255 ether 0:3:ba:16:eb:5d
# 4  
Old 02-02-2008
and what is about the second command?
# 5  
Old 02-04-2008
PHP assiging ip to second interface

no output is shown
# 6  
Old 02-04-2008
hmm, if no output is shown... do you know what interface you have? what kind of mashine is it (uname -a) an is it an internal interface or an extension card?
# 7  
Old 02-06-2008
PHP Rep: IP To Second Interface

i run this command uname -a and it gives the following information.

SunOs hostname 5.8 Generic_108528-13 sun4u sparc SUNW, Sun-Fire-280R

It has all the default specifications.

but i do not know that what kind of card is attached and how to install the other card.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

2. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

3. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

4. Shell Programming and Scripting

Assigning variables

i have variables RECIPIENTS_DEVL,RECIPIENTS_UACC,RECIPIENTS_PROD i have a case statement to get the phase variable: case ${WMD_UPHASE1} in u) WMD_UPHASE4=UACC;; i) WMD_UPHASE4=DEVL;; p) WMD_UPHASE4=PROD;; d) WMD_UPHASE4=DEVL;; *) WMD_UPHASE4=DEVL;; esac I am unable to... (3 Replies)
Discussion started by: Arun Mishra
3 Replies

5. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

6. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

7. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

8. HP-UX

Assigning IP's

hi all, i want to know where i can add and IP address so when i do a "w", i can see what IP is assigned to which tty? i know in tru64 you just added an entry to /etc/hosts. this does not seem to be the case with hpux. thanks (12 Replies)
Discussion started by: macgre_r
12 Replies

9. UNIX for Dummies Questions & Answers

assigning variables

Before I even attempt this, is it possible to grep for a pattern, maybe a partial sentence like "go to page 3", assign that to a variable and then use awk or something to pull out the 3 and assign it to a variable? So first I would have Gotopg = "go to page 3" then page = 3 (9 Replies)
Discussion started by: k@ssidy
9 Replies
Login or Register to Ask a Question