You aren't providing any information with your rendition of the ifconfig command.
You can copy in konsole, or redirect the output to a file and then copy it in an editor, or open the file in the web browser. I'll guess that you don't have a network device.
Even if you did, you need to have the static router on that device set up first before adding the default gateway.
It may already be setup for you.
Code:
/sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
jesnet * 255.255.255.128 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default linksys 0.0.0.0 UG 0 0 0 eth0
Here I would need the jesnet route (line 1) before creating the default router (line 3)
If you are wondering, I edited my /etc/networks file. That is why the destination has a name instead of 192.168.1.0. I also entered the routers IP address in /etc/hosts.
The first two lines of the ifconfig output for you network device should look similar to this:
Code:
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:B0:0C:EF:AB
inet addr:192.168.1.105 Bcast:192.168.1.127 Mask:255.255.255.128
eth0 is the device name. These are private IP address. The router is at 192.168.1.1 (where almost everyone's home NAT router is).
At one time, I had two subnets. That is why the netmask is 255.255.255.128.
You can download the "Network Administrator's Guide (2nd. Ed.)" from the
www.tldp.org website. It explains how networks work and are configured. You can download a pdf, Postscript or html based document. It is the same O'Reily book as in the book stores, just an earlier edition.