More than one entry in /etc/defaultrouter

To my surprise, it's possible to put more than one entry in /etc/defaultrouter. It's even documented in the man page and if you do it you end up with what looks like more than one default route. But what's does it mean to have more than one default route? Does the kernel apply some kind of heuristic to decide which one to use? Does the default route with no device get ignored?
$ cat /etc/defaultrouter
10.8.60.1
10.8.127.1
$ netstat -nrv
IRE Table: IPv4
Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd
default 0.0.0.0 10.8.60.1 1500* 0 1 UG 761582 0
default 0.0.0.0 10.144.128.1 e1000g3 1500* 0 1 UG 3546367 0
10.8.60.0 255.255.252.0 10.8.61.22 e1000g0 1500* 0 1 U 2703697 0
10.144.128.0 255.255.252.0 10.144.131.243 e1000g3 1500* 0 1 U 119119 0
224.0.0.0 240.0.0.0 10.8.61.22 e1000g0 1500* 0 1 U 0 0
127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232* 0 52 UH 22475898 0
$

john_lilburne wrote:
To my surprise, it's possible to put more than one entry in /etc/defaultrouter. It's even documented in the man page and if you do it you end up with what looks like more than one default route. But what's does it mean to have more than one default route?Probably not what you want.
Does the kernel apply some kind of heuristic to decide which one to use? Does the default route with no device get ignored?Round robin.
What do you mean by "no device"? You have to have an IP destination or the route couldn't be configured. But that IP destination doesn't have to be currently available. Unplugging a cable doesn't take an IP interface "DOWN", nor does it modify the routing table.
If you need dynamic, failure-resilient routing, then you'd have to run a routing update protocol. The contents of /etc/defaultrouter are for static routes.
Darren

