| Changing the Cisco's Internal IP address |
|
***Official Disclaimer***
Neither I nor Alltel/Windstream/Your ISP/Anyone else will be held accountable for what you or anyone else does inside your router or on your computer or any software you download and/or install. If you change/remove/corrupt something up on your computer or router or equipment and someone has to fix it or replace it for you and charge you money/services/beer for fixing it then it's your responsibility not mine nor is it Alltel/Windstream's or your ISP's or anyone else's. I give you the information that I have learned/found/acquired. What you do with it is up to you. Do not email me with questions or complaints about why your router/computer/equipment/etc. doesn't work. I cannot guarantee that this config or these settings or information on this site will work for everyone. I can't test all solutions possible because I don't know them all and there are not enough hours in the day/week/month/year for me to test every combination possible. I have tested/used these configurations/software and they work for me. I am just letting my findings be open to help others in times of need at no cost. If you do not understand these instructions/configurations/software or are afraid that you will mess up the computer/router/equipment/software then you will want to contact a computer/network technician to help fix/configure/build what you need done. |
||
|
So you got DSL and get it all setup only to find out that the router's IP address doesn't match what your network is on. You have 2 choices:
A) Conform your network to your router B) Conform your router to your network. I prefer the second option, especially if you have several machines on your network. Now keep in mind this is for you folks using DHCP (That means you don't have a static IP address). The commands are actually quite simple. For my example we are going to set the router's internal IP address to 192.168.200.1. First get into your router then go into enable mode. |
||
|
Next at the cbos# prompt type:
set int eth0 address 192.168.200.1 |
This is the router's IP address on your local area network | |
| set int eth0 mask 255.255.255.0 | This is the router's subnet mask. | |
| set dhcp server pool 0 gateway 192.168.200.1 | This is the IP that the router will use for DHCP, has to be the same as the eth0 address | |
| set dhcp server pool 0 ip 192.168.200.2 | This is the first IP address that your router will dole out for IP addresses | |
| set dhcp server pool 0 size 16 | This is how many computers you will allow DHCP in the router to assign IP addresses to. | |
|
set dhcp server pool 0 dns 166.102.165.13
set dhcp server pool 0 sdns 166.102.165.11 |
This sets up the DNS servers that your computers will use, the DNS servers in the example are ALLTEL's primary and secondary DNS numbers. | |
| write | Writes the information to the router | |
| reboot | Reboots the rotuer | |
|
In this example when you setup your computer's network settings you would assign them as such:
The computer's IP address (assigned by DHCP server) The computer's subnet mask: (assigned by DHCP server) The computer's gateway: (assigned by DHCP server) The computer's DNS servers (assigned by DHCP server) This sample configuration will allow the router to handle upto 16 computers starting with the IP address of 192.168.200.2 all the way up to 192.168.200.17. You can also set your network up to have your computers have the same IP address all of the time such as the example below: The computer's IP address: 192.168.200.18 The computer's subnet mask: 255.255.255.0 The computer's gateway: 192.168.200.1 The computer's DNS servers 166.102.165.13, 166.102.165.11 domain is alltel.net, domain suffix search order is alltel.net (for this example) Notice that I started with the IP address of 192.168.200.18, I did this so that if a computer is manually configured to an IP address it won't interfere with a computer that may have gotten an IP assigned to it by DHCP. It's always a good idea to manually assign computers IP addresses outside of the DHCP pool range. |
||
| Changing the Cisco's Internal IP address |