How to add a route for a specific interface

HI,
i want to make a direct link beetween 2 computers (ubuntu and solaris) with a cross over cable.
solaris : e1000g0 (192.168.0.212= normal network)
e1000g1 (172.18.0.2 = network for interconnection beetween ubuntu and solaris
routing table:
Destination Gateway Flags Ref Use Interface
default 192.168.0.245 UG 1 7040 e1000g0
192.168.0.0 192.168.0.212 U 1 5167 e1000g0
224.0.0.0 192.168.0.212 U 1 0 e1000g0
127.0.0.1 127.0.0.1 UH 4 30343 lo0
ubuntu : eth0 (192.168.0.144 = normal network)
eth1 (172.18.0.3 = network for interconnection beetween ubuntu and solaris)
routing table :
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.0.245 0.0.0.0 UG 0 0 0 eth0
at the beginning, i was thinking that no route was necessary, but the ping didn't work beetween the two servers.
so, my question is : how can i add a route for a specific interface on my solaris (i want that the traffic for the network 172.18.0.0 go throught e1000g1)
thank for your help

SOLARIS :
-bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 192.168.0.212 netmask ffffff00 broadcast 192.168.0.255
ether 0:1b:24:f0:7a:fc
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 172.18.0.2 netmask ffffff00 broadcast 172.18.0.255
ether 0:1b:24:f0:7a:fd
-bash-3.00# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
default 192.168.0.245 UG 1 7040 e1000g0
192.168.0.0 192.168.0.212 U 1 5323 e1000g0
224.0.0.0 192.168.0.212 U 1 0 e1000g0
127.0.0.1 127.0.0.1 UH 8 31593 lo0
-bash-3.00#
UBUNTU :
ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:c9:d1:22:ea
inet addr:192.168.0.144 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c9ff:fed1:22ea/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19992226 errors:0 dropped:0 overruns:0 frame:0
TX packets:9886296 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10075930406 (10.0 GB) TX bytes:2847567457 (2.8 GB)
Interrupt:16 Memory:f8000000-f8012700
eth1 Link encap:Ethernet HWaddr 00:1e:c9:d1:22:ec
inet addr:172.18.0.3 Bcast:172.18.0.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c9ff:fed1:22ec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:919 errors:0 dropped:0 overruns:0 frame:0
TX packets:905 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:58816 (58.8 KB) TX bytes:91286 (91.2 KB)
Interrupt:16 Memory:f4000000-f4012700
# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.0.245 0.0.0.0 UG 0 0 0 eth0

Similar Messages

  • IW31- How to add Search help for User specific fields in IW31 transaction.

    Hi Experts,
    I have to add Search help for standard fields USR00 to USR10 fields in IW31 transaction.
    Is there any user exit for this requirement.
    Please reply, it will be very helpful for me.
    Regards,
    B. V. Rao

    Bala,
    See the following user-exits:
    IWO10015: F4 Help for user fields on operation
    IWO10016: Customer enhancement to check operation user fields
    PeteA
    [www.pjas.com]

  • How do i disable orientations for a specific view in my tab bar project without disabling for the other views?

    How do i disable orientations for a specific view in my tab bar project without disabling for the other views?
    Any suggestions?

    Note that you can also hide the tab bar completely with code in the userChrome.css file.
    Add code to the <b>userChrome.css</b> file below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #TabsToolbar { display: none !important; }
    </nowiki></pre>
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration

  • How to create an EventListener for a specific keyboard press?

    Hello,
    I have been trying to figure out how to switch my actionscript3 from a mouse click to a keyboard press. I'm new to Flash, but the problem I keep coming to is that I need to have 3 separate keys programmed in to do three seperate outcomes. I have messed around with eventListeners for keyboard presses, but I cannot figure out how to have flash listen for a specific key press and then do an action based on that specific key press.
    Here is my actionscript. Any suggestions on how I can modify the mouse clicks to be keyboard presses, where key 's' = btn1 and triggers gotoAndPlay(2), 'g' = btn2 and triggers gotoAndPlay(3), 'k' = btn3 and triggers gotoAndPlay(4) as outline below. I also need my timer and writing to an exteral file to remain the same.
    stop();
    var startTime:Number=getTimer();
    var elapsedTime:Number;
    stream.writeUTFBytes("Item1,");
    function BTN1Action(eventObject:MouseEvent) {
         elapsedTime = getTimer() - startTime;
              stream.writeUTFBytes("Tar1,");
              stream.writeUTFBytes(elapsedTime.toString());
              stream.writeUTFBytes("\n");
              gotoAndPlay(2);
    function BTN2Action(eventObject:MouseEvent) {
              elapsedTime = getTimer() - startTime;
              stream.writeUTFBytes("Tar2,");
              stream.writeUTFBytes(elapsedTime.toString());
              stream.writeUTFBytes("\n");
              gotoAndPlay(3);
    function BTN3Action(eventObject:MouseEvent) {
              elapsedTime = getTimer() - startTime;
              stream.writeUTFBytes("Tar3,");
              stream.writeUTFBytes(elapsedTime.toString());
              stream.writeUTFBytes("\n");
              gotoAndPlay(4);
    BTN1.addEventListener(MouseEvent.CLICK, BTN1Action);
    BTN2.addEventListener(MouseEvent.CLICK, BTN2Action);
    BTN3.addEventListener(MouseEvent.CLICK, BTN3Action);
    Any assistance with this is greatly appriciated. 

    Assuming you want to monitor key press on the button BTN1, you can do following:
    // Add a key up event listener on the button (or on the source where the key press needs to be captured)
    BTN1.addEventListener(KeyPress.KEYUP, BTN1KeyUpAction);
    // BTN1KeyUpAction sample, you can modify this
    function BTN1KeyUpAction(e:KeyboardEvent):void {
        if(e.keyCode == Keyboard.S) {
        gotoAndPlay(2);

  • HOW TO: Add /manipulate columns for a GridControl

    HOW TO: Add /manipulate columns for a GridControl when the columns (attributes) are from different entity objects.
    This HOWTO describes the basic steps of using attributes from different entity objects for a GridControl.
    One way you can create a GridControl which contain attributes from different entity objects is to create a view object and base it on the entity objects which contain
    the desired attributes.
    Here are the basic steps:
    1.Create a new view object (or use an existing view object) by selecting File>New from the menu, clicking the Business Components tab and double-clicking
    on the View Object icon.
    2.In the View Object wizard change the name to something meaningful.
    3.Select the entity objects you will base your view object on.
    4.Nivigate to the attribute screen and select the attributes you would like to include in your view object from each entity object. At this point you can also create
    a new attribute by clicking the "New" button. The new attribute can be a concatenation of other attributes, derived from a calculation etc.
    5.In the query panel of the View Object wizard, click "Expert mode" and enter a query statement. You write complex queries such as decoding a set of attribute
    values.
    6.Add your newly to your newly created view object to the application module by double-clicking on the application module in the navigation pane and selecting
    your view object from the list.
    7.Create a new row set.
    8.Bind row set to a query by editing their queryinfo property and selecting your view object and its attributes from the queryInfo pane.
    9.Create a GridControl and bind it to the row set by editing the dataItemName property of the GridControl. Since the GridControl is bound at the row set level
    all of the related attributes are automatically added.
    null

    Michael,
    Are you intending this as a commercial solution or a work around?
    To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
    And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
    So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
    That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
    Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
    null

  • How to get column names for a specific view in the scheme?

    how to get column names for a specific view in the scheme?
    TIA
    Don't have DD on the wall anymore....

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

  • Hi All how to add new payscale  for an employee in sap hr-abap,its urgent

    Hi All ,
    how to add new payscale for an employee  in sap hr-abap,its urgent.
    Message was edited by:
            bharat kumar
    Message was edited by:
            bharat kumar

    Hi
    If that field which you wants to add is available in one of the structures like EKKO,EKPO then you can add that field just beside the other fields
    If that field is not there in the any of the structures then you can define a variable using define command
    /: DEFINE  &VAR&
    / &VAR&  = <some value>
    or you can write subroutines to fetch the data from outside tables and can use those fields data in the script
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to create a folder for a specific e-mail account?

    How to create a folder for a specific e-mail account?
    I'm using a POP e-mail account and I would like to create folders / sub-folders... how can I do this?

    You can right click on your Desktop and select New Folder.  In Finder File > New Folder should work too, not in front of my Mac.
    Welcome to back by the way.  You might find these websites helpful.
    Switch 101
    Mac 101

  • How to add a border for Panel (jdk 1.1) ?

    how to add a border for Panel (jdk 1.1) ?

    Border's are a Swing feature, you will have to draw one by yourself (extend Panel and override paint()).

  • CLM How to add search-help for extension field(New Company Field) in MA.

    Hi all,
         Based on demand,I need to extend a new field(Company) in Master Agreement.
    But I do not know how to add search-help for this field,just like User Accont page.
    Anyone can help me ?thank you very muck.
    Regards,
    JackyCheng

    Hello Jacky,
    To combine all the answers above and have a topic-based reply please go through the below steps:
    #1. Inactivate the current extension field Company (I see it is actually a String value and this is not what you want to have)
    #2. Go to Setup -> System Setup -> Extension Reference Types
    Check if you already have a Company reference type
    If not, create a new Extension Reference Type for Class Company. Fill in all required information.
    #3. Create a new Extension Attribute
    Select Data Type: Object Reference
    Now you can add the Company type as reference
    Regards,
    Bogdan Toma

  • How to add F1 help for a field on ALV grid

    Hi All,
    When we execute a program, the output is displayed using ALV grid.
    on the ALV grid, if we press F1 on a field, it should popup the help document.
    How to add F1 help for a field on ALV grid.
    Thank you all in advance.

    fill field LVC_S_FCAT-ROLLNAME of your fieldcatalog in method SET_TABLE_FOR_FIRST_DISPLAY
    A.

  • How to add search help for standard field LIKP-TRAID

    Hi friends,
    How to add search help for standard field LIKP-TRAID ,
    refer screen
    Program Name       SAPMV50A  
    Screen Number      2108      
    TrnsIDCode ( LIKP-TRAID ) ..
    I need to add a search help, so that i can retrieve data from Ztable.
    Thanks.
    Abhi

    Hi Abhi,
    Try using any one option:
    Create a Search Help in SE11.
    Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
    OR
    Create a Zdata element in SE11.
    In Data Element, under Further Characteristics tab, enter Name  Parameters of Search Help.
    Assign this data element to that field in ur Ztable.
    OR
    Create a Zdomain and maintain a Value Table or Fixed Values for it.
    Assign this domain to that field in ur Ztable.

  • How to add a port for a IP cam in the airport extreme setting? thx!

    I has buy a IP cam, but I don't know how to add a port for a IP cam in the airport extreme setting? (I can see the IP cam in local, but not the internet.) Many Thanks!

    atwoodjordan, Welcome to the discussion area!
    See Steve Newstrum's user tip "How do I use Port Mapping (Part I)". When it talks about giving your Mac a static IP address just substitute camera instead.

  • How to add extra options for style of images.   iPad version has far more options than Mac version

    How to add extra options for style of images in pages.   iPad version has far more options than Mac version

    Thank you, you made me go look again and I realised the ones I use on the iPad are under Borders not style and they are on Mac also.  I feel a bit silly but I wouldn't have got there without your prompting.  Do you mean by "create your own"  using the borders and then saving as a style or can you create something that is not in either?
    Thanks again

  • How to add indian english for siri?

    how to add indian english for siri... siri no use for indian user...

    You cannot, it is something only Apple can do.
    The phone merely listens to the commands, digitizes into some proprietary format and sends it to Apple's servers, who do the heavy lifting of interpreting what you want. So you can't hack the language into the phone.

Maybe you are looking for

  • Help using a web service.

    Ok to Start off I havent used java for a while now, but was asked to create a small program that can enter and pull items from a database and send them to a web service. Trouble is I am not familiar with this type of operation. I cant seem to find a

  • BASH vulnerability in TE software

    https://tools.cisco.com/bugsearch/bug/CSCur05162 Does anyone else see some bad info on the above web page ...   Indicates that its fixed by but does not show what version ... seems lin TE 4.1.5 should be the fixed version The page for TC software see

  • CSS11501 Sticky connection based on msisdn field

    Hi there, Mobile GSM clients connect through WAPGW over CSS to real servers. We want to stick their connections based on msisdn field. As it seems this field is not recognized by CSS since "lookup fail" counter increases ant there is no match. We hav

  • How to send mail from adobe interactive form without opening the outlook

    Hello all, When the end user press the submit button i want it to send the XML data without opening the outlook or other mail application. Is there a way to do this? I tried javascript codes to send mail with UI = false but it did not work. Thank you

  • How to spot color in a character style?

    Dear all, How do I use change default color in a character style to a spot color say "Red"? Thanks, Billy