How to set two default gateway

Hi
I have following config on my Solaris 10 SunFireT2000 box
[root@sun4] ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.10.4 netmask ffffff00 broadcast 192.168.10.255
ether 0:14:4f:aa:77:10
e1000g0:1: flags=4001000862<BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4,DUPLICATE> mtu 1500 index 3
inet 192.168.10.14 netmask ffffff00 broadcast 192.168.10.255
e1000g1: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.20.3 netmask ffffff00 broadcast 192.168.20.255
ether 0:14:4f:aa:77:11
[root@sun4] cat /etc/defaultrouter
192.168.10.1
As seen, I have added only one entry in default router for 192.168.10.0 subnet and added other with command route add "192.168.20.0/24 192.168.20.1"
The problem: I can not connect the machine from the subnet other than 192.168.10.0 subnet. kindly help me with the correct way to set my network config.
Edited by: Mukesh.Prajapati on Sep 26, 2008 12:39 AM

Mukesh.Prajapati wrote:
Hi
I have following config on my Solaris 10 SunFireT2000 box
[root@sun4] ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.10.4 netmask ffffff00 broadcast 192.168.10.255
ether 0:14:4f:aa:77:10
e1000g0:1: flags=4001000862<BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4,DUPLICATE> mtu 1500 index 3
inet 192.168.10.14 netmask ffffff00 broadcast 192.168.10.255
e1000g1: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.20.3 netmask ffffff00 broadcast 192.168.20.255
ether 0:14:4f:aa:77:11
[root@sun4] cat /etc/defaultrouter
192.168.10.1Can you show the current routing table? (netstat -nr)
As seen, I have added only one entry in default router for 192.168.10.0 subnet and added other with command route add "192.168.20.0/24 192.168.20.1"Well the second one isn't a "default route", and it shouldn't be necessary to do at all. The system will bring up a route for the subnet as soon as the interface is brought up.
Darren

