Binding a Second IP to an Interface Card

Hey All,
I need to bind a second IP address to my single network card on a Solaris 7 server. I've done this in Linux by adding an additional ifcfg-eth0 file to /etc/sysconfig/network-scripts, specifying the new IP address. With Solaris though, the new landscape has me a bit flustered. I'd very much appreciate a guide through the woods here, my flashlight is going dim...
Much Appreciated,
Chris

Hi Chris,
Here's a write up on this question:
Virtual Interfaces (One interface, different IPs):
Solaris TCP/IP allows multiple logical interfaces to be associated with a physical network interface. This allows a single machine to be
assigned multiple IP addresses, even though it may have only one
network interface. (see the ifconfig man page)
You can define up to 255 "logical addresses" for a given network interface on Solaris 2.x.
There is no supported method to do so on SunOS 4.1.X (Solaris 1.x)
In Solaris 2.6 you can go greater than 256 ( 0-255 ) which is configurable with NDD. The command "ndd -set /dev/ip ip_addrs_per_if 1-8192" will permit you to configure as many as your addressing structure will permit
(up to 8191 virtual hosts.)
1. Create an entry in the /etc/hosts file ( or nis host map) for each of the virtual interfaces with the hostname and IP address you want to use. Don't forget to add the hostname to /etc/hosts NIS, NIS+, and/or DNS database.
2. Create a /etc/hostname.<interface:#> file for each of the interfaces. (/etc/hostname.le0:1, hostname.le0:2, hostname.le0:3...le0:255.)
The file can contain a single line with either the ip number or hostname reference. For example, if you are using the le0 interfaces, you would create the following files:
/etc/hostname.le0:1 (do NOT use a le0:0 - same as le0 )
/etc/hostname.le0:2
and so on
This can also be done for an hme interface. You can have up to 1024 virtual interfaces under 2.5.1 This file should include the hostname or IP address for the corresponding interface.
3. If subnetting is being used, there should be an entry in the
/etc/netmasks file in the following format:
network_address netmask
The network_address should be the network address before
subnetting. For example, a class B network that is subnetted to
a Class C would have an entry such as:
157.145.0.0 255.255.255.0
4. Reboot the system
5. Verify changes with an ifconfig -a
Note: there are some bugs with third party applications/daemons that do not operate well with many virtual interfaces.
Additional Note: For Security and network isolation. You can set ip_forwarding off and ip_strict_dst_multihoming on, if you are trying to prevent access to the other interfaces.
"ndd /dev/ip ip_forwarding" Determines if the workstation will route packets.
"ndd /dev/ip ip_strict_dst_multihoming" Determines whether to use Strict Destination Multihoming. If this variable is set to True, and ip_forwarding is turned off, then the machine will not except packets destined for a different interface. RFC112
If duplicate additional local routes are added (by ifconfig) when the virtual interfaces are on same subnet, then you may need to "route delete net" on these.
A /etc/rc2.d/S99vif file can be added to ifconfig and add/delete routes, etc.
On 2.6 it may be neccessary to turn off interface groups.
To disable this feature (which is on by default) the following line
must be added to /etc/rc2.d/S69inet
ndd -set /dev/ip ip_enable_group_ifs 0
Thanks
Sujeet (Sun-DTS)

