How to FORCE FTP FROM a specific network card on AIX

I have a Power7 running AIX 7.1 with 2-10/100/1000 network cards running 100_Full_Duplex currently plugged into the same 10/100 switch.

I need to temporarily reconfigure one of the network cards to 1000_Full_Duplex and connect it to a gigabit switch so I can FTP data to a local Windows 2003 Server that has a gigabit NIC and will be connected to the same gigabit switch.
After I change the AIX side to 1000_Full_Duplex, is it possible to start the FTP on the AIX side and FORCE it to use the network card set to 1000_Full_Duplex?

TIA,
Dan Kaib
Dan KaibAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

giltjrCommented:
It should choose the NIC based on the destination IP address and the routing table.

So just make sure that the route table uses that NIC for the IP address of the server you are going to.
0
Dan KaibAuthor Commented:
Thank you giltjr for your quick reply.

I have never had to add a route after the initial installation in AIX.
Below is the netstat -rn from the system:
Routing tables
Destination        Gateway           Flags   Refs     Use  If   Exp  Groups

Route Tree for Protocol Family 2 (Internet):
default            10.82.100.254     UG        0     11561 en0      -      -
10.82.100.0        10.82.100.221     UHSb      0         0 en0      -      ->
10.82.100.0        10.82.100.222     UHSb      0         0 en1      -      ->
10.82.100/24       10.82.100.221     U        12    440561 en0      -      ->
10.82.100/24       10.82.100.222     U         8    315221 en1      -      -
10.82.100.221      127.0.0.1         UGHS      2       238 lo0      -      -
10.82.100.222      127.0.0.1         UGHS      0        74 lo0      -      -
10.82.100.255      10.82.100.221     UHSb      2       277 en0      -      ->
10.82.100.255      10.82.100.222     UHSb      1       108 en1      -      -
127/8              127.0.0.1         U         4     33077 lo0      -      -

Route Tree for Protocol Family 24 (Internet v6):
::1%1              ::1%1             UH        1       160 lo0      -      -

I need to go from AIX IP address 10.82.100.222 (en1) to Windows IP address 10.82.100.244.

Below is the add route screen:
  Destination TYPE                                    net                    +
* DESTINATION Address                                []
* Default GATEWAY Address                            []
  COST                                               [0]                
  Network MASK (hexadecimal or dotted decimal)       []
  Network Interface                                  []                      +
  (interface to associate route with)
  Enable Active Dead Gateway Detection?               no                     +
  Is this a Local (Interface) Route?                  no                     +
  Policy (for Multipath Routing Only)                 Default (Global)       +
  Weight (for Weighted Multipath Routing Policy)     [1]                      #
  Apply change to DATABASE only                       no                     +

I was going to answer the questions as follows:
  Destination TYPE                                    host                   +
* DESTINATION Address                                [10.82.100.244]
* Default GATEWAY Address                          [10.82.100.254] should this be 10.82.100.222
  Network Interface                                  [en1]                      +

Unfortunately this is a live system that I don't feel comfortable adding a route on the fly.
Any help you could provide in completing this screen would be appreciated.

Thanks,
Dan
0
giltjrCommented:
Um, do you know if you actually use en1 at all?

Both adapters are on the same subnet.   Typically when that occurs all traffic initiated from this host would flow out the first adapter, in your case en0.

I'm not sure if you set a route for 10.82.100.244 via 10.82.100.244 it would work.

I believe that you may want to change " Is this a Local (Interface) Route? " from no to yes.

If you were doing command line instead of SMIT you would do:

route add -host 10.82.100.244 10.82.100.244  -interface

Then when you are done it would be:

route delete -host 10.82.100.244 10.82.100.244  -interface
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Dan KaibAuthor Commented:
Thanks giltjr for the quick reply.

I don't know if both are being used.  The system came in with the OS installed and IBM did the setup.

There are probably 30 users connecting to the AIX system using thin client.

Is there a way to tell if both en0 and en1 are in use?

Thanks,
Dan
0
giltjrCommented:
Looking at some other doc, it looks like if AIX sees two interfaces in the same subnet by default it will use them both in round robin fashion.

If you setup the static route to use a specific interface it should use that interface for all traffic to that host/network.
0
Dan KaibAuthor Commented:
Thank you giltjr for your help.
I will be adding the route tomorrow for testing.

Thanks,
Dan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.