Similar Messages

  • How to set two radius servers one is window NPS another is cisco radius server

    how to set two radius servers one is window NPS another is cisco radius server
    when i try the following command, once window priority is first , i type cisco radius user name, it authenticated fail
    i can not use both at the same time
    radius-server host 192.168.1.3  is window NPS
    radius-server host 192.168.1.1 is cisco radius
    http://blog.skufel.net/2012/06/how-to-integrating-cisco-devices-access-with-microsoft-npsradius/
    conf t
    no aaa authentication login default line
    no aaa authentication login local group radius
    no aaa authorization exec default group radius if-authenticated
    no aaa authorization network default group radius
    no aaa accounting connection default start-stop group radius
    aaa new-model
    aaa group server radius IAS
     server 192.168.1.1 auth-port 1812 acct-port 1813
     server 192.168.1.3 auth-port 1812 acct-port 1813
    aaa authentication login userAuthentication local group IAS
    aaa authorization exec userAuthorization local group IAS if-authenticated
    aaa authorization network userAuthorization local group IAS
    aaa accounting exec default start-stop group IAS
    aaa accounting system default start-stop group IAS
    aaa session-id common
    radius-server host 192.168.1.1 auth-port 1812 acct-port 1813
    radius-server host 192.168.1.2 auth-port 1812 acct-port 1813
    radius-server host 192.168.1.3 auth-port 1645 acct-port 1646
    radius-server host 192.168.1.3 auth-port 1812 acct-port 1813
    privilege exec level 1 show config
    ip radius source-interface Gi0/1
    line vty 0 4
     authorization exec userAuthorization
     login authentication userAuthentication
     transport input telnet
    line vty 5 15
     authorization exec userAuthorization
     login authentication userAuthentication
     transport input telnet
    end
    conf t
    aaa group server radius IAS
     server 192.168.1.3 auth-port 1812 acct-port 1813
     server 192.168.1.1 auth-port 1812 acct-port 1813
    end

    The first AAA server listed in your config will always be used unless/until it becomes unavailable. At that point the NAD would move down to the next AAA server defined on the list and use that one until it becomes unavailable and then move to third one, and so on. 
    If you want to use two AAA servers at the same time then you will need to put a load balancer in front of them. Then the virtual IP (vip) will be listed in the NADs vs the individual AAA servers' IPs. 
    I hope this helps!
    Thank you for rating helpful posts!

  • Configuring two default gateways

    Hello all,
    I would like to know if the CSS supports the configuration of two default routes and if it is supported by Cisco?
    The goal of this is to perform load balancing between the two default gateways.
    Thanks in advance for your answer.
    Regards.
    Alex

    Hi Alex,
    Yes, The CSS can handle two default gateways. Give the command twice. For eg.
    ip route 0.0.0.0 0.0.0.0 10.10.10.1 1
    ip route 0.0.0.0 0.0.0.0 10.10.10.2 2
    In this eg, the 10.10.10.1 will have priority as the metric is 1. However, if you want to load balance between them set the metric 1 for both of them.
    Hope this helps.
    Regards,
    Sagar

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • How to set a default value in dropdown list in Wendynpro ABAP? Help!

    Hi Experts,
           I have Webdynpro for ABAP application that shows a DropdownwithKey UI element.
    1. I am able to populate the dropdown list. But by default the list is not showing any value. Only when I select a value from the list then it shows it.
    So how to set the default value to the first value in the list? Any code sample will be really helpfull.
    I have written the following code:
    method WDDOINIT .
      DATA:
        node_category TYPE REF TO if_wd_context_node_info.
      node_category = WD_CONTEXT->GET_NODE_INFO( ).
      node_category = node_category->GET_CHILD_NODE( 'CATEGORY' ).
      data:    LT_VALUESET type WDR_CONTEXT_ATTR_VALUE_LIST,
               L_VALUE type WDR_CONTEXT_ATTR_VALUE.
    L_VALUE-VALUE      = 'V1'.
    L_VALUE-TEXT    = 'yesterday'.
    INSERT L_VALUE into table LT_VALUESET.
    L_VALUE-VALUE      = 'V2'.
    L_VALUE-TEXT    = 'today'.
    INSERT L_VALUE into table LT_VALUESET.
    L_VALUE-VALUE      = 'V3'.
    L_VALUE-TEXT    = 'tomorrow'.
    INSERT L_VALUE into table LT_VALUESET.
    node_category->SET_ATTRIBUTE_VALUE_SET(
                 NAME = 'CAT_VALUE'
                 VALUE_SET = LT_VALUESET ).
    endmethod.
    Note that: I am using webdynpro for ABAP.
    Thanks
    Gopal

    I am not sure how it works in Web Dynpro for ABAP, but in Web Dynpro for Java to set default drop down value you will have to set the value for particular attribute (which is linked to the dropdown element)  in the context
    like
    wdContext.currentContext<nodeName>Element.set<FieldName>(<defalut value>)
    This generally done in Initialization method of the controller.

  • How to set a Default Value in the drop down on Account Creation ?

    Hi,
    i have to set a default value in the drop down as soon as a User in a particular business role clicks on New Account. I have written the following code in do_prepare_output method. But this code is executed in the 2nd server round trip after entering some value or pressing enter. so i am not getting as soon as user clicks on the New Account.
    How to set that default value when user clicks on New Account ? and where should i code ?
      IF lv_icwc_profile = 'ZCSALESPRO' or lv_icwc_profile = 'Z_SALESPRO' .
      try.
                  lr_entity ?= me->typed_context->header->collection_wrapper->get_current( ).
                  lv_current = lr_entity->create_related_entity(
                                                  iv_relation_name = 'BuilRolesRel' ).
                                 lv_current->set_property(
                                    iv_attr_name = 'PARTNERROLE'
                                    iv_value     =  'BUP002' ).
                   CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
                   cx_crm_genil_model_error.
                   return.
            ENDTRY.
    Thanks and Regards
    Raman Khurana

    Hi,
    I have some idea abt it, it is also used in account life cycle.
    Please refer SAP note 1097651, Defaulting a life cycle stage.
    Let me know if useful.
    rgds,
    Vinay

  • How to set a default value in Select one choice.

    Hi
    I'm using ADF BC, in that how to set a default value in select one choice.
    pls. help on this.
    regards

    set the default value on the underlying EO or VO attribute
    john

  • How to set a default value to t-list when creating t-list programmatically

    hi,
    I'm creating a t-list programmatically
    by calling
    n = populate_group('groupname');
    populate_list('form.list','groupname');
    In this case how to set a default value for the t-list
    thanks
    rani

    I am not sure how it works in Web Dynpro for ABAP, but in Web Dynpro for Java to set default drop down value you will have to set the value for particular attribute (which is linked to the dropdown element)  in the context
    like
    wdContext.currentContext<nodeName>Element.set<FieldName>(<defalut value>)
    This generally done in Initialization method of the controller.

  • How to set a default value for particular field in SRM PO Portal

    Dear Gurus,
    Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
    My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
    I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
    Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
    Thanks in advance...
    Regards,
    Sathish

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • How to set the default text in an input box or a label to be a predefine, multiline text

    how to set the default text in an input box or a label to be a predefine, multiline text. In other words how to break the line in the code of a text box.
    thank you

    There are a couple of ways of doing this:
    If you're editing on the canvas, press Shift + Enter.
    If you're working in Express View (see lower right hand corner of Project Siena), you'll need to copy a hard return from another app such as Notepad.
    I believe a better implementation of hard returns are in the list of requested functionality that you can find here:
    https://social.technet.microsoft.com/Forums/en-US/2e1f9446-56b2-419a-9c17-7037d2cd6146/from-the-community-overview-of-requested-additional-functionality?forum=projectsiena
    Thor

  • How to set the default selection to "Select All" in a Multi valued parameter in SSRS 2008?

    Hello Everyone,
    How to set the default selection  to "Select All" in a Multi valued parameter in SSRS 2008?
    Regards
    Gautam S
    Regards

    You need to specify "Default Values" in the report parameter property. Choose similar option used in the "Available Values" option, this will allow the parameter to check "Select All".
    Regards, RSingh

  • How to set the Default values for Info Objects in Data Selection of InfoPac

    Hi All,
    Flat file Extracion:
    How to set the Default values for Info Objects in Data Selection Tab  for Info Package
    ex: Fiscal Year Variant  Info Object having values 'K4' 'Y2' etc  in Flat file
    Initially  default value(not constant)  for this info Object value should be 'K4'  in Info Package
    If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
    Rgds,
    CV

    Hi,
    suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
    haritha

  • How to set my default application...not working

    My company has nearly all adobe applications installed from PageMaker 6.5 through InDesign 5.5. We use them all frequently. I'm trying to set my defaults on the Mac Pros and it is not working.
    Specs if Needed:
    OSX 10.6.8 
    Model Identifier:          MacPro5,1
      Processor Name:          Quad-Core Intel Xeon
      Processor Speed:          2.8 GHz
      Number Of Processors:          1
      Total Number Of Cores:          4
      Memory:          6 GB
      Boot ROM Version:          MP51.007F.B01
    +BootCamp dual boot Windows 7
    We proof out all files in the version that it comes to us. Our customers are on different versions than the most current, and it's driving us crazy that we can't set the defaults for
    each Adobe application. For Instance,
    We want for Defaults:
    Photoshop = CS4
    InDesign = CS4
    Illustrator = CS5
    etc.
    The Finder will not allow us to make the change to open all of a certain file type in the version we want by default. We also use a third party application that allows us to "double
    click" InDesign files and open them in the correct version. This saves valuable navigation time and because of the OS's problem with using the correct icons, it also saves us time
    dealing with the "Untitled" document when we accidentally convert by opening in the wrong application by mistake. We have gone through Onyx utilities and massive permissions
    troubleshooting to no avail. Does anyone know how to set the default for ALL files of a type for Adobe Apps? This has been thoroughly tested and is not working on 10 plus
    machines, and only effects Adobe apps.
    Any Ideas?

    I think you miss understand the question. There is a problem with OSX 10.6 and Adobe Apps. 10.5 ok, not sure about 10.7 because of all of the other Adobe problems we downgraded the test machine that we used for the upgrade. There is no way that I have found to make the files “Double-Clickable” through assigning a default application of files with Adobe extensions. We already have an app. that we use and it worked fine until 10.6. I can’t just approve a division-wide purchase of software for a bug that may be solvable by other means (by the way supposed cost of the licensing Soxy is deceiving at $20. Not for us. For companies it’s $20 per platform & also for each time Adobe updates. When we swap out hardware, we have to pay $40 again . Their pricing is absurd). $40 x a couple hundred machines every 18 months or so, uugh! The ten or so I’m working with are just the ones in my immediate department.
    I know you have good intentions with your reply and I appreciate it, however I’m looking to solve the problem, not put a band-aid on it. If the problem is by design so Rorohiko can hold companies hostage, then I guess we’ll just have to deal with the few extra clicks it takes to figure out which version we’re in need of, and dragging to the launch bar.
    Thanks very much for your reply,
    Seth

  • How to Set Automatic Default Time in Calendar

    Friends,
    When I create new event in calendar (by double clicking on a specific date) for example Group Dinner, the calendar autotatically set the start time at 8PM.
    How to set the default time to 7PM for example.
    Thanks
    Regards,
    akostaman

    Ok It seems not just a problem of 24 hour time appointments that won't sync but all appointments I make on my iphone in calendar won't sync to calendar on my mac?

