Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring multiple ethernet on diff subnets, AIX 4.3.2

Status
Not open for further replies.

rodmccown

IS-IT--Management
Dec 1, 2001
3
US
I have an IBM H50 running AIX4.3.2 that I recently aquired. I have no previous AIX experience but have loads of HP and SUN. I've been reading all of the suggestions for configuring different interfaces on different subnets, but none are working. In SMIT or SMITTY, when I change the gateway on one, it changes the gateway for all, then I have to go back to the console to get it back. I have one interface, en0, configured where we can get to the machine. It shouldn't be this hard, should it?
 
Are you used to set up your net interfaces using [tt]ifconfig[/tt]? Set your new interfaces the same way, using both [tt]ifconfig[/tt] and [tt]route[/tt].

To make your changes permanent, write'em down on the [tt]/etc/rs.tcpip[/tt] file.
I hope it works...
Unix was made by and for smart people.
 
There is one gateway for the system

The first time through you use minimal configuration under smit tcpip
The second card is only done through further configuration..not minimal ?

I would suggest

ifconfig en0 down
ifconfig en0 detach
ifconfig et0 down
ifconfig et0 detach

and any others you have set up.....like en1 or en2

Then do a rmdev -dl en0
rmdev -dl et0
rmdev -dl ent0
rmdev -dl ent1
etc etc etc....

finally cfgmgr
and go in and do it as I said above...

minimal for the first card....either en0 or et0...(with one gateway)
and then define the second card on en1 with further configuration
 
I forgot to mention...also check you /etc/hosts file for garbage after adding and
removing cards....it may have bad info in it.
 
rodmccown,

Well in HP and SUN you can only have one default gateway as far as I aware AIX is no different, a different subnet is not determined by your default gateway but either by changing the subnet mask or just using a different logical subnet. For your first interface use smitty tcpip, any other use smitty chinet.

Cheers

Paul PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
The whole reason that I asked about more than 1 gateway is because I am doing it with Sun. Here we have different subnets, (the network guys call them V lans)and are using them to cut traffic. One interface in one vlan is how the users get to the machine. The other interface on another vlan is strictly for backups, and other admin stuff. With Sun, and RIP turned of, you make your gateway entries in a /etc/defaultrouter file. Keeps the complaints down while doing backups and stuff.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top