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?

Yes you can do it,

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.

Thanks for the info, what do you mean by (sorry I'm fairly new to nim)

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

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

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

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.

"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

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