Chapter 5 . Getting on the Internet 187 (Ipower web hosting)

Chapter 5 . Getting on the Internet 187 5. If you are able to reach an IP address on your LAN with ping, but are unable to ping a host computer by name, you may not be communicating with your DNS server. Repeat the ping command with the IP address of your DNS server to see if it is up and that you are able to communicate with it. 6. Check your DHCP information. If you obtained your IP address from a DHCP server, chances are your DHCP server fed your computer other information it needed to use the network as well. Look for a file that contains information about your DHCP lease. The lease includes information about the address that has been assigned to you, as well as how long you can keep it. In Fedora, lease information is held in the /var/lib/dhcp/dhclient-eth0.leases file. Here s an example of information from that file: lease { interface eth0 ; fixed-address 10.0.0.204; option subnet-mask 255.255.255.0; option routers 10.0.0.1; option dhcp-lease-time 21600; option dhcp-message-type 5; option domain-name-servers 10.0.0.2; option domain-name-servers 10.0.0.3; option dhcp-server-identifier 10.0.0.5; option domain-name linuxtrouble.com ; renew 3 2005/7/21 01:23:06; rebind 3 2005/7/21 04:22:48; expire 3 2005/7/21 05:07:48; } Here you can see that the IP address assigned to the machine is 10.0.0.204, with a subnet mask of 255.255.255.0. The machine acting as the router to the Internet (also called the gateway) is 10.0.0.1. The DNS servers are 10.0.0.2 and 10.0.0.3 (you can ping those numbers to see if you can reach your DNS servers). Using Dial-up Connections to the Internet Many individuals and even some small businesses that need to connect to the Internet still do so using modems and telephone lines. The modem connects to a serial port (COM1, COM2, and so on) on your computer and then into a telephone jack. Your computer dials a modem at your Internet service provider or business that has a connection to the Internet. The most common protocol for making dial-up connections to the Internet (or other TCP/IP network) is Point-to-Point Protocol (PPP). Let s look at how to use PPP to connect to the Internet. See Chapter 9 for information on configuring a dial-up connection that is specific to Debian. Cross- Reference
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.

Leave a Reply