Not a configuration guide
A sample router configuration (WAN, DHCP, port forwarding and firewall) can be found in Network Devices.
Examples used:
- 192.168.1.101 = myhost, myhost.mydomain.tld
- 192.168.1.1 = router
- 192.168.1.151 = Windows machine
- 123.456.789.012 = public IP
Testing
Let us find out whether the network is working. (Caution: you should use IPs in your local network for the test.)
Get the local IP address of your system:
-
$ ifconfig
bash: ifconfig: command not found
|
- That is correct, ifconfig is a root command. Switch to root.
-
# ifconfig
eth0 Link encap:Ethernet HWaddr aa:bb:cc:xx:yy:zz
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
more information....
|
Check signal transfer:
- Caution: Note the "-c 4" switch. If you issue without it, ping will continue until you press Ctrl-C.
- Windows workstation:
-
$ ping -c 4 192.168.1.151
|
- Router:
-
|