Two contexts sharing the same physical interface

Hi,
I have been looking for a configuration guide on how to set up one physical trunked interface to be shared between two contexts.  I am sure I am just using the wrong search words but have as of yet been unable to find anything on this. Anyone able to provide a link please?
Thanks           

Hi,
I have not linked (or have the need to) 3 Security Contexts before but I would imagine you could modify the above configuration a bit to achieve that also
interface GigabitEthernet0/0
description TRUNK
interface GigabitEthernet0/0.100
description SC1 - OUTSIDE
vlan 100
interface GigabitEthernet0/0.200
description SC2 - OUTSIDE
vlan 200
interface GigabitEthernet0/0.10
description SC1 - INSIDE
vlan 10
interface GigabitEthernet0/0.20
description SC2 - INSIDE
vlan 20
interface GigabitEthernet0/0.12
description SC1 - TRANSIT
vlan 12
interface GigabitEthernet0/0.21
description SC2 - TRANSIT
vlan 21
context TRANSIT
  description SC1 to SC2 TRANSIT SC
  allocate-interface GigabitEthernet0/0.12
  allocate-interface GigabitEthernet0/0.21
  config-url disk0:/TRANSIT.cfg
context SC1
  description SC1
  allocate-interface GigabitEthernet0/0.100
  allocate-interface GigabitEthernet0/0.10
  allocate-interface GigabitEthernet0/0.12
  config-url disk0:/SC1.cfg
context SC2
  description SC2
  allocate-interface GigabitEthernet0/0.200
  allocate-interface GigabitEthernet0/0.20
  allocate-interface GigabitEthernet0/0.21
  config-url disk0:/SC2.cfg
I am not sure if this would be the way but that is how I imagined at the moment.
The setup should look something like this
Totally different matter would there be a better way to achieve the same as above
- Jouni

