Multiple LAN Interfaces


 
Thread Tools Search this Thread
Operating Systems AIX Multiple LAN Interfaces
# 1  
Old 12-12-2006
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  
Old 12-15-2006
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  
Old 12-16-2006
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
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Problem with multiple network interfaces

Hi .. we have two AIX 5.3 systems with a small client server app communicating over a TCP socket. Box A has a single network interface where the server app (in Java) opens a well known port and waits for connections from Box B. Box B has two network interfaces, X and Y. Interface X has the... (4 Replies)
Discussion started by: RonBowater
4 Replies

2. Solaris

Solaris 8: Multiple primary interfaces connected to the same network

Hello, I have a machine with Solaris 8, and it has multiple interfaces that are connected to the same network which means they all have metric 0 (1 hop) to the default gateway. assume: * e1000g0: 10.1.1.70 * e1000g2: 10.1.1.72 * e1000g4: 10.1.1.74 * e1000g5: 10.1.1.76 * gateway:... (11 Replies)
Discussion started by: aeg
11 Replies

3. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

4. Solaris

Adding multiple virtual interfaces on a non global zone.

Hello All, I have a requirement to add multiple virtual interfaces on a non-global zone (Solaris 10). The global zone is a 2 node Veritas Cluster Server. So, my question is do we have to make any modifications to the cluster config (which I think should not be the case)? Can anyone help with me... (11 Replies)
Discussion started by: mahive
11 Replies

5. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

6. IP Networking

DHCPD, Multiple interfaces, Single Subnet

I have an OpenBSD 3.7 firewall with five network interfaces on it, one of which is connected to the Internet. I'd like to use the remaining four interfaces as a network switch for a single internal subnet. The main problem I have is that the DHCP daemon doesn't like multiple interfaces matching... (0 Replies)
Discussion started by: vertigo23
0 Replies

7. UNIX for Dummies Questions & Answers

multiple interfaces with apache?

I'm having some problems here, and was wondering whether it was an Apache problem. We have two firewalls where I'm at, Apache is installed on the second one. The first firewall is setup to forward all outside requests to port 80 on the second firewall. Apache is only working on the lan, not the... (2 Replies)
Discussion started by: cerberusofhnsg
2 Replies

8. IP Networking

Multiple Interfaces and Routes

I have a Unix box with 2 network interfaces on the same IP subnet and would like to add a host route via a specific interface. Any assistance would be greatly appreciated. (3 Replies)
Discussion started by: diemos
3 Replies
Login or Register to Ask a Question