Visit Our UNIX and Linux User Community


Nim client with different subnet to Master


 
Thread Tools Search this Thread
Operating Systems AIX Nim client with different subnet to Master
# 1  
Old 11-08-2013
Nim client with different subnet to Master

Iam attempting to add a client to NIM however the new client has a different subnet than master 10... & 193... , I've established from redbooks that it should be possible but can't find anything that states how?
Does anyone use nim in this way?
# 2  
Old 11-08-2013
Yes you can do it,
Code:
smitty nim --> perform administrative tasks --> Manage network --> define a network (ent)
                                            Define a Network

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* Network Name                                       [Net_193_X]
* Network Type                                        ent
* Ethernet Type                                       Standard                                        +
* Network IP Address                                 [xx.xx.xx.0]
* Subnetmask                                         [xxx.xxx.xxx.xxx]
  Default Gateway for this Network                   []
  Other Network Type                                                                                  +
  Comments                                           [193 Network]

You have to define the Network IP address (say you have 10.10.193.xxx) then you will mention 10.10.193.0 (remember the zero)
Also ask your network team what is the subnet mask and enter it there and hit enter.

You can run lsnim -c networks to view the defined network.

Also run lsnim -l Net_193_X, to check the Network address and subnet mask.

You will 1st do an entry on new hosts in /etc/hosts file of nim server (IP and Hostname) and when you define a new machine (you will see the NIM network as Net_193_X)

Now the tricky part,
In the SMS menu of the client under "Gateway IP Address" you will mention the Gateway of client (193.X) and NOT NIM server gateway.

Last edited by ibmtech; 11-08-2013 at 12:35 PM.. Reason: Added another code
# 3  
Old 11-08-2013
Thanks for the info, what do you mean by (sorry I'm fairly new to nim)
Quote:
In the SMS menu of the client under "Gateway IP Address" you will mention the Gateway of client (193.X) and NOT NIM server gateway
do you mean on the client host 193... and if so where is the GATEWAY IP address in smitty nim?

the error I get by the way on the client is
Quote:
0042-006 niminit: (init to master) rcmd Error 0
# 4  
Old 11-08-2013
Ok, first of all I need to know the 'IP, gateway address & subnet mask of NIM and client (of 193 network).

If you are restoring mksysb on new client using NIM, you use SMS menu to configure the IP's

Giving an example of my environment
Code:
Under the Main menu, 
select option no 2. Setup remote IPL (Initial program Load)
Select the network adapter
Select IPv4, then BOOTP, then IP Parameters
IP Parameters
Interpartition Logical LAN: U9117.MMD.104F3F7-V15-C4-T1
 1.   Client IP Address                    [10.10.170.250]    --> My client IP
 2.   Server IP Address                    [10.10.4.140]    --> My NIM IP
 3.   Gateway IP Address                   [10.10.170.1]    --> Client Default G/W
 4.   Subnet Mask                          [255.255.255.0]   --> Client Subnet mask
 press esc (escape), and select option 3. Ping test

The ping test should be successful.

The above is for new clients

If you are saying you already have some client existing on 193 network, then you gotta define the network on NIM server 1st, and on client run the below
Code:
niminit -a master=<nimserver name> -a name=<clientname>
then run 
smitty nim_config_services  --> Communication Protocol used by client --> nimsh

Hit enter and try to connect from NIM, it should work.


Hope this helps.

Last edited by ibmtech; 11-08-2013 at 01:27 PM.. Reason: Example
# 5  
Old 11-11-2013
"Under the hood" NIM is a common bootp-server, if used to boot clients (like in an mksysb install). To work across network boundaries you need to make sure your router(s) is/are configured as a "bootp relay agent", otherwise bootp-broadcasts would be dropped. See RFC 1542 for details.

I hope this helps.

bakunin
# 6  
Old 11-11-2013
Hi sorry should have given more info at the start,

The master IP is 10.17.4.12 GW 10.17.4.204 255.255.254.0
New client IP is 193.3.6.87 GW 193.3.6.200 255.255.255.0

Previous Thread | Next Thread
Test Your Knowledge in Computers #624
Difficulty: Medium
The continue statement is used in Python to skip the rest of the statements in the current loop block and to continue to the next iteration of the loop.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

Problem in communication nim client with nim master

Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies

2. AIX

NIM master with multiple client subnets

Hi Guys, I'm building a new NIM environment with clients on 3 different subnets. I want to get some advise on what is the best approach for this kind of setup. This is the sample network for my new NIM. Master IP: 10.20.1.20 Client IP subnet_1: 10.20.1.21 Client IP subnet_1: 10.30.1.21... (5 Replies)
Discussion started by: kaelu26
5 Replies

3. AIX

NIM Master hostname

hi Admins, How can I check the NIM master hostname/IP name from NIM client ? I don't see any option that I can try with nimclient command. Let me know.. Thanks, (5 Replies)
Discussion started by: snchaudhari2
5 Replies

4. AIX

NIM : remove nim client info from the client

Hi. I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ? Tks (2 Replies)
Discussion started by: stephnane
2 Replies

5. AIX

Changing subnet mask for a NIM Network.

I am new to this forum so please bare with me. I did search for this answer prior to posting but no luck. Running an AIX NIM Master at 5.3TL9SP4, with about 100 clients. The subnet of one of the networks defined in the NIM env has changed. When I go to Manage Networks, Change/Show... (0 Replies)
Discussion started by: juredd1
0 Replies

6. AIX

Back up a client NIM from nim master

Hello everyone Im trying to backup a nim client from nim master but I got this message COMMAND STATUS Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. 0042-001 nim:... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

7. AIX

NIM master-client connectivity issue

Hello All, I believe my NIM master is fine. lsnim and cat /etc/niminfo gives me the right output. While doing "lsnim" on a client machine, I get ksh:lsnim:"not found". Please someone be nice enough to explain what are the steps to verify the master and client connectivity to do all the NIM... (3 Replies)
Discussion started by: solaix14
3 Replies

8. AIX

nim master

Hi, I want to know how to create nim master in AIX 5.3. Regards, Manoj (0 Replies)
Discussion started by: manoj.solaris
0 Replies

9. AIX

nim master

Hi, I want to know what are steps required to create nim master in aix? Regards, Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

10. AIX

Nim Master Problem

All, I'm testing NIM on a 7026-m80 machine. But everytime i want to setup the master, i get this error message... Anyone who knows how to solve this issue? google doesn't seem to know much about it # nim_master_setup ############################## NIM master setup... (1 Reply)
Discussion started by: kvanelshocht
1 Replies

Featured Tech Videos