[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::atm

Title:atm
Moderator:NPSS::WATERS
Created:Mon Oct 05 1992
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:970
Total number of notes:3630

827.0. "Gateway Address ? please" by PRSSOS::PEYRACHE (Jean-Yves Peyrache Country Support Group France) Mon Feb 17 1997 12:48

    
    
      Hi,
    
      any plan to include a Gateway Address on GS/ATM 
      IP ADDress /SUBnet management Menu ?
    
      it would be  useful if you need to manage G/S from different subnets
    
      thanks for any comments
    
      JYP
T.RTitleUserPersonal
Name
DateLines
827.1NPSS::NEWTONThomas NewtonMon Feb 17 1997 16:356
    I just checked, and there is an internal function to do this, so it
    should be simple to add it to the menu.

    However, I don't know whether any new features will be permitted to
    go into the current release, so you might have to wait for V2.5.
827.2when ?PRSSOS::PEYRACHEJean-Yves Peyrache Country Support Group FranceTue Feb 18 1997 04:595
    Good news,
    
     do you have timeframe for V2.5 avaibility ?
    
     JYP
827.3NPSS::NEWTONThomas NewtonTue Feb 18 1997 17:484
>   Do you have timeframe for V2.5 availability ?

    No, although I'd guess summer at the earliest.
827.4NPSS::NEWTONThomas NewtonTue Feb 18 1997 17:493
    Also, the menu and the current CLI will go away, to be replaced by a
    new CLI.  So I should have said "command" instead of "menu item".
827.5Some commands available nowNPSS::NEWTONThomas NewtonTue Feb 18 1997 20:1031
I found a few "hidden commands" in the current switch software that may help:


ATMswitch-> netHelp
...
routeAdd     "destaddr","gateaddr" - add route to route table
routeDelete  "destaddr","gateaddr" - delete route from route table
routeShow                          - print current route table
...


ATMswitch-> routeShow

ROUTE NET TABLE
destination      gateway          flags  Refcnt  Use           Interface
------------------------------------------------------------------------
16.0.0.0         16.22.1.111      1      1       388           sn0
------------------------------------------------------------------------

ROUTE HOST TABLE
destination      gateway          flags  Refcnt  Use           Interface
------------------------------------------------------------------------
127.0.0.1        127.0.0.1        5      1       19            lo0
------------------------------------------------------------------------
value = 73 = 0x49 = 'I'


The main drawback I can see to these commands is that they do not store the
information you enter in NVRAM.  You'd need to reconfigure the gateway each
time you rebooted the switch.
827.6More help on "routeAdd"NPSS::NEWTONThomas NewtonTue Feb 18 1997 20:1652
/******************************************************************************\
*
*
* routeAdd - add a route
*
* This routine adds gateways to the network routing tables.
* It is called from a VxWorks machine that needs
* to establish a gateway to a destination network (or machine).
*
* Both <destination> and <gateway> can be specified
* in standard Internet address format (e.g., 90.0.0.2) or by their
* host names, as specified by hostAdd().
*
* EXAMPLE
* The call:
* .CS
*     routeAdd ("90.0.0.0", "gate")
* .CE
* tells VxWorks that the machine with the host name "gate" is the gateway to
* network 90.0.0.0.  The host "gate" must already have been created by
* hostAdd.
*
* The call:
* .CS
*     routeAdd ("90.0.0.0", "91.0.0.3")
* .CE
* tells VxWorks that the machine with the Internet address 91.0.0.3 is the
* gateway to network 90.0.0.0.
*
* The call:
* .CS
*     routeAdd ("destination", "gate")
* .CE
* tells VxWorks that the machine with the host name "gate" is the gateway to
* the machine named "destination".  The host names "gate" and
* "destination" must have already been created by hostAdd().
*
* The call:
* .CS
*     routeAdd ("0", "gate")
* .CE
* tells VxWorks that the machine with the host name "gate" is the default
* gateway.  The host "gate" must already have been created by hostAdd().
* A default gateway is where IP datagrams are routed when there is no
* specific routing table entry available for the destination IP network or host\
.
*
* RETURNS: OK or ERROR.
*
* SEE ALSO:
* .pG "Network"
*/
827.7HiddenPRSSOS::PEYRACHEJean-Yves Peyrache Country Support Group FranceWed Feb 19 1997 03:527
    
    thanks
    
     just to my mind, how to know all Hidden commands ?
    
    
     JYP
827.8NPSS::NEWTONThomas NewtonWed Feb 19 1997 15:404
    >  how to know all Hidden commands ?

    Become a developer, and read the source code.