Maybe you are looking for

  • [SOLVED] pacman warning

    After just installing Arch on a new machine, I got the following warning on the first run of pacman: "warning: database file for 'core' does not exist". The same warning for 'extra' and 'community'. On the next runs of pacman, the warnings were gone.

  • Symbol __mt_MasterFunction_: referenced symbol not found

    I am trying to build a matlab s-function using Sun Studio 10 compilers. The program compiles but when I try to load it into matlab I get ??? Invalid MEX-file '/export/ford/sl0473/u/jmccall4/+Work/GMP_data/Release_tests_6/gmp_cf_4_state_gui_redo/gmp_4

  • How to enable Document is Tagged PDF

    Hi, Kindly let me know how to enable "Document is Tagged PDF" using Scripting. For more references I have attached the screenshot. Thanks for looking into this. Regards, Sudhakar

  • EoX-Offline-Files -- Download (need for Version-Number or Timestamp)

    Hi all, with downloading the offline EoX-Files from CCO [ Link: http://tools.cisco.com/support/downloads/go/ImageList.x?relVer=4.1.1&mdfid=282635175&sftType=CiscoWorks+Resource+Manager+Essentials+Patches&optPlat=Solaris&nodecount=2&edesignator=null&m

  • Distinct for only one column

    Hi, I want select only distinct column of one column while at the same time displaying the other column attributed to the selected column. e.g. select name from student where name in (select distinct name from student) and processing_date >= '2007070