Unix Technical Forum

How to specify the interface name to use with a specific route

This is a discussion on How to specify the interface name to use with a specific route within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, Could any one tell me if it is possible in AIX 4.3.3 on a machine with 2 nics ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 09:01 PM
Jérôme
 
Posts: n/a
Default How to specify the interface name to use with a specific route

Hello,
Could any one tell me if it is possible in AIX 4.3.3 on a machine with 2
nics to specify a specific interface while using the "route add" command ?

The AIX documentation mention the -interface parameter but it does not
accept arguments !

Thanks
--
Jérôme BAGATTIN
Ingénieur technico-commercial
BULL S.A. Agence de Polynésie-Française
Centre Vaima
B.P 20682 98713 Papeete Tahiti
Polynésie-Française
Tel. : (00 689) 54 44 83
mail : jerome.bagattin@bull.pf


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 09:01 PM
Marrek
 
Posts: n/a
Default Re: How to specify the interface name to use with a specific route

U¿ytkownik "Jérôme" <jerome.bagattin@bull.pf> napisa³ w wiadomo¶ci
news:bj91qh$gaupo$1@ID-189430.news.uni-berlin.de...
> Hello,
> Could any one tell me if it is possible in AIX 4.3.3 on a machine with 2
> nics to specify a specific interface while using the "route add" command ?
>
> The AIX documentation mention the -interface parameter but it does not
> accept arguments !
>
> Thanks
> --
> Jérôme BAGATTIN
> Ingénieur technico-commercial
> BULL S.A. Agence de Polynésie-Française
> Centre Vaima
> B.P 20682 98713 Papeete Tahiti
> Polynésie-Française
> Tel. : (00 689) 54 44 83
> mail : jerome.bagattin@bull.pf
>
>


try this:
route add -net netIP interfaceIP -interface
route add -host hostIP interfaceIP -interface


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 09:02 PM
Jérôme
 
Posts: n/a
Default Re: How to specify the interface name to use with a specific route

Thank you Marrek, your command works correctly on my Aix 4.3.3 server.

Marrek <ogniemi@poczta.onet.pl> a écrit dans le message :
bj9951$cbf$06$1@news.t-online.com...
> U¿ytkownik "Jérôme" <jerome.bagattin@bull.pf> napisa³ w wiadomo¶ci
> news:bj91qh$gaupo$1@ID-189430.news.uni-berlin.de...
> > Hello,
> > Could any one tell me if it is possible in AIX 4.3.3 on a machine with 2
> > nics to specify a specific interface while using the "route add" command

?
> >
> > The AIX documentation mention the -interface parameter but it does not
> > accept arguments !
> >
> > Thanks
> > --
> > Jérôme BAGATTIN
> > Ingénieur technico-commercial
> > BULL S.A. Agence de Polynésie-Française
> > Centre Vaima
> > B.P 20682 98713 Papeete Tahiti
> > Polynésie-Française
> > Tel. : (00 689) 54 44 83
> > mail : jerome.bagattin@bull.pf
> >
> >

>
> try this:
> route add -net netIP interfaceIP -interface
> route add -host hostIP interfaceIP -interface
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:42 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com