Logical interface in solaris 10

Hi there,
I need to configure logical interface in a solaris 10 3/05 server. After reading the Solaris 10 IP services manual, I am not quite sure what to do. All the examples and explanation are about using the new subcommand addif of ifconfig. It was not clear in the documentation if the setting logical interfaces via addif will persist across boot.
Can one still configure logical interface in Solaris 10 in a more traditional way like in Solaris 8? In an Solaris 8 server I will do the following.
Let's assume I want to configure in a solaris 8 server a logical interface named hme0:1 with IP address 192.168.20.28 with netmask 255.255.255.0 for hostname host001
# cat /etc/hostname.hme0:1
host001
^D
# echo "192.168.20.28 host001" >> /etc/inet/hosts
# echo "192.168.20.0 255.255.255.0" >> /etc/inet/netmasks
# reboot -- -r
Can one still do that in solaris 10 3/05 server?

Hi there,
I need to configure logical interface in a solaris 10
3/05 server. After reading the Solaris 10 IP services
manual, I am not quite sure what to do. All the
examples and explanation are about using the new
subcommand addif of ifconfig. It was not clear in the
documentation if the setting logical interfaces via
addif will persist across boot.No. No 'ifconfig' command is persistent.
Can one still configure logical interface in Solaris
10 in a more traditional way like in Solaris 8? In an
Solaris 8 server I will do the following.
Let's assume I want to configure in a solaris 8
server a logical interface named hme0:1 with IP
address 192.168.20.28 with netmask 255.255.255.0 for
hostname host001
# cat /etc/hostname.hme0:1
host001
^D
# echo "192.168.20.28 host001" >> /etc/inet/hosts
# echo "192.168.20.0 255.255.255.0" >>
/etc/inet/netmasks
# reboot -- -r
Can one still do that in solaris 10 3/05 server?Absolutely.
You don't need to reboot (you can run ifconfig for this boot and let the files do the work next time) and the -r doesn't do anything with interfaces (expecially virtual interfaces) anyway.
Darren