Similar Messages

  • SapScript - Print table out_par - more than one entry for object

    Hi Gurus,
    following problem.
    I have a SapScript form and call an external program from within the form.
    In this programm I get more than one entry for the same out_par-value - this is correct.
    My problem now is that on the form there is only printed one of the entrys.
    Here my coding in SapScript.
    /:           DEFINE &ZZ_OBJECT& = '        '
    /:           PERFORM LESEN_OBJEKTLIST IN PROGRAM ZIHFORM
    /:           USING &CAUFVD-AUFNR&
    /:           CHANGING &ZZ_OBJECT&
    /:           ENDPERFORM
    *           All involved object:
    *           &ZZ_OBJECT&
    Many thanks in advance for your help.
    Regards

    In Sapscript PERFORM-ENDPERFORM statements, the parameters can contain only one value as they are variables of type character & length 80.
    If you want multiple values in your CHANGING parameters, fetch all of them in different variables. Also, in your program store them in the same order, in the output internal table of structure ITCSY.
    Check this thread
    http://wiki.sdn.sap.com/wiki/display/profile/ExternalSubroutinesinSAPScript

  • Light Switch 2011 "C#" How to allow filter which take more than one entry to take * and show all other entries?

    Dear All,
    I have created the following code which extended my filter functionality and allowed a to take more than one entry (Comma have to be inserted after
    each entry). 
    For example:
    "Country Filter" can take ----> Germany,Egypt,Holand<o:p></o:p>
    "City Filter " can take ---------> Berlin,Münster
    if (Country_PAR != null)
    String[] Country_Array = Country_PAR.Split(new Char[] { ','});
    query = from p in query where Country_Array.Contains(p.Hotel_Country) select p;
    if (City_PAR != null)
    String[] City_Array = City_PAR.Split(new Char[] {','});
    query = from p in query where City_Array.Contains(p.Hotel_City) select p;
    Now want to extend it more and say something like:
    If  * is included ---- > Give me all entries        
         ex. Ge*     This will give me everything which starts with Ge
    If <> is entred -----> Give me entries which are not equal to a certain entry
         ex. Country Filter = <> Germany          give me all other entries except Germany
    Thanks alot,
    Zayed

    Thanks your reply. I mean no one know my feeling. except if the new car is your. If Geek Squad can't install it. Just let me know and go. right? I ask many time? Are you ok to finish? He said yes. First time fail after 5 hours long wait and tow my car to Toyota repair. Second time said only take 20 to 30 minutes to program the key. but fail again after about 4 hours 30 minutes long wait and head light is not automatic turn on at night. I have to take a day off drive to Toyota repair. My time is money. wait there more than 10 hours and done nothing. 5 days no car and take the subway Bus and long walk. How do I feel? I m the customer. if without the customer. How you get pay? Geek Squad use my remote start and alarm and I can't return it. I loss time and money. My new car has a repair record. That is what Bestbuy want to do for the customer. Geek Squad work for Bestbuy. right? You are not just loss one customer. You will loss more and more than the remote start alarm cost. Bestbuy will not know? How come just 200$ remote start alarm and the 50$ module. Bestbuy don't want to reimburse. I m not tell you to pay me 5 days for rental car. why don't just want a happy ending? Bestbuy is big company. I m very small. 250$ it cost Bestbuy nothing. You can't let the customer loss money because you. right?

  • Disable more than one entry for a particular condition type in VF02 / VF01

    HI,
    I am using vf02 transaction.In the header under pricing I am using a Z condition type to enter conditions ZTO1.
    The problem is  manual entry is allowed in header so the user is able to create more than one row for condition type ZTO1 which is wrong.
    I need to restrict this.Only one row should be allowed for condition type ZTO1.
    Please let me know if there is any configuration for this or then Ill need to use a screen exit or any other exit for VF02 / VF01.
    Awaiting reply....
    Thanks & Regards,
    Sheetal.

    Hi,
    You can make use of pricing Requirement routine for checking the manual entry and display error if wrong.
    These requirement routines can be maintained\created in VOFM->Requirements->Pricing.. For refrence check the coding in some of the already maintined routines..
    I hope this will be helpful.. Reward points..

  • In my application on openeing a page mozilla browser history shows more than one entry which inturn makes it difficult to go the previous page using back button. It works fine in I

    In My application on opening a page using TOC, mozilla browser shows more thanon entry in history, which makes it difficult to browse the previous page using back button. Although it works fine on IE
    == URL of affected sites ==
    http://
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8)

    In My application on opening a page using TOC, mozilla browser shows more thanon entry in history, which makes it difficult to browse the previous page using back button. Although it works fine on IE
    == URL of affected sites ==
    http://
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8)

  • Add more than one entry into a database from single form

    I have a page that has 1 form that allows you to add 1 job.
    I want to be able to have a button or something that says add
    job and add another job.
    When creating the database I did not create a table to hold
    the order just add the job.
    I am attempting to create a new version of the site with
    order referencing job_id and customer_id so that a job can belong
    to an order. And I can an order that has many jobs.
    What is the best way I can do this and then I will need it to
    be displayed on the invoice.
    I also need to beable to create an invoice for the particular
    job.
    but that does not need to be done here.

    I have posted previously, but the requirement from my friend
    has changed somewhat.
    I have a add job page (add.php) and I need to add a
    button/link to add more fields of the same to add a job to the
    chosen customer.

  • Grouping on fields that have more than one value entered.  Please need help fast!!!

    Post Author: DennisC
    CA Forum: General
    I am creating a report that is to be grouped on a particular field that can have more than one entry.  My user said they did not care how I did it but to only count the record one time.  The field that is selected is a dropdown on an form that is in Alpha order.  So the entries always appear in the the field in alpha order.  This is for use as an example:  Record 1 has a value of CAT in the field,  Record 2 has a value of CAT, DOG in the field and Record 3 has a value of CAT, DOG, HORSE in the field.  I get 3 separate groupings for the 3 records.
    Group = CAT                      
          Then the detail information appears here
    Group = CAT, DOG
          Then the detail information appears here
    Group = CAT,DOG,HORSE
          Then the detail information appears here
    What is would like to see using this example is one group for CAT with all 3 records appearing under it and ignore the other two.  This way there would all be getting counted but the report would look a little more streamlined.
    Group = CAT
          record 1 detail information
          record 2 detail information
          record 3 detail information
    thanks in advanced for any help!!!!

    Post Author: shawks
    CA Forum: General
    I am trying resolve the same/similar issue in Crystal Reports 10.  For example, on a table there is a column called X with values Xsub1, Xsub2, Xsub3, etc.  The user can select a parameter that includes Xsub2 and Xsub4.  If this is selected 2 reports are generated (one for Xsub2 and Xsub4).  What we really want is one report with the combined information for Xsub2 and Xsub4.  How is (or is it) possible to do this in Crystal Reports 10?  FYI - When the report was initially created the main body of the report was placed in the Group Footer so if the Group Footer is suppressed the content of the report is suppressed, too.
    Thanks

  • Free goods-more than one material as a free item in sales order

    Hi,
    We have a requirement for our client in free goods scenario in which the client wants to give more than one material(2or3 etc) as a free item in the sales order.I have already explored the slaes BOM functionality,anyother suggestions other than Sales BOM will be of great help to me.
    Thanks

    Hi Sam,
    Check out my [post|Re: Free goods process requirement] wherein I had the same problem once upon a time.
    We tried all possible things, however concluded that through std SAP functionality the same is not possible.
    FYI:  Free Goods doesnt support BOM, Sub items, Product selection. etc.
    Regards,
    Amit
    Edited by: Amit Iyer on May 12, 2011 3:01 PM

  • Analog Source Triggering with more than one channel in channel list

    Hello,
    I am trying to use an analog reference trigger with a channel list that contains more than one entry using a
    M Series 6289. I am aware that this is generally not possible to have more than one channel in the list due to hardware limitations. I was hoping if some sort of workaround exists.
    I am using the NIDAQmx C API to control the card.
    Using a second card that is syncronized via RTSI should
    allow me to use an analog reference trigger to control multiple analog IO channels ... Right ???
    Thanks for any advice!
    Best regards
    Peter

    Hello Peter,
    If you look at the NI-DAQmx Help, Analog Triggering Considerations for E Series, M Series, and S Series Devices section, it says that to pause multiple channels with an Analog trigger, you must wire that signal to APFI0 or APFI1. Therefore, it is possible to perform this operation.
    If you are sharing the AI Sample Clock across RTSI, then you would be able to stop multiple AI channels across multiple devices with the one Analog Reference Trigger.
    I hope this helps,
    Sean C.

  • Publishing to more than one account

    Pardon me if you see I've already asked this. I'm not used to the new communities format, and so didn't find my earlier post.
    Anyway, I'd like to know if it's possible to publish the same photos to more than one account, e.g, Flickr, Facebook, and MobileMe. I know I can publish to one of them, but once I've done it, the icons for the other two are grayed out. I maintain each for different reasons and don't want to have to restrict myself to just one of them for the same set of images.
    Thanks,
    Nick

    You can do this... you can even publish to more than one account of the same type (e.g. more than one Facebook account, or more than one MobileMe account, etc.)
    When you select some photos and publish to web sharing site, Aperture creates an album (unless you're publishing to an existing album) and then switches you to that album.  Look at the selected album in the "Library" view (left margin) and you'll notice it is now highlighting the new album at the social site... not the original Aperture project where the images originated.
    For example... if I create an Aperture project called "Birds", have some photos in it, and then publish the album to, say, Facebook, it'll create a Facebook album called "Birds" and it will put me in that Facebook album (and gray out all the icons at the top.)  If I would like to publish that same album of Birds to, say, Flickr, then I'd need to select the Aperture project named "Birds" and verify that the same photos are still selected.  I can then click the "Flickr" icon to publish to Flickr.
    The icons along the top which allow publishing to MobileMe, Facebook, and Flickr will only be highlighted if you are currently in an Aperture project/album.

  • Help! We have a form with more than 200 entries and when I looked at it yesterday it had one! When you download the form to excel they all show up. However, when I added another record today it disappeared. Can you tell me what's happening? I've been usin

    Help! We have a form with more than 200 entries and when I looked at it yesterday it had one! When you download the form to excel they all show up. However, when I added another record today it disappeared. Can you tell me what's happening? I've been using adobe forms for 2 years with mass response feedback and have never had this problem.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    Hi Nancy,
    This screenshot was only for imagination. A part of the code (not all) is below.  In the code there are some background images but they are not seem in live mode.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="css/my_site.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css"/>
    <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <style>
    #CollapsiblePanel1 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-color: #003366;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel1 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel1 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/international.jpg);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel2 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelContent {
        background-color: blue;
    #CollapsiblePanel3 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel3 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel3 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel4 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel5 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    </style>

  • Hello! I have in my home 2 iMac, 2 iPad, 2 iPhone, and 1 air base extreme. I don't succeed to connect more than one divice from similar type. I tried everything what I knew. I build another network, etc...

    Hello! I have in my home 2 iMac, 2 iPad, 2 iPhone, and 1 air base extreme. I don't succeed to connect more than one divice from similar type. I tried everything what I knew. I build another network, etc...
    So only one imac, only one ipad..and so on simultain.
    More over, all the divices are conect through wifi to air base but are not receiveing internet as i told above.
    I need to disconnect one device to have internet on the second one from the same type!
    Could somebody help me?
    Many Thnaks,
    dan

    If your network configuration is:
    Cable modem > (Ethernet cable) > [WAN] AEBS > (wireless) > Macs, then
    AirPort Extreme Base Station Setup (AEBS) w/High-Speed Cable Modem
    Modem/Router Power ReCycling
    - Power-off the Cable modem, AEBS, & computer(s). (If possible, leave the modem off overnight.)
    - Power-on the Cable modem; Wait at least 30 minutes.
    - Power-on the AEBS; Wait at least 5 minutes.
    - Power-on the computer(s)
    Perform a "hard" reset of the AEBS.
    - (ref: http://docs.info.apple.com/article.html?artnum=107451)
    Setup the AEBS
    With the network components powered down, set up the AEBS, using the AirPort Admin Utility, connect your computer directly (using an Ethernet cable) to the LAN port of the AEBS, and then, try these settings:
    AirPort tab
    - Base Station Name: <whatever you wish or use the default>
    - AirPort Network Name: <whatever you wish or use the default>
    - Create a closed network (unchecked)
    - Wireless Security: Not enabled
    - Channel: Automatic
    - Mode: 802.11b/g Compatible
    Internet tab
    - Connect Using: Ethernet
    - Configure: Using DHCP
    - WAN Ethernet Port: Automatic
    Network tab
    - Distribute IP addresses (checked)
    - Share a single IP address (using DHCP & NAT) (enabled)
    Once you verified that you can get Internet access for all of your computers, you should secure your wireless network. To do so, I suggest that you make these changes:
    AirPort tab (optional)
    - Create a closed network (checked)
    Change Wireless Security
    - Wireless Security: WPA Personal
    Base Station Options - WAN Ethernet Port
    - Enable SNMP Access (unchecked)
    - Enable Remote Configuration (unchecked)
    - Enable Remote Printer Access (unchecked)
    Wireless Options
    - Transmitter Power: 10%
    Access Control tab (optional)
    - + <add the computer(s) that will access this wireless network>

  • If using one computer for several iPods/iPads etc can you have more than one iTunes account.  iPods/Pads etc have a variety of user names

    We have three of us with a selection of iPads/iPods all downloading through one desktop computer.  Can we set up more than one library on the desktop so each person only sees there only downloads/music etc.

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here... http://support.apple.com/kb/HT1495
    Create a New User Account for each User.
    Then Each user will have their own iTunes library..
    More Info Here >  cnettv.cnet.com/use-two-iphones-one-computerl

  • After i downloaded Firefox 7, I cannot open more than one page at a time. I have done everything you suggested about ad-on, etc. Other people are having problems. Can I get reall help with this or should I just reload Firefox 4?

    Firefox 7 is a dud. Cannot open more than one tab at a time, will not open additional pages. Nothing you suggested has worked.
    Can I take down Firefox 7 and reload Firefox 4?
    I need to talk with a live person! I am real disappointed with this.

    Sorry there is no telephone support. You could try the IRC if you want a quick response, ( whilst it is [https://support.mozilla.com/en-US/kb/ask open] )
    Firefox 4 is not supported, but firefox 3.6 is
    * see [[installing a previous version of firefox]]
    There is a change to a preference which may help, post back with more details of your problems please.

Maybe you are looking for

  • Cinema display 24" burned and died

    I wonder if anyone can give me any advice. I bought the £650 24" Apple Cinema Display 18 months ago from the Apple Store. On Friday I got a burning smell and it died. Took it into the Apple store on Monday. They said it is out of warranty and that th

  • Xtreme Gamer is "not Supported by the Application" Problem. He

    My SoundBlaster XFi Xtreme Gamer has suddenly stopping being detected by my creative software, such as Volume Panel. The drivers are installed, and when I hover my mouse pointer over the volume panel is still shows "SB X-Fi Audo [E000]" which is the

  • HT200109 Why only sometimes does movies on Apple Tv show the buy option, I need it there all the time?

    Why only sometimes does movies on Apple Tv show the buy option, I need it there all the time?

  • Sky tv on virgin mobile

    i downloaded the sky tv app to my n97 on virgin and vodafone and it does not work, i was reading on the net that it will work on every network but not on all phones does any one know when it will be fixed.

  • Time capsule in mixed environment

    I am running time capsule with a MacBook Pro that is running Leopard and Windows XP (as a virtual machine with VMWare Fusion). I've been running scheduled backups for months from the Mac side, excluding the virtual machine file. I finally figured out