Similar Messages

  • 3845 Router do not work with NME-X23ES-1GP Interface card

    Need help!
    I Trying install interface card NME-X 23ES-1GP on 3845 Router. I installed this card in slot 4, but router could not communicate with this card.
    IOS version in Router 12.3
    Here is results show diag command:
    Slot 4:
    Unknown (type 1187) Port adapter
    Port adapter is disabled deactivated
    Port adapter insertion time unknown
    EEPROM contents at hardware discovery:
    Hardware Revision : 1.0
    Top Assy. Part Number : 800-25011-01
    Board Revision : A0
    Deviation Number : 0-0
    Fab Version : 03
    PCB Serial Number : FOC090009VC
    RMA Test History : 00
    RMA Number : 0-0-0-0
    RMA History : 00
    Product (FRU) Number : NME-X-23ES-1G-P
    Version Identifier : V01
    Base MAC Address : 0013.8088.9f80
    MAC Address block size : 128
    EEPROM format version 4
    EEPROM contents (hex):
    Possibly IOS release too old?

    Thank you for link. I read all information on this link. But I can't solve the problem.
    Commands "show version" and "show flash:" show my the IOS image file version on Router (but not on interface modules). Here is Routers IOS image:
    c3845-advipservicesk9-mz.123-11.T5.bin
    I Can't connect to and open a session on the interface module. Command service-module interface slot/port session don't work.
    What I should do next?
    May is ncessarily upgrade Software on router?
    Here is results show version and show flash:
    BIG1#show flash:
    -#- --length-- -----date/time------ path
    1 29801400 Jun 28 2005 04:47:46 +00:00 c3845-advipservicesk9-mz.123-11.T5.bin
    2 1651 Jun 28 2005 04:55:18 +00:00 sdmconfig-38xx.cfg
    3 3085312 Jun 28 2005 04:55:40 +00:00 sdm.tar
    4 763392 Jun 28 2005 04:55:56 +00:00 es.tar
    5 820224 Jun 28 2005 04:56:10 +00:00 common.tar
    6 1038 Jun 28 2005 04:56:24 +00:00 home.shtml
    7 113152 Jun 28 2005 04:56:36 +00:00 home.tar
    8 749101 Jun 28 2005 04:56:52 +00:00 256MB.sdf
    9 1208320 Jun 28 2005 04:57:08 +00:00 ips.tar
    27451392 bytes available (36560896 bytes used)
    BIG1#show version
    Cisco IOS Software, 3800 Software (C3845-ADVIPSERVICESK9-M), Version 12.3(11)T5, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2005 by Cisco Systems, Inc.
    Compiled Sat 02-Apr-05 15:14 by yiyan
    ROM: System Bootstrap, Version 12.3(11r)T2, RELEASE SOFTWARE (fc1)
    BIG1 uptime is 57 minutes
    System returned to ROM by reload at 07:11:45 UTC Tue Jul 12 2005
    System image file is "flash:c3845-advipservicesk9-mz.123-11.T5.bin"
    Cisco 3845 (revision 1.0) with 223232K/38912K bytes of memory.
    Processor board ID FCZ0927714C
    2 Gigabit Ethernet interfaces
    1 Virtual Private Network (VPN) Module
    4 Voice FXS interfaces
    DRAM configuration is 64 bits wide with parity enabled.
    479K bytes of NVRAM.
    62720K bytes of ATA System CompactFlash (Read/Write)
    Configuration register is 0x2102

  • Using NI488.2, is it possible to configure the Interface card as a 'Listen-only' device

    At one time,the older gpib.dll supported the ability to change an interface card register in order to allow the card to function as a Talk-Only or Listen-Only device. I want to do that with version 1.7 of NI488.2. How would I do that? If I switched to VISA, would I be allowed to do this?

    Hi..
    We use a number of different NI Gpib cards here at work in conjunction with some RF test equipment in a development environment. Most of this equipment will only work in a Talker-Only mode and are meant to dump data to a Pen Plotter. My objective is to write a universal application that will allow the PC to emulate a plotter in a 'listen-only' mode. Some of our PCs are older ISA versions (Win98,etc) where others are PCI (Win2000,XP). I want to write the software so that any of these platforms could be used.
    Any suggestions would be appreciated..
    Jim

  • How to get  Network Interface Cards information ?

    hi all,
    how to get Network Interface Cards information and tcp window size by java ?

    807262 wrote:
    how to get Network Interface Cards information Have a look at [url http://download.oracle.com/javase/6/docs/api/java/net/NetworkInterface.html#getNetworkInterfaces%28%29]NetworkInterface.getNetworkInterfaces()
    tcp window sizeWhich one?
    SO_RCVBUF ^[url http://download.oracle.com/javase/6/docs/api/java/net/Socket.html#getReceiveBufferSize%28%29]Socket.getReceiveBufferSize()^
    SO_SNDBUF ^[url http://download.oracle.com/javase/6/docs/api/java/net/Socket.html#getSendBufferSize%28%29]Socket.getSendBufferSize()^

  • UCS Virtual Interface Card 1280 failover

    Hi,
      I'm facing some issues with failover and Cisco UCS Virtual Interface Card 1280.
    I found some information regarding M81KR:
    Cisco UCS M81KR has fabric failover
    The Cisco UCS M81KR offers fabric failover, which enables interface failover at a physical level without involving the OS or hypervisor or certification overhead.
    http://www.cisco.com/en/US/prod/collateral/ps10265/ps10276/solution_overview_c22-555987_ps10280_Product_Solution_Overview.html
    b)  Both uplinks of one FI fail or FI fails : In this case the corresponding server links will be shut since there is no uplink available on an FI. The FI will propagate link-down status to the adapter. Once adapter link-down status occurs, it is the responsibility of the operating system to re-pin traffic to the remaining NIC/HBA. The exception here is with Palo adapter (M71KR and M81KR) which supports fabric failover.
    https://supportforums.cisco.com/docs/DOC-18525
    But I didn't found about Cisco UCS Virtual Interface Card 1280.
    Cisco UCS Virtual Interface Card 1280 is newer than M81KR, anybody knows if 1280 has the same feature? is it possible the failover even if the Fabric Interconnect fails?
    Thanks,

    Hi Mauricio,
    The VIC 1280 has fabric failover as well, from the spec sheet:
    Network architecture
    Provides a redundant path to the fabric interconnect using hardware-based fabric failover
    http://www.cisco.com/en/US/prod/collateral/ps10277/ps11551/data_sheet_c78-677682.html

  • Hi, folks can some body help me¡  How  I can  use  de second  code  to  the  Itunes card  to  use  the  Itunes card.... My  number is vanished, how  i can submit  my  Itunes card?

    Hi, folks can some body help me¡  How  I can  use  de second  code  to  the  Itunes card  to  use  the  Itunes card.... My  number is vanished, how  i can submit  my  Itunes card?

    iTunes Store: Invalid, inactive, or illegible codes
    http://support.apple.com/kb/TS1292

  • UCS P81E Virtual Interface Card

    Hi all,
    This is a newbie question.
    1. Is the UCS P81E Virtual Interface Card compatible with Cisco Catalyst 3750-X and 3560-X Series Switches 10GE Network Module (C3KX-NM-10G)?
    2. Does VIC require a DCE switch such as the Nexus 5000?
    3. Does VIC require a FCoE switch such as the Nexus 5000?
    4. Is there any other requirement?
    TIA
    Joseph

    for server uplink to the LAN Nexus is not a must
    FCoE if used you need a device support it like nexus if you not using it then you do not need
    if want to use multiple gourp links/etherchanne you could use LACP with the Cisco switch
    other requriments is make sure you allow the vlans created in you VM enviroment to be paased over the trunk link in the switch port
    HTH
    if helpful Rate

  • Loading mifare application to java dual interface card

    Hey,
    I have a jcop dual interface card. I have successfully loaded a javacard applet and the data. When i try to update and read binary, im getting a 6985 response.
    this is the command
    #Reader Authenticate
    FF00000009090000000000000000
    9000
    #Mifare Load Keys
    FF0000000A07000060FFFFFFFFFFFF
    9000
    80860000050100040000
    9000
    80D600041036383132313031323341443931383833
    9000
    80860000050100080000
    9000
    80D60008102C373837303031303130333030303231
    9000
    thanks in advance

    these are pseudo APDUs interpreted by the card reader. The mifare protocol is specific an proprietary, it has nothing to do with APDUs.
    if your card is a dual interface javacard that supports mifare, then the card manufacturer may assist you on how to access the mifare memory zone from javacard.

  • Software and Interface card required for DNP3 communication with a protection relay?

    I am looking to build a SCADA Master to perform DNP3 communication between the Master and an Outstation device. I would like to know apart from the Ni - Industrial comm software is there any other Interface card I require to accomplish this task?

    According to this article, that’s all you need. Just make sure you run applications as an administrator and that you don’t have any type of network restrictions. Since you have it installed, I encourage you to test the functionality/connectivity through the shipping examples, which are located on your hard disc at ...LabVIEW XXX\examples\DNP3 folder (also visible at the NI Example Finder). You can modify an example VI to fit an application, or you can copy and paste from one or more examples into a VI that you create.
    Alejandro | Academic Program Engineer | National Instruments

  • How do I set up LabVIEW V6.1 to output analogue signals using a LabJack U12 interface card?

    Hi there,
    I have a LabJack U12 interface card that has two analogue outputs, AO0 and AO1. What I would like to be able to do is set up LabVIEW V6.1 to eventually control the dimming of some external lights, from say a simple control on LabVIEW's front panel.
    I will have some external circuitry connected to the interface card to perform the dimming of the lights, so all I will require is a variable voltage on the output of the card. I think the specification of the card is 0 to +5 volts for the two analogue outputs. I have tried looking on the website for LabJack (www.labjack.com) for any ideas, but with no success! Please find my LabVIEW file as an attachment.
    I would be very grateful for any help on this matter,
    Neil Sampson.
    Attachments:
    Basic_ver6_2_1.vi ‏158 KB

    On the labjack downloads page:
    http://www.labjack.com/downloads.html
    Pick "Labview5 VIs" download. In the zip file is ljacku50.llb, which contains EAnalogout.vi for outputting an analog signal.
    2006 Ultimate LabVIEW G-eek.

  • PCI Video Interface Card for Mac Pro/FCP

    Could someone please recommend a PCI Video Interface card for my Mac Pro? I'm looking for something that will capture in Beta SP, as well as support HD-SDI (bnc connector) -- does such a card exist?
    Thanks!
    Message was edited by: Matinicus Rock

    Matrox:
    http://www.matrox.com/video/en/products/mac/mxo2_family/
    You are flush with options...
    Shane

  • Binding inside nat statement to outermost interface ERROR

    Hello Everyone,
    I am having a problem w/ my PIX501 w/  "Cisco PIX Firewall Version 6.3(4)", upon issuing the command i get this WARNING, is this normal? because it works perfectly fine in version 7.2(2)..
    THE ERROR:
    PIX1(config)# nat (outside) 1 222.127.244.52 255.255.255.252
    WARNING:  Binding inside nat statement to outermost interface.
    WARNING:  Keyword "outside" is probably missing.
    REFERRENCE:
    PIX1# sh nameif
    nameif ethernet0 outside security0
    nameif ethernet1 inside security100

    Also,
    Here is information about the "outside" parameter from the PIX 6.3 command reference
    outside
    If this interface is on a lower security level than the interface you identify by the matching global statement, then you must enter outside. This feature is called outside NAT or bidirectional NAT.
    Note Starting  with PIX Firewall 6.3.2, source translation is performed before  destination translation. For this reason, if the source NAT policy  allows the connection, the xlate will be created, even if the traffic is  denied by the destination policy.
    Source:
    http://www.cisco.com/en/US/docs/security/pix/pix63/command/reference/mr.html#wp1032129
    Remember to mark the reply as the correct answer and/or rate helpfull answers
    - Jouni

  • Dual interface card communication

    Hi,
    I am new to java card technology and going to work on SmartMX dual interface card.
    (http://www.nxp.com/products/identification_and_security/smart_card_ics/smartmx_dual_interface_controllers/P5Cx009_P5Cx072_FAM_SDS.html)
    I would like to know working of dual interface card. Is it possible to write data on java card Via NFC or vice-versa?
    Also, I want to know how to program java card & what kind of hardware I need for programing java card ?
    Edited by: 909587 on Jan 23, 2012 12:16 AM

    I would like to know working of dual interface card. Is it possible to write data on java card Via NFC or vice-versa?You either need to communicate with an applet on the card (that you develop) or interface with MiFARE. You SmartMX should have MiFARE as well as Java Card. What are you trying to achieve? If you can provide more details we may be able to add more information on how to do it.
    Also, I want to know how to program java card & what kind of hardware I need for programing java card ?You will need a PC/SC compliant smartcard reader. You can get dual interface readers with contact and contactless interfaces.
    Cheers,
    Shane

  • Configuration requried for 4 port ISDN S/T Interface card as backup link

    Dear All,
    I have ISDN BRI 4 lines Interface card installed in my company router cisco 2821, I want to configure all 4 BRI lines as an backup link of 512Kbps with same ISP which is directly connected on Serial0/2/0 with 1mbps bandwidth. If my Serial link become down. ALL 4 BRI group dail same ISP with full loaded 512kbps bandwith link.
    Router IOS detail c2800nm-ipbasek9-mz.124-15.T5.bin
    and I have no idea how to impelement in real senerio.
    if any one using same senerio in his live enviroment please send me configration....!
    waiting you reply....

    Respected Sir,
    Thanks for your advise. But This is very helpfull forum of cisco where cisco highly professional persons help their juniors sitting allaround the world, therefore as a junior I have posted my problem here someone give me guide line. How to configure it...?
    Because no one is perfect in whole world everyone is trying to learn more and more in his field, so this is my humbly request if you looking into this matter and help me out.
    I will be very thankfull to you.
    regards

  • Chipset display network adaptor blutooth intel management engine interface card reader

    plesse provide a link for download chipset
    display
    network adaptor
    blutooth
    intel management engine interface
    card reader
    for  hp notebook

    Hi:
    What is the full model number of your notebook and what operating system are you running on it?
    Also is it a 32 or 64 bit operating system.
    There are thousands of HP notebooks, and no one can help you with the lack of information you have provided.

Maybe you are looking for

  • Maintenance view concept clarification needed

    Hello all,    lets take the following into consideration:      1st DB table -  element1(key) , element 2(key) , element 3.      2nd DB table - element1(key)      3rd DB table - elemtent2(key) there is a foreign key relationship created for element1 a

  • Print PLSQL Dynamic content region in PDF format in Oracle Apex

    Hi All, I have created a report region by selecting "PLSQL Dynamic Content".This region calls the procedure with some parameters.So i want this plsql dynamic content to be in PDF format. For an easy understanding, I have created an application in Ape

  • Undocumented new command in iPhoto '08: auto import

    (cross-posted in the iPhoto '08 area) According to its scripting dictionary, iPhoto '08 has a new verb, defined as follows: *auto import* <specifier> Start importing photos from the auto-import folder (Specifier is the object for the command) I've se

  • BC 2.1 cant run on my vista 64bit, can anyone help?

    Hi, I did my installation of vista 64bit on my 2.4ghz macbook pro 15" (quite old model, about a year ago) and yes, i did download BC 2.1 and try to run on it.( i think most of the people cant use 2.0 for installing all of the driver.) i saw someone w

  • Destjet F4480 not communicating with computer

    This printer will not communicate with my new computer since we changed to 8.1. We have tried everything, my computer now says HP is there, but nothing will print. This question was solved. View Solution.