Discussion Locked

Unix AIX4.3 NIC Card Addressing

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have an IBM6000 running Unix AIX 4.3.
I have two NIC cards, one NIC to a IBM Router then to a DSU/CSU for 56K dedicated connection to the internet, the other NIC is to a hub on a NT 4.0 Lan.
The internet NIC has public ip address with the gateway being the ip number of the router which is also public address. The LAN NIC has a private ip address and I want it's gateway to be that of the NT Server's private ip addressed NIC. Unix will not allow me to have separate gateway addresses!!! When Ienter the gateway on one NIC, both NICs get this address. This is not an unusual topology, so why can I not have the gateways of the two NICs different? When only using one NIC seperately the connections works just fine. I need specific direction tocorrect my problem, not general thoughts on the issues, please. Thanks in advance.

3 replies

by stillatit

The default gateway is where you want the machine to send traffic that it otherwise has no clue where to send. You set this with route add default

If your LAN does not have internet connections, I suggest that you give your AIX system explicit route commands to each subnet of your lan, all of which point at the ip of the NT server. (man route will pull up the man page describing the syntax)This will allow the AIX box to find anything on your LAN. Set the default route to your internet connection, so that if the traffic is NOT to somewhere on your lan, it goes out to the internet.

Good luck.

by rnrruss

Thank You for your response, but this doesn't really help me. As explained, I can get either NIC working seperately. What I need to find out is how to put a different gateway on each card at the same time. I have a internet connection in the NT machine, and I want to use either of them, at the same time.

This discussion is closed to new replies.