10.3 Removing a Network Adapter

10.4 Enabling IP Packets To Be Forwarded

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:

  1. The first that is on your subnet 9.3.1 with IP address 9.3.1.124 that interfaces with the subnet 192.168.1 with IP address 192.168.1.1.

  2. The second in the 192.168.1 subnet with IP address 192.168.1.2 that interfaces with the subnet 192.168.2.

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.

10.5 Changing the Primary Name Server