If the PXS acting as the only router for the subnet, hosts in the subnet can be configured so that their default gateway is the IP address of the PXS. (If the subnet has a DCHP server, it is a good idea to configure that server to provide the default gateway parameter to all the hosts. Consult your DHCP server manual for instructions. If the network subnet does not have a DHCP server, you will have to manually configure each host in the subnet.)
If the PXS is not the only router for the subnet (or there are multiple PXSs), static routes will need to be added to the routing tables to show that each PXS is the gateway for the subnet(s) it serves. Exactly how this is done depends on how routing is done in the subnet.
For instance, suppose that the PXS with
IP address 192.168.100.1
is a
gateway to the 192.168.200.0/24
network. To add a permanent route
to a host using the Windows route utility, you would enter:
route -p add 192.168.200.0 mask 255.255.255.0 192.168.100.1
To do the same thing in Linux, you would add the following line to /etc/sysconfig/static-routes:
eth0 net 192.168.200.0 netmask 255.255.255.0 gw 192.168.100.1
(This assumes that subnet 192.168.100.0
is directly reachable
using interface eth0
.)