Similar Messages

  • Solaris 10 ip address of outgoing packets on logical interfaces

    Hi there.
    I have a Sun here with Solaris 10 and one physical interface e0 and one logical interface on it e0:1.
    e0 has address 1.2.3.4
    e0:1 has address 1.2.3.5
    gateway is 1.2.3.254
    To every ip address I bind a sendmail deamon.
    For incoming connection the ip packtes come out with the right ip address
    from the interface to which the connection was established.
    But for outgoing packets it seems that only the ip address of e0 is used even if the sendmail on e0:1 makes an outgoing connection.
    On Solaris 9 every app that binds to an logigical interface uses that ip for outgoing connection, but on Solaris 10 it looks, that only the ip address of the primary (physical) interface (e0) is used.
    Is there a way to make outgoing connections of apps binding e0:1 to use the ip address of the e0:1 interface?
    I dont use zones, both interfaces are in the global zone.

    I'm not that familiar with postfix, but thats where the solution should be. As I mentioned earlier in this thread, the application has full control here and should be the place to set it. I'll bet postfix has a setting for what outbound IP address to use.
    Trying to coerce this at the OS level is much more difficult.
    Especially with your phrase about "if packet enters..." There's two possible things you might mean by that.
    #1 is if the packet coming in starts a TCP session. That session sets the two IP addresses, and the OS can't override that address for outbound packets. The usesrc setting is only valid for TCP sessions started by your machine.
    #2 is if the "packet coming in" you refer to really means an email in (which gets completed), and then your machine sends an email back out. But then there's no association (in the OS) between the two emails, so it doesn't know that this mail "should" go out that interface.
    In both cases, I think you'll want postfix to handle this.
    Darren

  • Need assistance in creating a logical interface in PIX 7.2

    Hi,
    I've recently upgraded my pix 525 from 6.3 to 7.2. Now I need to take a spare interface (ethernet4) enable this interface and create sub interfaces to use to communicate to my inside network by mapping to inside vlans.
    In 6.3, I would do the following (example)
    niterface ethernet4 vlan240 logical
    nameif vlan240 PROD security 25
    ip address PROD 192.168.1.2 255.255.255.0
    Now that the 7.2 command set is really different and I do not have a test PIX to test with, I'm hoping that someone would have an example for me.
    Goal: My remote location (VPN/GRE) needs to communicate to my local networlk. But, I am not advertising this subnet in ospf. I want to map an advertised IP to this inside non-advertised IP. Setting up a logical interface is how I can achieve this.
    Please advise with samples.
    Regards
    jeff

    Hi,
    I think this will help :-
    http://www.cisco.com/univercd/cc/td/doc/product/multisec/asa_sw/v_7_2/conf_gd/general/intrface.htm#wp1044006
    Regards,
    Vivek

  • Zone with multiple logical interfaces

    Hi,
    How can multiple logical network interfaces be added to a running zone?
    I have configured and installed a whole root zone with one shared-ip network interface.
    Now, I need to add more logical interfaces to the same zone.
    On a physical server with a bge interface, I would create a /etc/hostname file for each logical interface such as
    $ ls /etc | grep host
    hostname.bge0
    hostname.bge0:1
    hostname.bge0:2
    hostname.bge0:3
    hostname.bge0:4
    hostname.bge1
    hostname.bge1:1
    hostname.bge1:2
    hostname.bge1:3
    hostname.bge3
    hosts
    $How can the above be done for a zone?

    Hi
    This requires 2 steps. Firstly update your zone configuration to add the logical interface and its associated IP address.
    Assuming from below you want the logical interface to be added to bge0 then do the following replacing the zonename and ip address for whatever is appropriate for you.
    # zonecfg -z itchyzone
    zonecfg:itchyzone1> add net
    zonecfg:itchyzone1:net> set address=192.168.1.21
    zonecfg:itchyzone1:net> set physical=bge0
    zonecfg:itchyzone1:net> end
    zonecfg:itchyzone1> exitYou can do the above as many times as you like to create multiple logical interfaces for the zone.
    After doing the above you will need to reboot the zone to get the new logical interface.
    However if you cant reboot the zone you can plumb a logical interface into the zone by running something similar to the following (change for your zonename, IP etc) from the global zone:
    # ifconfig bge0 addif 192.168.1.21 netmask + broadcast + zone itchyzone1 upyou will now have an extra interface in the zone (in this case called itchyzone1). To verify, login to the zone and run ifconfig -a and you will see your new interface.
    # zlogin itchyzone1
    [Connected to zone 'itchyzone1' pts/4]
    Last login: Mon Oct  5 22:24:15 on pts/4
    Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
    # ifconfig -a
    lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    bge0:2: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
            inet 192.168.1.20 netmask ffffff00 broadcast 192.168.1.255
    bge0:3: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
            inet 192.168.1.21 netmask ffffff00 broadcast 192.168.1.255Hope this helps
    Martin

  • Number of logical interface

    Hi all,
    How can i programatically get the total number of logical interfaces that are added to a particular interface ???
    thanks,
    rakesh

    Hi,
    Yes i am talking about the Logical interface. Considering that my n/w interface is "le0", i want to programatically determine what are the locial interfaces that are attached to it (i.e le0:1, le0:5.....etc)
    thanks,
    rakesh

  • Interfacing with Solaris IP/ICMP and ARP

    Hi,
    I am writing a sample driver that interfaces with Solaris IP, ARP and ICMP.
    1. I want to get the routing table information from IP from kernel. Is it possible via some standard interfacing?
    2. I want to get the ARP entries from ARP cache or send arp requests .
    3. I want the ICMP module to generate some error messages
    Can these be achieved from the kernel?
    Any info in this topic would be of great help.
    Thanks,
    Amudha

    What was the solution?
    I am trying to intercept arp send/replies
    on the standard ethernet driver. Is this possible?
    Perhaps you can help me with some code.

  • STP Logical Interfaces, virtual ports

    As you probably know one have to take in account the max available numbers of virtual ports and logical interfaces for Spanning Tree when designing a switched network based on catalyst 6500's. Does somebody know if you also have these parameters if you're designing a network based on 4500's or 3750 stacks? And where to find it on the Cisco site
    Rgrds

    My issue deals with Spanning Tree Protocol or better the scalability of STP. see the following document:
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/122sx/ol_4164.htm#wp26366
    For choosing the right spanning tree protocol (RPVST+ or MST) you have to take logical interfaces and virtual ports into account on the 6500 platform. But what if you decide to use a different platform, for instance a 3750 stack.
    Rgrds
    Aad

  • Changing a Network Interface on Solaris 8

    This is the joke:
    1- Solaris 8 was first installed with a NIC not recognized by Solaris (in-board)
    2- A compatible PCI Card has been installed (3Com 3C905B-TX).
    3- Old Card has been desactived in the BIOS. No IRQ conflict.
    4- At reboot, the Configuration Assistant recognizes the device...
    5- At boot, the system does not manage to configure the interface.
    The reason comes from that the interface is not recognized by
    ifconfig (does not appear in result of "ifconfig -a").
    The message "BAd File Number" is obtained with "ipconfig elxl0 plumb".
    Questions: - Why?
    - Is there a solution? (apart to reinstall the system...)
    Hints:
    - the interface should be named "elxl0"
    (because it is the name of the 3Com interface on other Solaris PC's).
    Is it right ????
    - the driver name elxl does not appear in the PCI devices of "prtconf -D"
    - but the file /kernel/drv/elxl exists !
    Waiting for enlighting, thanks very much!!!!

    Try to change the network binding on the server
    http://technet.microsoft.com/en-us/library/cc732472(WS.10).aspx
    Try to delete the hidden network adapters as well. 
    Open Device Manager, from the File menu, expand the View and select the Show Hidden Devices option. This will enable and show any old un-used devices in the window
    http://www.gfi.com/blog/how-to-remove-hidden-network-adapters-from-virtual-machines/
    Thanks,
    MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Intel network interface with Solaris 10 x86

    Hi,
    I have been Googling all evening to try and find a solution to this, but here is the problem:
    I have a PC built around an Asus P4C800-E system board, and I have Solaris 10 x86 01/2006 installed. I would like to get the Ethernet interface (Intel adaptor, running on a CSA bus) up and running - but for some reason I can't seem to get the driver to bind to the proper address (pci8086,1019 - from what I have been able to find out): It instead insists on binding to pci1043,80f7. Even though pci8086,1019 is listed in /etc/device_aliases, it won't play nice.
    I know the NIC is working, and have tried it under other OSes (including Linux).
    Although Solaris x86 "sees" something there, and the interface is plumbed (it can even tell when the network link is up or down), I can't get the interface to work - pings do not work, etc.
    Is there a way I can convince the driver to bind to pci8086,1019 instead of pci1043,80f7?
    Any assistance would be greatly appreciated.
    Joovilhar.

    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>Joovilhar wrote on Wed, 08 March 2006 02:14</b></td></tr><tr><td class="quote">
    I can't seem to get the driver to bind to the proper address (pci8086,1019 - from what I have been able to find out): It instead insists on binding to pci1043,80f7. Even though pci8086,1019 is listed in /etc/device_aliases, it won't play nice.
    </td></tr></table>
    Is 1043,80f7 the device's pci subsystem vendor and subsystem device id?
    And 8086,1019 is the normal vendor/device id?
    In this case everything would work as expected.
    What is listed by "/usr/X11/bin/scanpci -v" for the ethernet controller?
    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>Quote:</b></td></tr><tr><td class="quote">
    I know the NIC is working, and have tried it under other OSes (including Linux).
    Although Solaris x86 "sees" something there, and the interface is plumbed (it can even tell when the network link is up or down), I can't get the interface to work - pings do not work, etc.
    </td></tr></table>
    Try to boot the kernel with various settings of the "acpi-user-options" variable,
    to disable / enable ACPI. In previous Solaris x86 releases, when
    something went wrong configuring an interrupt vector for a nic device,
    the typical end result is a nic that is unable to receive incomming
    packets. Maybe your Asus P4C800-E is still problematic with ACPI, with
    S10 x86 1/2006, and needs the acpi-user-options workaround.
    http://blogs.sun.com/roller/page/danasblog?anchor=configurin g_solaris_acpi_at_boot
    To change the "acpi-user-options" variable, edit the grub boot command
    line and edit the "multiboot" line, e.g. append "-Bacpi-user-options=0x2".

  • Network interfaces in solaris 10g guests

    Dear all,
    I installed solaris 10 on vm server but it doesn't recognize the virtual network interfaces in the system, i tried all the network command in the OS but no way i was able to solve it.
    Please advice.

    You can see all installed interfaces by running 'grep network /etc/path_to_inst'. An example:
    grep network path_to_inst
    "/node@1/pci@8,600000/network@1" 0 "ge"
    "/node@1/pci@9,700000/network@1,1" 0 "eri"
    "/node@1/pci@9,700000/pci@2/network@0" 0 "ce"
    "/node@1/pci@9,700000/pci@2/network@1" 1 "ce"
    "/node@1/pci@9,700000/pci@2/network@2" 2 "ce"
    "/node@1/pci@9,700000/pci@2/network@3" 3 "ce"
    "/node@1/pci@9,600000/network@2" 4 "ce"
    shows, ge0, eri0, ce0 - ce4

  • How to get the free space from logical drive for solaris installation?

    Hi.. I am using win-xp.In the extended drive I have freed 10gb by deleting one of the logical drives.I wish to know how to proceed for solaris installation in the space available with out disturbing the data in other logical drives.Is there any tool?

    Hi,
    See: http://www.sun.com/software/solaris/self_help.jsp
    At the bottom of that page, FAQ # 3
    HTH,
    John

  • Network Interface Configuration Solaris 7

    Hi,
    I'm new on Solaris platform. How does one change the gateway IP address to a new gateway IP address. I've tried "route change" command but no success. Any suggestion is very much appreciated.
    Kala
    Telikom PNG Ltd

    Changing the IP address on a server can be quite involved if there are applications running on the server that "know" about the machines IP address ( typically databases ).
    Ordinarily, if you are only changing the IP address you could use the ifconfig command. You might also need to change the netmask value.
    Be careful, if your doing this remotely, say via telnet, once you run the ifconfig command and the IP changes, you will loose your connection to the server. It's best to try this sort of thing whilst your on the system console. If there is any mistake in your command and the interface is configured incorrectly or goes down, you will not be able to reconnect unless your on the system console.
    If you want the IP address change to be persistent ie after reboots, you will need to edit the /etc/hosts file and add the new IP address in. If your using DNS and/or NIS/NIS+ then these files will also have to be changed.

  • Automatically starting DHCP on second ethernet interface in Solaris 8?

    Hello,
    In my current setup, I have a Solaris 8 server with two ethernet interfaces - elxl0, which is connected to my internal network and has a static IP, and elxl1, which is connected to a cable modem and gets its address via DHCP.
    When I reboot the machine, it brings both interfaces up, but does not start DHCP on elxl1 automatically. I have an empty /etc/hostname.elxl1, which I thought was supposed to tell the OS to use DHCP for that interface. I have to manually tell the interface to get an address using ifconfig auto-dhcp start.
    Is there a way to tell the OS to use DHCP for elxl1 without disturbing elxl0? It would make things significantly more convenient for me, since now I have to manually start DHCP, and then reload my IP Filter NAT rules.
    Any assistance you could provide would be greatly appreciated. Thanks!
    - Brad Williams

    I figured it out.
    What you have to do is add a file, /etc/dhcp.<interface>, in order to make this work. In my example, the file would be "/etc/dhcp.elxl1".

  • Admin interface for solaris zones

    Is there any admin interface available for zones . Like may be web based ?

    Mike-Kirk wrote:
    Hi Arronfree,
    arronfree wrote:
    What about xVM Ops center? It looks like it has VM admin but I have not actually seen the program and I have not actually seen a price.
    Implicate_Order is right, [Solaris Container Manager|http://www.sun.com/software/products/container_mgr/index.xml] (part of [Sun Management Center|http://www.sun.com/software/products/sunmanagementcenter/index.xml]) provides that single web page to manage (create/destroy/boot/halt/migrate/copy/resource-cap) zones. xVM Ops Center is a fantastic tool for patching and provisioning system amongst other things, but doesn't have all SCMs zone features, yet.
    Don't post advertisements. You account will get blocked if you continue with it! I'm blocking your original post.
    Kaj

  • Porting Interface driver solaris 8 to 9

    Hi All,
    I am porting a token ring driver from solaris 8 to solaris 9.
    I want to know is there any change in the driver of these.
    I did not find any difference. Does it requiers porting?
    Is there any porting guide.?
    Thanks in advance.
    Regards
    Purush

    hi purush
    i am developing char driver in solaris
    when i do ddi_put32 or ddi_get32
    one of the arg is addr
    so how to get that addr
    (i ma siddappa's friend manzoor u&i system design)

Maybe you are looking for

  • Hi. I'm trying to install Lightroom 4 but it's not downloading. Lightroom 5 won't work.

    Hi. I'm trying to install Lightroom 4 but it's not downloading. Lightroom 5 won't work.

  • Bridge think photoshop is busy with a task  -  CS6/Window 7

    Bridge keeps telling me that photoshop is busy with a task and asks if a wish to queue the request. Photoshop is not busy. I can go to photoshop and open and close items, run batch process, ect. I even tried closing and opening Photoshop. Bridge stil

  • BRBACKUP terminates during FullOnline of Oracle Database

    Hi, Our FullOnline backups (to disk) of a Production Oracle database are failing with the following error message: BR0278E Command output of 'e:\oracle\SID\920\bin\RMAN nocatalog': Recovery Manager: Release 9.2.0.5.0 - Production                     

  • How to restrict fileAdapter??

    Hi All, I am using JDev 10.1.3.3 and SOA 10.1.3.3. I have 100 files in a folder. I need to read the filenames and directory. I have done those things by using InboundHeader.wsdl. Now the requirement is I need to read only first 10 files. How can I st

  • Error U44M1P7, reinstall also failed.

    I had a message this morning on my computer that Creative Cloud apps needed to be updated. Photoshop and I think InDesign. InDesign was ok, at least no error messages, but PS reported "update failed, error U44M1P7." I tried again and same message app