How can I set up source IP routing

This is on a recent Macbook Pro, OSX 10.8 Mountain Lion. Maybe the question really belongs in a "networking" or "operating system" subforum.
A Linux example is:
ip rule add priority 32700 from 10.45.37.70 table 240  
ip route add default via 10.45.37.69 table 240  
ip route flush cache  
It routes all packets with source address 10.45.37.70 via 10.45.37.69 as default gateway, regardless of destination address.
Why is this needed? --->
I have a few physically tiny Wifi routers. They can only act as NAT routers, and even block connections between internally connected devices. No problem, if I need a device to act as a server (VNC, sendmail, samba, webserver...) I set up a vtun (actually any VPN would do) between the device and a VPN server on my LAN. This way, the device gets an IP address that is reachable from my entire LAN. I can walk away and access the laptop from a smartphone, for example. And I can move data between 2 laptops while on wlan.
Outgoing connections should continue to use the normal wlan gateway. If everything would use the vtun gateway, that would cause a lot of unnecessary load on the  server.
The source IP routing affects only reply packets to connections that come in via vtun VPN. The replies have the above mentioned source address that triggers the special routing. Without the special routing, the replies would be mangled by the NAT router.
I have, on a different VPN (lets call it "VPN2"), seen an alternative. This different VPN sets an additional default address, and according to a forum post I found, related to Snow Leopard, this would automatically select the best route based on source address and local links. This does not work well for me in the case of my VPN2 (everything goes down VPN2, it shouldn't), but maybe it will help in the vtun problem? Are multiple default gateways ordered in some way that affects routing?

Yes, you can SPAN multiple ports, or multiple VLANs. This will SPAN ports 5/1 through 5/5. The spaces on either side of the dash are necessary.
monitor session 1 source interface fastethernet 5/1 - 5/5
http://www.cisco.com/en/US/products/hw/switches/ps4324/products_configuration_guide_chapter09186a008023401a.html
Please rate helpful posts.

Similar Messages

  • I have a linksys WRT54G router that we use as a base. I want to use Airplay using Airport Express and hook up my stereo to it. How can i set up my Airport express without a PC/laptop? I just downloaded Airport utility on my iphone and ipad,will that work?

    I have a linksys WRT54G router that we use as a base. I want to use Airplay using Airport Express and hook up my stereo to it. How can i set up my Airport express without a PC/laptop? I just downloaded Airport utility on my iphone and ipad,will that work? And one more thing about the setup, the linksys router shich acts as a base is in a different room as the airport express which i wanted to use for airplay. So I'm hoping to hook up the Airport express via wireless signal. If i can set it up, can someone pls help me out by posting detailed instructions. Thanks so much!

    The first message that AirPort Utility will display during the auto setup will be that the Express will be confgured to "extend" the network. When AirPort Utility analyzes the network further, and sees that the Express cannot "extend" the 3rd party network, the next message will indicate that the Express is being configured to "join" the wireless network.
    Once the Express is configured, if you later go into AirPort Utility to check the settings under the Wireless tab, you will see that the Wireless Mode is indeed "Join a wireless network".

  • How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    The Guest Network function of the Time Capsule and AirPort Extreme cannot be enabled when the device is in Bridge Mode. Unfortunately, with another router...the Telus...upstream on your network, Bridge Mode is indicated as the correct setting for all other routers on the network.
    If you can replace the Telus gateway with a simple modem (that performs no routing functions), you should be able to configure either the Time Capsule or the AirPort Extreme....whichever is connected to the modem....to provide a Guest Network.

  • HI,How can i set delta option for costumised Generic data source

    Hi Sir/Madam,
          How can i set delta option for costumised Generic data source.
    Regards,
    Vishali.R
    Please search the forum before posting a thread
    Edited by: Pravender on Aug 15, 2011 1:26 PM

    Hi,
    Go to RSO2 transaction and click on change then on the tool bar click on Generic Delta button. In the next popup you can set your delta.
    Regards,
    Durgesh.

  • How can I set up Wi-Fi connection between my iPhone 4 & my wireless Linksys WRT54G router?

    How can I set up Wi-Fi connection between this iPhone I bought and my wireless Linksys router (WRT54G) that I'm using for home netwrking for my PCs?
    Tried settings on iPhone, selceted Wi-Fi connection, then pressed my network name shown on this iPhone, but nothing happens after that.

    Do you not get the icon on the top bar of the iPhone?
    Once you press on the network, the iPhone should connect to it. If the Network has a wep or WPA key it should be requested at that time.
    Once the above has been completed, then the iPhone is connected. And you can use the wifi conneftion to browse the internet. It should also show a checkmark next to the network signifying it connected.
    If its having trouble connecting or taking some time you should see the   next to the network spinning around.

  • How can I set download restrictions on a web page ?

    how can I set download restrictions on a web page ?
    I mean: to make a web site with text and pictures but in a way that the visitors cannot download the pictures or text ?
    Is it possible ?
    Thanks

    Freeway allows you to inject code into the HTML of the page. Upload the movie file to a folder on your server and reference it in the code.
    <script src="http://www.domain.com/Folder-Name/QT-JS.js" language="javascript"> </script>
    <script language="javascript">
    QT_WriteOBJECT('http://www.domain.com/Folder-Name/Movie.mp4' , '640', '496', '', 'AUTOPLAY', 'false', 'CONTROLLER', 'true', 'VOLUME', '50', 'KIOSKMODE', 'true', 'SCALE', 'Aspect') ;
    </script>
    If you are going to go this route it would be better to use HTML5 with flash fallback to cover all browsers and devices...
    http://www.iwebformusicians.com/Website-Movie-Video/Easy-Movie-Player.html
    http://www.iwebformusicians.com/Website-Movie-Video/JW-Media-Player.html
    http://www.iwebformusicians.com/Website-Movie-Video/Fallback-To-Flash.html
    http://www.iwebformusicians.com/Website-Movie-Video/Flow-Player.html

  • How can I remove the " Source.vi" from long Express VI Names?

    I am in the Moment working on the Development of an Express VI
    library for test purposes.
    How can I remove the " Source.vi" from long Express VI Names?
    This happens when the Express VI is inserted in the blockdiagram
    and listed in LabVIEW and TestStand Palettes.
    By short names like "DAQ-Assistent" or "EasyCalc" the string " Source.vi"
    is not shown at the end of the Express VI names.
    I used The Express VI Dev Toolkit 1.0 to create the Express VIs.
    Labview Version: 7.1 Base
    TestStand: 3.1
    It would be great to get the expert advice from the Forum for this issue!
    Thanks a lot.
    Andre

    I think I understand what you are asking for. If I am wrong, please try to explain it a bit more.
    The name shown may be different than the name of the vi file. To do this, your source VI and popup on its icon. From the short menu that comes up, select VI properties. In the top ring, select Window Appearance. The page that comes up lets you set various things that can affect the appearance of the VI. What you want to change is the window title. Uncheck the Same as VI name checkbox and change the string to whatever you want it to be.
    I hope that this helps,
    Bob
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • How can I set a specific user log on neme to a specific machine

    Greeting,
    I have a question : 
    How can I set a specific user log on name to a specific machine.
    e.g. 
    Only User.A can log on to PC.A and the other can not.
    Base On :
    Windows Server 2003
    Active Directory Version : 5.2.3790.1812

    Technically we're both right.  This depends on what scenario you're setting this up.
    1)  If you want to say only this person can log on to this machine, and it's not an enterprise solution (meaning you have a handful of computers you want restricted, not all computers) then do something like Yan Li has recommended.  However, I
    do not recommend using any DENY LOCAL LOGON user rights.  In this case, you would have to deny everyone except 'User A' and your Administrators.  If you put a user in ALLOW LOCAL LOGON and DENY LOCAL LOGON, then DENY wins and no one logs in.  Instead,
    you should remove all the settings from ALLOW LOCAL LOGON and add only User A and administrators.
    2) If this is an enterprise solution, use the LOG ON TO option I mentioned before.  Managing user right assignments per machine is very difficult and isn't a practical way to do it on a large scale.  If every user in your domain is assigned a computer
    that they can use, only that user can use that machine and that machine will effectively only allow that user.  For this to work, EVERY user must be restricted to a workstation, if no setting is present, then that user can log on anywhere.  This
    is my preferred solution still.
    Like I said, it depends on your situation to which route is better.  I hope this helps and is clear and easy to understand.
    - If you have my posts to be helpful, or the answer, please mark them appropriately.  Thank you.
    Chris Ream

  • How can we set icon to a tree table

    Hi ADF Experts,
    The below is regarding skinning of af:tree table component.
    How can we set icon to a tree table
    Below is the af:tree component. When I run the application I see all the parent and child nodes as folder icon. My question is how can set a file icon to the elements present inside a parent node.
      <af:treeTable value="#{pageFlowScope.MerchandizeTreeModel.productTreeModel}"
                                      id="tt1" var="row"
                                      rowSelection="multiple"
                                      horizontalGridVisible="false"
                                      verticalGridVisible="false">
                          <f:facet name="nodeStamp">
                            <af:column sortable="false" headerText=""
                                       rowHeader="true" id="c11" width="200">
                     <af:panelGroupLayout id="pgl0">
       <af:image source="/images/folder.png" shortDesc="foldericon"
                                id="i1"/>
                      <af:outputText value="#{row.groceryItems}" id="ot11"/>
    </af:panelGroupLayout>
                            </af:column>
                          </f:facet>
                        </af:treeTable>
    Thanks in advance,
    Animesh

    Hi Experts,
    I am having a tree table component in adf. I have set a folder image for the parent node. How can we set a document image for contents inside a parent node.
    Thanks,
    Biswa

  • I always want google classic, but sometimes i get google beta or google security (or whatever, can't remember its name) when i don't want it. why does this happen and how can i set google classic as the default?

    google is my default on the home page. But when i ask for google or simply open firefox, i sometimes get google beta or google security (or whatever its name is) instead of google classic. I just want google classic. How can i set it as my default. (I have a desk top computer, use firefox, and this never happens.)

    Why Apple can't undo its mistake?
    Whose mistake? The source of the problem:
    I was required to enter my recovery key. Now, there begins that huge flaw. I've forgotten it (I know it was my responsibility to remember it).
    If you had just taken the simple steps of storing your recovery key as Apple tells you to when you set it up, none of this would've happened.
    As it clearly states in the FAQ on 2-step verification: http://support.apple.com/kb/HT5570
    After you turn it on, there will be no way for anyone to access and manage your account at My Apple ID other than by using your password, verification codes sent your trusted devices, or your Recovery Key. You must be responsible for:
    Remembering your password.
    Keeping your trusted devices physically secure.
    Keeping your Recovery Key in a safe place.
    If you lose access to two of these three items at the same time, you could be locked out of your Apple ID account permanently.
    In addition, with two-step verification turned on, only you can reset your password, manage your trusted devices, or create a new recovery key.
    Apple Support can help you with other aspects of your service, but they will not be able to update or recover these three things on your behalf.
    If you aren't responsible enough to do that, you should not have turned the optional security feature on.
    This is your fault, not Apple's.

  • HOW CAN I SET TIHE NETWORK TIME BECAUSE IT DOESNT ALLOW ME TO SING IN

    HOW CAN I SET TIHE NETWORK TIME in the apple tv BECAUSE IT DOESNT ALLOW ME TO SING IN

    Welcome to the Apple Community.
    Time and date should be set automatically by the network time server. There has been a number of posts reporting this problem. Solutions have involved:
    Restarting the Apple TV by removing ALL the cables for a few moments.
    Restoring the Apple TV.
    Opening port 123 on the router.
    Ensuring the DNS address on both the router and the Apple TV are those provided by your ISP.

  • How can I set the microphone input level?

    How can I set the microphone input level?

    It would be best to use the standard windows mixer "sndvol32.exe" (in the windows directory) and control it with the System Exec.vi from the Communication palette.
    You may want to look at the following discussion thread, too:
    how to control the microphone volume input via LabView
    How Can I Record Sound in LabVIEW from Sources other than the Microphone?
    Zvezdana S.

  • Can someone tell me about how can I set it right

    i cant convert vids to mp4 can someone tell me like how can i set the videora pleaseee

    Hi Mark,
    Safari isn't intended to be an upload client for FTP'ing. For that you'll need a dedicated FTP client like CyberDuck.
    For some reason, on this computer, when I build an HTML file and save it, then open it using safari, I get the source code instead of the rendering of the source code.
    Which editor are you using to do this? I'm guessing TextEdit - if that's the case, use the Format menu -> Make Plain Text option to save the .html file. You'll then be able to save the file with whatever extension you prefer for JavaScript etc.
    want to switch back to the textedit application using COMMAND + tab the application doesn't open up. It remains minimized in the dock
    I know what you mean here and it is a bit frustrating. If you really want to stick with the keyboard you can do Ctrl+F2 then use the arrow keys to select the appropriate window from the Window menu. Normally I just keep the windows on screen and use Exposé to quickly retrieve the window.
    Hope some of that helps.

  • How can I set up the airport extreme base station with windows computer

    how can I set up the airport extreme base station with windows computer

    Hi - you need Airport Utility version 5.6.1 for Windows 7 - go to http://support.apple.com/kb/HT1547  to download it to your computer - the setup depends on what kind of modem you have and if you have another router connected - post back with this info to proceed - thanks

  • How can i turn on source determination check box by default in p.req

    heloo
    how can i turn on source determination check box on in p.req mean whenever i use me51n  in pop up sceen it should already be checked.
    second how can i creat p.o form p.req automatilaly and then send it to edi.
    what i do't wana use me59n iwant system once i create p.req and it has valid source just create p,o and send it to vendor.
    thanks

    Hi
    You can switch the Source determination indicator on whenever you enter..
    1) Go to Personal settings in ME51N Screen>select default Values tab>if you do not find Source determination field then click More fields move the field to line 1. Now you check this field and save it.
    2) To create PO from PR make sure you have valid source of supply assigned to PR and Auto PO checked in VMR & MMR, Inforecord with Valid condition exist. Run the tcode ME59N and the system will convert the PO from PR.
    3) To send the PO to Vendor via EDI you need to set up EDI with the help of Abaper by using message determination procedure and EDI/ALE setting.
    Hope it helps
    Karthik

Maybe you are looking for

  • How do you create sub-folders in Mail?

    Hello, thanks for reading. I have several domains and email accounts relating to different businesses and each account needs various associated archive folders for receipts, licences, customers, sales, newsletters, and so on... With a sub-folder for

  • [Solved] Urxvt, vim and ctrl + arrow keys

    I just switched to rxvt-unicode - mostly because of its ability to set the WM_CLASS variable (Xfce's terminal, my previous terminal application, was unable to do so, and I was tired of dragging all my apps to the virtual desktop I wanted to have them

  • Array of Boolean to String

    Hello All, I have a small coding challenge that has been whipping me all day.   I have a 19 element boolean array that I would like to convert to a string without delimiters("0000000000000000000").    Within a for loop I use a "Select" followed by a

  • HT1918 I changed the card and i want to know how make to change the data from itunes. I tried and doesn't work.

    I changed the card and i want to know how make to change the data from itunes. I tried and doesn't work. Please, Help Me!

  • Migrating DFS from Win2k3 DCs to Win2k12R2 DCs

    Hi, I have been hosting a DFS mapping on Windows 2003 servers these past years. The DFS mapping is only used to combine several shares on site file servers into one share /  mapping. So S: what the user sees is \\domain.company.tld\TopShare and TopSh