10.3 Removing a Network
Adapter
To enable IP packets to be forwarded, the ipforwarding attribute of the network option must be enabled. ipforwarding is a runtime attribute. The default value of 0 (zero) prevents forwarding of IP packets when they are not for the local system. A value of 1 (one) enables forwarding. Enable IP forwarding using the command:
no -o ipforwarding=1
You are trying to allow pings over multiple subnets on two interface boxes:
On both the machines with IP addresses 192.168.1.1 and 192.168.1.2, the value of the ipforwarding attribute should be set to 1 (one), such that IP packets are forwarded. Remember that ipforwarding is an attribute having a value of 0 (zero) or 1 (one); it is not a counter.