The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DHCPD, Multiple interfaces, Single Subnet vertigo23 IP Networking 0 10-26-2005 06:42 PM
Interfaces do not failover StorageGuy SUN Solaris 5 08-06-2005 06:39 PM
multiple interfaces with apache? cerberusofhnsg UNIX for Dummies Questions & Answers 2 08-09-2003 12:32 AM
interfaces emsakopa UNIX for Dummies Questions & Answers 1 01-16-2003 03:44 PM
Multiple Interfaces and Routes diemos IP Networking 3 06-22-2001 10:14 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-12-2006
Docboyeee Docboyeee is offline
Registered User
  
 

Join Date: Apr 2002
Location: Florida
Posts: 44
Multiple LAN Interfaces

Is there a way to add routes using the add route command in AIX to add different routes and bind them to different NICS installed in the box?
  #2 (permalink)  
Old 12-15-2006
kapilraj kapilraj is offline
Registered User
  
 

Join Date: Dec 2006
Location: Maryland
Posts: 162
Routes are not defined for a NIC but for a destonatin network.
Thus you can have multiple routing table entries for diffrent networks.

i.,e. on my machine , I have a default route goes through my frontend network. And then a summary route for one of the Class C network which gets me to the NAS and other devices. and then some other routes for the management networks. I have 3 ethernet cards with diffrent ip address in them.

Regds,

Kaps
  #3 (permalink)  
Old 12-16-2006
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
Expanding on what kapilraj already explained:

A route is basically a rule "send everything destined to network <destination> to IP-address <gateway>". This gateway can be one of your network interfaces or the address of a remote machine. In the first case you tell your own machine how to handle a (class of) network packet(s) in the latter you rely on the remote machine knowing how to further dispatch your packets. Usually this is a router whichs purpose is exactly that.

A special case of a route is the "default route", which is used by your machine as a last resort - "if everything else doesn't apply follow this rule".

In a machine with one NIC there are usually two routes: The first one tells the machine to send everything destined to the "own network" (the network the own IP-address is part of) to the own NIC, the other - default - route tells the machine to send everything else to the next router (which hopefully knows how to deal with it).

In a machine with two (or more) interfaces you set up routes similar to the first one in the last example for every interface. At last you set up a default route to one of the routers on one of the networks connected to that way. Every traffice not addressed to the networks your machine already has a leg in will go there.

Of course you can set up routes for specific networks and this way enforce that some traffic goes over a specific interface. The easiest way to get the idea is to draw a (however simple) picture with the networks and the routers and visualize your rules before implementing them.

bakunin
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0