Most devices attached to the campus network learn the IP address of their default IP router (a.k.a "gateway") via DHCP or BootP. Some do so by listening to RIPv1 routing announcements. If your device cannot use any of those methods, you may use this table to learn the IP address of the appropriate default IP router (a.k.a "gateway"), so you may manually configure your device with this information.
Most devices attached to the campus network learn the IP network mask (a.k.a. "netmask") via DHCP or BootP. If your device cannot use either of those methods, you may use this table to learn the appropriate network mask, so you may manually configure your device with this information.
Some devices attached to the campus network learn the IP broadcast address via DHCP or BootP. If your device cannot use either of those methods, you may use this table to learn the the appropriate IP broadcast address, so you may manually configure your device with this inforamtion.
In the first column, locate the range of IP addresses that include the IP address already assigned to your computer. In the second column, you can read off the appropriate default router IP address. In the third column you can read off the network mask, and the fourth column shows the broadcast address.
For example: if your IP address is 128.112.177.234, then the the IP address of the default IP router is 128.112.176.1, your network mask is 255.255.252.0, and the broadcast address is 128.112.176.0.
| If Your IP Address Starts With... | Default IP Router | Network Mask | Broadcast Address |
|---|---|---|---|
| 12.161.14.0 | 12.161.14.1 | 255.255.255.0 | 12.161.14.0 |
| 66.180.177 | 66.180.177.1 | 255.255.255.0 | 66.180.177.0 |
| 66.180.{184,185,186,187} | 66.180.184.1 | 255.255.252.0 | 66.180.184.0 |
| 128.112.{4,5,6,7} | 128.112.4.1 | 255.255.252.0 | 128.112.4.0 |
| 128.112.{16,17,18,19} | 128.112.16.1 | 255.255.252.0 | 128.112.16.0 |
| 128.112.{20,21,22,23} | 128.112.20.1 | 255.255.252.0 | 128.112.20.0 |
| 128.112.{24,25,26,27} | 128.112.24.1 | 255.255.252.0 | 128.112.24.0 |
| 128.112.{28,29,30,31} | 128.112.28.1 | 255.255.252.0 | 128.112.28.0 |
| 128.112.{32,33,34,35,36,37,38,39} | 128.112.32.1 | 255.255.248.0 | 128.112.32.0 |
| 128.112.{40,41,42,43,44,45,46,47} | 128.112.40.1 128.112.44.1 (note 5) |
255.255.248.0 (note 4) | 128.112.40.0 |
| 128.112.{48,49,50,51} | 128.112.48.1 | 255.255.252.0 | 128.112.48.0 |
| 128.112.{52,53,54,55} | 128.112.52.1 | 255.255.252.0 | 128.112.52.0 |
| 128.112.{56,57,58,59} | 128.112.56.1 | 255.255.252.0 | 128.112.56.0 |
| 128.112.60 | 128.112.60.1 | 255.255.255.0 | 128.112.60.0 |
| 128.112.61 | 128.112.61.1 | 255.255.255.0 | 128.112.61.0 |
| 128.112.62 | 128.112.62.1 | 255.255.255.0 | 128.112.62.0 |
| 128.112.63 | 128.112.63.1 | 255.255.255.0 | 128.112.63.0 |
| 128.112.{64,65,66,67,68,69,70,71} | 128.112.64.1 | 255.255.248.0 | 128.112.64.0 |
| 128.112.{80,81,82,83} | 128.112.80.1 | 255.255.252.0 | 128.112.80.0 |
| 128.112.{84,85,86,87} | 128.112.84.1 | 255.255.252.0 | 128.112.84.0 |
| 128.112.{88,89,90,91} | 128.112.88.1 | 255.255.252.0 | 128.112.88.0 |
| 128.112.{92,93,94,95} | 128.112.92.1 | 255.255.252.0 | 128.112.92.0 |
| 128.112.{96,96,97,99} | none (note 2) | 255.255.252.0 | 128.112.96.0 |
| 128.112.{100,101,102,103} | 128.112.100.1 | 255.255.252.0 | 128.112.100.0 |
| 128.112.{108,109,110,111} | 128.112.108.1 | 255.255.252.0 | 128.112.108.0 |
| 128.112.{104,105,106,107} | 128.112.104.1 | 255.255.252.0 | 128.112.104.0 |
| 128.112.{112,113,114,115} | 128.112.112.1 | 255.255.252.0 | 128.112.112.0 |
| 128.112.{116,117,118,119} | 128.112.116.1 | 255.255.252.0 | 128.112.116.0 |
| 128.112.{128,129,130,131} | 128.112.128.114 | 255.255.252.0 | 128.112.128.0 |
| 128.112.{136,137,138,139} | 128.112.136.1 | 255.255.252.0 | 128.112.136.0 |
| 128.112.{140,141,142,143} | 128.112.140.1 | 255.255.252.0 | 128.112.140.0 |
| 128.112.{144,145,146,147} | 128.112.144.1 128.112.144.248 (note 1) |
255.255.252.0 | 128.112.144.0 |
| 128.112.{148,149,150,151} | 128.112.148.1 | 255.255.252.0 | 128.112.148.0 |
| 128.112.{152,153,154,155} | 128.112.152.1 | 255.255.252.0 | 128.112.152.0 |
| 128.112.156 | 128.112.156.1 | 255.255.255.0 | 128.112.156.0 |
| 128.112.157 | 128.112.157.1 | 255.255.255.0 | 128.112.157.0 |
| 128.112.158 | 128.112.158.1 | 255.255.255.0 | 128.112.158.0 |
| 128.112.159 | 128.112.159.1 | 255.255.255.0 | 128.112.159.0 |
| 128.112.{160,161,162,163} | 128.112.160.1 | 255.255.252.0 | 128.112.160.0 |
| 128.112.{164,165,166,167} | 128.112.160.1 | 255.255.252.0 | 128.112.164.0 |
| 128.112.{168,169,170,171} | 128.112.168.1 | 255.255.252.0 | 128.112.168.0 |
| 128.112.{172,173,174,175} | 128.112.172.1 | 255.255.252.0 | 128.112.172.0 |
| 128.112.{176,177,178,179} | 128.112.176.1 | 255.255.252.0 | 128.112.176.0 |
| 128.112.{188,189,190,191} | 128.112.188.1 | 255.255.252.0 | 128.112.188.0 |
| 128.112.{192,193,194,195} | 128.112.192.1 | 255.255.252.0 | 128.112.192.0 |
| 128.112.{196,197,198,199} | 128.112.196.1 | 255.255.252.0 | 128.112.196.0 |
| 128.112.{200,201,202,203,204,205,206,207} | 128.112.200.1 128.112.204.1 (note 3) |
255.255.248.0 (note 4) | 128.112.200.0 |
| 128.112.{208,209,210,211} | 128.112.208.1 | 255.255.252.0 | 128.112.208.0 |
| 128.112.{224,225,226,227} | 128.112.224.1 | 255.255.252.0 | 128.112.224.0 |
| 128.112.{228,229,230,231} | 128.112.228.1 | 255.255.252.0 | 128.112.228.0 |
| 128.112.{232,233,234,235} | 128.112.232.1 | 255.255.252.0 | 128.112.232.0 |
| 128.112.{240,241,242,243} | 128.112.240.1 | 255.255.252.0 | 128.112.240.0 |
| 140.180.{0-31} | 140.180.0.1 | 255.255.224.0 | 140.180.0.0 |
| 140.180.{64-127} | 140.180.64.1 | 255.255.192.0 | 140.180.64.0 |
| 140.180.{128-191} | 140.180.128.1 | 255.255.192.0 | 140.180.128.0 |
| 204.153.49 | 204.153.49.1 | 255.255.255.0 | 204.153.49.0 |
| 204.153.50 | 204.153.50.1 | 255.255.255.0 | 204.153.50.0 |
| 204.153.51 | 204.153.51.1 | 255.255.255.0 | 204.153.51.0 |
|
|||||||
created: 2003-07-11 00:00:00 last updated: 2003-09-29 13:31:07
Directions
Step 1: edit /etc/defaultrouter
Using the editor of your choice, edit the file /etc/defaultrouter -- the only line in the file should be the default route of the system, for example: 192.168.1.1. This change will not take effect until the system is rebooted.
Step 2: Delete the current default route
To make the route change take effect immediately, you must first delete the default route. If the current default route is 192.168.254.1, then the command would be:
route delete default 192.168.254.1
Step 3: Assign the current default route
To implement the new default route without rebooting the system, use the following command substituting your default route for 192.168.1.1:
route add default 192.168.1.1
Copyright © 1996-2009 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Site uses AdSense so you need to be aware of Google privacy policy. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
Disclaimer:
Last modified: August 12, 2009