VoIP (Voice over Internet Protocol) is an alternative to land line phone communication systems. VoIP relies on the Internet to place the phone call. However, for this to take place, an important address must be handed out to the phone systems. This is the IP address, and every network device has one. Routers, which are networking devices that control where data packets go (including voice and video), use the IP address for the forwarding operation.
- Skill level:
Other People Are Reading
Connect to the router with a console cable from the PC to the switch. Click "Start" then select the switch connection program (see Resources) to connect the PC to the switch. When the switch comes up, the screen on your PC will show the switch window. The screen will look like ">." This is user mode. The switch editor launches automatically. Next type "enable" on the switch screen. This puts you in privilege mode, and sets the stage for the switch configuration. The next step is to start the actual switch configuration. (Note in the configuration, there are some numbers followed by a period; ignore the last period.)
Type the configuration command "config T" to enter global configuration mode. Type "interface GiE0/1" to enter interface mode and start the configuration on a gigabit Ethernet port. The next step is to create a vlan. Type the following command,"switchport access vlan 2" (Virtual local area network). However, you also have to create a voice vlan. Now, on the switch, type "switchport voice vlan 22." Both vlan's numbers, 2 and 22, are random numbers that you can select or change. Type the command "exit" to return to global configuration mode.
Type "interface vlan2" to set up a vlan. Next proceed to give this vlan an IP (Internet protocol) address. So type "ip address 172.16.2.1 255.255.255.0" to link vlan2 to that IP address. Type "exit" to return to global configuration mode. However, you have to configure the voip vlan. Type "interface vlan22" in order to create the second vlan. Next, type "ip address 172.16.22.1 255.255.255.0", which will associate vlan 22 with this IP address. Type "exit" to return to the global configuration mode.
Type "ip dhcp pool BusinessUnit" where you create the DHCP (Dynamic Host Configuration Protocol). DHCP leases IP addresses to devices. All devices on a network have to have an IP address, and there are two ways to assign them. You can do it manually, or by leasing. If you have very few devices, you can do it manually. But if you have a large number of devices, then you want the switch to lease the numbers automatically for you.
Type "network 172.16.2.0 255.255.255.0" followed by "dns-server 172.16.24.4." The first command creates the network, and the second associates an IP address to the DNS-server. DNS (domain name system) associates an IP address with a name, like a phone book associates a phone number with a name. Next type "domain-name BusinessCompany.com", then follow this with "default-router 172.16.22.1." Finally, and most importantly type "option 186 ascii "tftpsrvr=172.16.24.189, mcport=1819, mcipadd=172.16.204.21, l2qvlan=22, l2q=1, l2qaud=5, l2qsig=3" where the phone will get the DHCP scope coming from vlan 22. But the configuration is not complete. Next you must complete the VoIP DHCP configuration. It looks similar to the BusinessUnit DHCP pool configuration.
Type "dhcp pool BusinessUnitVoip" and you follow this with "network 172.16.22.0 255.255.255.0." Type "dns-server 172.16.24.4", then identify the domain name with "domain-name BusinessCompany.com". The default router is the same; type with "default-router 172.16.22.1". Complete the configuration with a similar option. Type "option 186 ascii "tftpsrvr=172.16.24.189, mcport=1819, mcipadd=172.16.204.21". Finally, turn on the DHCP service; type "service dhcp."
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for