Configuring TCP/IP Networking manually with the command line
NOTE: In this example, the default route is set up to go to 208.164.186.1, your router. Once again, if you want to keep your default gateway value, it’s preferable to set in it the files related to networking functionality (/etc/sysconfig/network).
Verify that you can reach your hosts. Choose a host from your network, for instance 208.164.186.1.
• To verify that you can reach your hosts, use the command:
[root@deep /]# ping 208.164.186.1
The output should look something like this:
[root@deep networking]* ping 208.164.186.1
PING 208.164.186.1 (208.164.186.1) from 208.164.186.2 : 56 data bytes
64 bytes from 208.164.186.2: icmp_seq=0 ttl=128 time=1.0 ms
64 bytes from 208.164.186.2: icmp_seq=1 ttl=128 time=1.0 ms
64 bytes from 208.164.186.2: icmp_seq=2 ttl=128 time=1.0 ms
64 bytes from 208.164.186.2: icmp_seq=3 ttl=128 time=1.0 ms
— 208.164.186.1 ping statistics —
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.0/1.0/1.0 ms
You should now display the routing information with the command route to see if both hosts have the correct routing entry:
• To display the routing information, use the command:
[root@deep /]# route -n
The output should look something like this: