A description of this method appears later in this document under the heading "Changing Your IP Address or Subnet Mask (No Reboot Needed)."
A description of this method appears later in this document under the heading "Changing Your IP Address and/or Subnet Mask (Takes Effect at Next Reboot)."
The advantage in using the second method is that it ensures that you do not save an incorrect setting; you will confirm that your settings are correct now, instead of at a later reboot, which may not be at a convenient time.
Note: For information on rebooting your specific system, consult the VMS documentation set.
$ MULTINET SHOW/ROUTE $ MULTINET SET/ROUTE/DELETE=(DESTINATION_ADDRESS=ip-address,- GATEWAY_ADDRESS=ip-address)
Note: You can use the command MULTINET SET/ROUTE/FLUSH to delete all of your gateway routes, which can save a lot of typing.)
$ MULTINET SET/ROUTE/DELETE=(DESTINATION_ADDRESS=0.0.0.0, - GATEWAY_ADDRESS=ip-address)
Your interfaces are viewable by typing:
MULTINET SHOW/INTERFACE SE0
To change the IP address and/or subnet mask of interface "SE0", use the following command. If you want to change a different interface, replace "SE0" with the appropriate interface.
$ MULTINET SET/INTERFACE SE0/ADDRESS=new_ip_address - /IP_SUBNET_MASK=new_subnet_mask. Note: Save this change so it is not lost when you shut down the system. See the section later in this tip for instructions.
$ MULTINET SET/ARP/FLUSH
$ MULTINET SET/ROUTE/ADD=(DESTINATION_ADDRESS=ip-address,- GATEWAY_ADDRESS=ip-address SE0)
If you need to change your default router (because your IP address change put your MultiNet system into a different network), you need to add a new default route:
$ MULTINET SET/ROUTE/DELETE=(DESTINATION_ADDRESS=ip-address,- GATEWAY_ADDRESS=ip-address [,INTERFACE]) $ MULTINET SET/ROUTE/ADD=(DESTINATION_ADDRESS=ip-address, GATEWAY_ADDRESS=ip-address [,INTERFACE])
$ MULTINET SHOW/INTERFACE SE0then ping your own address:
$ MULTINET PING your-ip-address
and ping the default route:
$ MULTINET PING default-route-ip-address
$ STOP/QUEUE/RESET SMTP_nodename1 $ STOP/QUEUE/RESET SMTP_nodename2 ... $ START/QUE SMTP_nodename1 $ START/QUE SMTP_nodename2 ...
Note: You must save this configuration, or the settings will revert to the original settings when you reboot.
You now need to save your new IP address and subnet mask to the MultiNet configuration files. See the next procedure.
$ MULTINET CONFIGURE MultiNet Network Configuration Utility 3.x(yy) [Reading in MAXIMUM configuration from MULTINET:MULTINET.EXE] [Reading in configuration from MULTINET:NETWORK_DEVICES.CONFIGURATION] NET-CONFIG>MODIFY SE0 [Modifying configuration entry for device "se0"] VMS Device: [EZA0] Link Level Encapsulation Mode: [ETHERNET] BSD Trailer Encapsulation: [DISABLED] IP Address: [10.10.0.10] 18.104.22.168 IP SubNet Mask: [255.0.0.0] Non-Standard IP Broadcast Address: [NONE] NETWARE Network Number: [NONE] [se0 (Shared VMS Ethernet/FDDI): Csr=NONE, Flags=%X0]
Note: If you are changing an interface other than "SE0", replace "SE0" with the interface you're changing. Be sure to substitute the IP address and subnet mask you want to use (22.214.171.124 is an example!).
To determine if you have a default route, type:
$ MULTINET SHOW/ROUTE/NOSYMand look for the line:
DEST GATEWAY 0.0.0.0 _______
Note: Altenatively, you can type
$ MULTINET CONFIGURE.
SHOW at the prompt. If you
have a default route, it will be displayed.
To change your default route for the next reboot, use the NET-CONFIG utility (which you entered in step 1):
NET-CONFIG> SET DEFAULT-ROUTE 126.96.36.199
Note: Consult the Digital documentation for VMS shutdown procedures for your system type.