This is a discussion on How to add new interface card and set IP ? within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I have Sun ULtra2, 2x168MHz and OS is Solaris 2.5.1. I have one build in 10Mbps interface card. "/etc/hostname.hme0" ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have Sun ULtra2, 2x168MHz and OS is Solaris 2.5.1. I have one build in 10Mbps interface card. "/etc/hostname.hme0" But now I have new FastEthernet 10/100 card. I want to add in my system. I don"t know any file to config and set IP that system will know new FastEthernet card and have 2 IP address. (IP from old and new interface card) Please let me know more detail how to add and set IP. thank you very much. regards. Pom. |
| |||
| On 14 Aug 2003 04:47:57 -0700, pom2001@my-deja.com (Pom) wrote: >I have Sun ULtra2, 2x168MHz and OS is Solaris 2.5.1. > I have one build in 10Mbps interface card. "/etc/hostname.hme0" > But now I have new FastEthernet 10/100 card. I want to add >in my system. > I don"t know any file to config and set IP that >system will know new FastEthernet card and have 2 IP >address. (IP from old and new interface card) > Please let me know more detail how to add and set IP. > thank you very much. > regards. > Pom. To add a SECOND interface, you need to install it and do a boot -r. Then you need to plumb and then enable the interface. Something like: # ifconfig hme1 plumb # ifconfig hme1 <new_ip_address> netmask <your_netmask> broadcast + up substituting real numbers where appropriate, of course. man ifconfig for all the gory details. --Kent ================================= Kent Smith * IPSO Incorporated Business * Technology * Solutions Financial Services and Accounting Systems Consulting http://www.ipsoinc.com |
| |||
| In article <7c0bff59.0308140347.4e3bfd40@posting.google.com >, Pom <pom2001@my-deja.com> wrote: >I have Sun ULtra2, 2x168MHz and OS is Solaris 2.5.1. > I have one build in 10Mbps interface card. "/etc/hostname.hme0" > But now I have new FastEthernet 10/100 card. I want to add >in my system. > I don"t know any file to config and set IP that >system will know new FastEthernet card and have 2 IP >address. (IP from old and new interface card) > Please let me know more detail how to add and set IP. /etc/hostname.hme1 and /etc/hostname.hme1:0 "man ifconfig" and search for "logical interfaces" -- Barry Margolin, barry.margolin@level3.com Level(3), Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group. |
| ||||
| In article <7c0bff59.0308140347.4e3bfd40@posting.google.com >, pom2001 @my-deja.com says... > I have Sun ULtra2, 2x168MHz and OS is Solaris 2.5.1. > I have one build in 10Mbps interface card. "/etc/hostname.hme0" > But now I have new FastEthernet 10/100 card. I want to add > in my system. > I don"t know any file to config and set IP that > system will know new FastEthernet card and have 2 IP > address. (IP from old and new interface card) > Please let me know more detail how to add and set IP. > thank you very much. > regards. > Pom. a. You have to use boot -r to get the system to recognize it. b. Does the Ultra 2 have a local-mac-address setting at the "ok" prompt? Do a printenv, and see. If it does, then set that value to true. c. You have to add an IP address and name for the new interface in /etc/hosts. d. Your first interface has the name in a file called /etc/hostname.AAA0, where "AAA" depends on what card it is. (That's the same name as in /etc/hosts.) You have to create another, similar, file for the new interface, that contains the name you assigned to the new interface (in step c). If you installed a different kind of interface, then the "AAA" will be different. If you installed the same kind, then "AAA" will be the same but the last character will be a "1" instead of a zero. For step "d" you're probably going to have to check out the documentation for the interface card, and read a few "man" pages... (My explanation above is kind of crappy. Correct, but crappy.) |