Similar Messages

  • DMVPN & GRE over IPsec on the same physical interface

    Dear All,
    I'm configuring two WAN routers, each wan router has one physical interface connecting to branches and regional office using same provider.
    We'll be using GRE over IPsec to connect to regional office and DMVPN + EIGRP to branches.
    I would like to know if it's possible to configure tunnels for GRE over IPsec and DMVPN + EIGRP using the same source physical interface.
    Kindly reply, it's an urgent request and your response is highly appreciated.
    Regards,

    Hi Savio,
    It should work. we can configure dmvpn and gre-over-ipsec on ASA using same physical interface.
    Regards,
    Naresh

  • Two environments to the same physical location

    May I open two environments (one readonly and one with write access) to the same physical location on the disk?
    I think to use the one with readonly access as consumer of data but the second as manager and provider of data.
    Both environments will be established by different processes (applications) or VMs.
    Is there any special order (sequence) to open them or there is not any.
    Thanks.

    Hi,
    First, please see this documentation about read-only processes:
    http://www.oracle.com/technology/documentation/berkeley-db/je/GettingStartedGuide/multiprocess.html
    Read-only processes are very limited because changes made by the writer process are not automatically seen by the reader process, as described in the 3rd bullet of the documentation. To get around this limitation, replication can be used. Replica processes do see changes made by the writer process. For information on replication see:
    http://www.oracle.com/technology/documentation/berkeley-db/je/ReplicationGuide/index.html
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Two Threads Sharing the Same Object

    I am learning Java multithreading recently and I really hit the wall when I came to synchronizing data using the synchronized keyword. According to the explanation, synchronized will only work when 2 or more threads are accessing the same object. If there are accessing 2 different objects, they can run the synchronized method in parallel.
    My question now is how to make sure for synchronized method to work, I am actually working with the same and only one object??
    Imagine this:
    Two person with the same account number are trying to access the very ONE account at the same time.
    I suppose the logic will be:
    Two different socket objects will be created. When it comes to the login or authentication class or method, how can I make sure in term of object that the login/authentication class or method will return them only ONE object (because they share the same account), so that they will be qualified for using the synchronized method further down the road?
    Thanks in advance!

    Actually your understanding is wrong. Consider:
    public class MyClass {
      private int someInt;
      private float someFloat;
      private synchronized void someMethod(final int value) {
        if (value > 2000) someInt = 2000;
      private synchronized void someOtherMethod(final float value) {
        if (value > 2.0) someFloat = 1.999f;
    }YOu might think that two different threads can enter this code, one can enter in someOtherMethod() while one is in someMethod(). That is wrong. The fact is that synchronization works by obtaining synchronization locks on a target object. In this case by putting it on the method declaration you are asking for the lock on the 'this' object. This means that only one of these methods may enter at a time. This code would be better written like so ...
    public class MyClass {
      private int someInt;
      private float someFloat;
      private void someMethod(final int value) {�
        synchronized(someInt) {
          if (value > 2000) someInt = 2000;
      private void someOtherMethod(final float value) {
        synchronized(someFloat) {
          if (value > 2.0) someFloat = 1.999f;
    }In this manner you are only locking on the pertinent objects to the method and not on 'this'. This means that both methods can be entered simultaneously by two different threads. However watch out for one little problem.
    public class MyClass {
      private int someInt;
      private float someFloat;
      private void someMethod(final int value) {�
        synchronized(someInt) {
          if (value > 2000) {
            someInt = 2000;
            synchronized (someFloat) {
              someFloat = 0.0f;
      private void someOtherMethod(final float value) {
        synchronized(someFloat) {
          if (value > 2.0) {
            someFloat = 1.99999f;
            synchronized (someInt) {
              someInt = 0;
    }In this case you can have a deadlock. If two threads enter one of these methods at the same time one would be waiting on the lock for someInt and the other on the lock for someFloat. Neither would proceed. The solution to the problem is simple. Acquire all locks in alphabetical order before you use the first.
    public class MyClass {
      private int someInt;
      private float someFloat;
      private void someMethod(final int value) {�
        synchronized (someFloat) {
          synchronized(someInt) {
            if (value > 2000) {
              someInt = 2000;
              someFloat = 0.0f;
      private void someOtherMethod(final float value) {
        synchronized(someFloat) {
          if (value > 2.0) {
            someFloat = 1.99999f;
            synchronized (someInt) {
              someInt = 0;
    }In this manner one thread will block waiting on someFloat and there can be no deadlock.

  • Two computers sharing the same PC Music Library databa

    Is there any way two computers can share the same music library database? It's easy to share the mp3 files, but I want to share the database (which contains the playlists and smart playlists). I haven't been able to find a way to point the Organizer at a different database location (the default location is \Documents and Settings\{username}\Application Data\Creative\Media Database.
    Thanks,
    Jeff

    No, you cannot share the PC Music Library database. What you can do is that you can backup the PC Music Library database from the "master" PC and then bring the backup to the other PC and restore it to the other PC. You can perform the backup and restore in MediaSource's Tools->Settings->PC Music Library.

  • I have two iphones sharing the same e-mail and if one deletes an incoming email, it is deleted from the other iphone.  How can I stop that?

    I have two Iphones that share the same email.  we got new 4s phones.  Now if one person checks/deletes email, it does not show up on the other phone
    and it is taken off the server.
    How can I fix that?
    I want it to go to both phones and to remain on the server even if I delete it off my phone.
    Thanks

    You must be using a POP3 account like verizon.net
    using IMAP like gmail will help some of your problem, not all...
    even on IMAP accounts once one person checks the email it will not show as a "new" message anymore... and if deleted it will still be gone from both phones...
    There are settings you can change in the advanced section of the IMAP account settings that designate the phone NOT to delete messages at all as well... thought this is also an option on POP3 account settings too.

  • TS1474 Two iPhones sharing the same iTunes account - how do we create a new account for one of them now that both phones have been registered with the same account?

    We have recently upgraded 2 iPhones to the 4S and are having difficulties registering with the same log in and passwords in iTunes. 
    How can we re-register one of them with it's own identity and avoid the same apps being copied o both devices?
    We would like each iPhone to have it's own identity but use the same computer for backing up.

    Hi, you will need to set up a new user account on the computer. The iTunes on this new user will be empty but you can download past iTunes purchases from the iTunes store

  • Address Book - two users sharing the same address book

    My wife and I have separate accounts on the same mac. How can she share access to my address book. I tried to copy it over to a new directory in the same path ie, users>name>library>applicationsupport>addressbook - but this didn't work and caused the dreaded spinning icon.

    Checkout the macosxhints.com article "Share one Address Book among multiple users".

  • Sharing iTunes libraries from two accounts on the same physical box

    I have two users set up for fast user switching on a single box. both users are active. each has its own copy of iTunes running, each with its own library, each set up to share. the firewall has iTunes sharing enabled.
    from a separate copy of iTunes on a different box, I can see both libraries posted for sharing. if I try to open one of them (belonging to the administrator account), sharing works as advertised. if I try to open the other, loading times out, and the share fails with error code 3359.
    is the problem that only one copy of iTunes on a physical box can be shared at a time? or is there some other configuration issue I've not taken account of?
    thanks
    G5   Mac OS X (10.4.5)   iTunes 6.0.3

    thanks for your response.
    if you've submitted a feature request, it may be a lost cause for the moment. what I find, however, is that if both are logged on and active, it's the one that started first that's available.
    regards.

  • Aperture in two machines sharing the same library... possible?

    I want to have one library which I could share between two machines (Ive got an iMac and a MBP). But I'd like to keep the library in iMac and access it on MBP over the network. I don't need use it simultaneously, but I don't want to use an external drive for it either... Any ideas? Thanks

    Ian, and others,
    I am maintaining multiple boot volumes on my Mac Pro, with the primary ones being one for Tiger and one for Leopard. At the moment I am separately maintaining Photoshop CS3 and Final Cut Studio on each of those. I have recently installed Aperture on that Leopard boot. I now plan to establish another Leopard boot (using a WD 750 GB drive), primarily for the pro apps such as PS CS3, Aperture and Final Cut Studio 2 (an upgrade) while maintaining FCS 1 on the other boot drive. With FCP, the projects and voluminous files are of course maintained on drives other than the boot volumes, and thus FCP, for example, can use those files whether I am in the Tiger boot, or the Leopard boot.
    I have been wanting to fire up Aperture while in the Tiger boot, to test some odd printing behavior, but don't want to create another Aperture Library (which is not yet populated to any real extent) just to do the test. Also, I would like to administer the Aperture Library from the planned new Leopard boot, but not create separate libraries if I should wish to use Aperture while in other boot volumes.
    It seems clear (but I could be wrong) that this can be done, but is it advisable? Practical? Obviously, with the separate boots, I would never be using Aperture from but one "computer".
    Ernie

  • Two phones sharing the same apple Id. If I delete a photo from photo steam will it delete it from photo stream ?

    I recently bought a iPhone 5. I keep the old iPhone for my son to play games on over wifi. I signed out of my apple I'd but not my iCloud because it says if I turn it off the photos will be deleted. I do not want to lose the photos on either phone. I was wondering if it delete the iCloud account on the old phone will the photos on the old phone still be on there.

    Elizabethj221 wrote:
    ....... I was wondering if it delete the iCloud account on the old phone will the photos on the old phone still be on there.
    Yes.

  • How to make ASR9000 bridge domain forward traffic between sub interfaces of same physical interface?

    Hi,
    I regularly use bridge domains to connect sub interfaces on different vlans using this sort of configuration:
    interface GigabitEthernet0/0/0/5.21 l2transport
    description CUSTOMER A WAN
    encapsulation dot1q 21
    rewrite ingress tag pop 1 symmetric
    interface GigabitEthernet0/0/0/10.3122 l2transport
    description CUSTOMER A CORE
    encapsulation dot1q 3122
    rewrite ingress tag pop 1 symmetric
    l2vpn
    bridge group WANLINKS
      bridge-domain CUSTOMERA
       interface GigabitEthernet0/0/0/5.21
       interface GigabitEthernet0/0/0/10.3122
    When I try to use the same method to bridge two sub interfaces on the same physical interface so as to create a L2 VPN no data flows:
    interface GigabitEthernet0/0/0/5.21 l2transport
    description CUSTOMER A WAN
    encapsulation dot1q 21
    rewrite ingress tag pop 1 symmetric
    interface GigabitEthernet0/0/0/5.22 l2transport
    description CUSTOMER A WAN2
    encapsulation dot1q 22
    rewrite ingress tag pop 1 symmetric
    l2vpn
    bridge group WANLINKS
      bridge-domain CUSTOMERA
       interface GigabitEthernet0/0/0/5.21
       interface GigabitEthernet0/0/0/5.22
    If I add a BVI interface to the bridge domain then the CE devices at the remote end of the WAN interface can both ping the BVI IP but they remain unable to ping each other.
    Is this because tag rewrites are not happening since packets don't leave the physical interface?
    How can I work around this and establish a L2 connection between the two subinterfaces?
    Thank you

    a vlan is usually the equivalent of an l3 subnet, so linking 2 vlans together in the same bridge domain, likely needs to come with some sort of routing (eg a BVI interface).
    If these 2 vlans are still in the same subnet, then there is still arp going on, from one host to the other that traverses the bD.
    you will need to verify the state of the AC, the forwarding in the BD and see if something gets dropped somewhere and follow the generic packet troubleshooting guides (see support forums for that also).
    that might give a hint to what the precise issue in your forwarding is.
    regards
    xander

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • Hello there - I am sharing an iPhoto library across two accounts on the same computer - it works fine EXCEPT for Quicktime movies - they play on one account and claim I don't have the rights on the other - all permissions are on and ok?

    Hello there - I am sharing an iPhoto library across two accounts on the same computer - it works fine EXCEPT for Quicktime movies - they play on one account and claim I don't have the rights on the other - all permissions are on and ok?

    It should be in the Users/ Shared folder.
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Note the option to check and repair Library Permissions
    Regards
    TD

  • Sharing two folders with the same name

    Hi all.
    I have two folders with the same name and I would like to be able to share these under different share names. Problem is, this doesn't seem to be possible.
    For instance, try doing this in File Sharing under Server Preferences:
    * Click +, add /Data/Media
    * Edit permissions on "Media" to permit guest access
    * Click +, add /Volumes/Drobo/Media
    * Edit permissions on "Media" (make sure you click the right one!) to permit guess access.
    This appears on the surface to work, but what it has actually done is to delete the share for /Data/Media. If you exit the File Sharing pane and go back into it again, it will be gone.
    Server Admin has the ability to rename a share's name from AFP,SMB,FTP,etc. but this doesn't appear to help either -- I tried adding the second media first, renaming its shared name to Media2 over in Server Admin, and then adding the first. Server Preferences just deletes the second one.
    Such a basic thing as being able to rename the share from Server Preferences would appear to be enough to get around this, but since Apple didn't make it possible, I have no idea how to proceed.
    Does anyone else have this working, and how did you do it?

    The best way to solve this, would be make sure you use database paraneter GLOBAL_NAME, to change your database from lets say orcl1 to orcl1.mycorpdomain.com, by this you can make sure each database actualy has a different name. Your other database then could be named orcl1.example.com.
    When chaning the display name in EM you might face other issues later on when for instance trying to run a restore using EM for one of these databases.
    Regards
    Rob
    http://oemgc.wordpress.com

Maybe you are looking for

  • Custom Error Message

    Is there a way to change the error message to something more friendly. See below. Error: An error occurred while inserting the records. SQL error: Duplicate entry 'Biomass' for key 2. I would like to say, sorry this category already exists, try anoth

  • Duty/Tax Requirements in different sales scenarios.

    Hi, Could anyone please tell me what are the statutaory requirements in terms of excise duty, LST, CST, VAT for sales/stock transfers between- 1- A factory and a factory in the same state in India 2- A factory and a factory in another state in India

  • Plz tell me about witch module is the best for me

    Dear Frnds..... i am completed MBA (HR & Marketing) Please tell me witch SAP module is the best one for my feature Please give me some suggestions.....

  • HP4050N printer install problems

    Unable to find driver to install HP4050 on a Windows XP 32-bit operating system using a parallel port cable. - Tried using Add Printer Wizard but that only seems to work for a plug and play printer (this one is older). Did not check off the "Automati

  • After downloading iOS 8.1.3, lost the use of messaging and face time, shortly after my e-mail. Any suggestions?   Valo

    After downloading iOS 8.1.3, I lost the use of messaging, face time and shortly there after my e-mail. I changed and reset everything I could on my I-Pad... same result. It can't be my router or my provider, for my I-Pod touch works fine. Any suggest