First_class_notes - Here I have 2 interfaces. First one,...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Comp 322 – Computer Networks and Network Programming First class: We talked about the following linux commands. Dig: Dig (domain information groper) is the tool for looking up a web page's DNS information. ex: The IP number of cs.bilgi.edu is 212.175.10.2 (cs.bilgi.edu.tr is a alias for 212.175.10.2). We get this information by asking bilgi.edu.tr which has actually 2 name servers responsible for it. 1. serve.ibun.edu.tr 2. dns.ibun.edu.tr and the last part says their IP addresses.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Remember: If you are trying to connect a website, your operating system(OS) first looks at your hosts file. (Remember the small tactic for unlocking youtube? : P ) If the answer is not there, than is asks to a DNS(Domain Name Server). Ifconfig: Ifconfig is the tool for configuring or displaying your network interfaces.
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Here I have 2 interfaces. First one, eth0 is for my ethernet connection. 00:30:05:3F:BB:CD is my ethernet cards unique MAC address. inet is my IP 10.15.2.5. Remember IP addresses are only unique in that network! There can be many computers around the world which has 10.15.2.5 IP number, but not in the same network. Second one, lo is for Loopback. Which means, If I want to connect myself, I will use that interface and its IP number is 127.0.0.1 . This is a default number. It can change from setup to setup but generally, it is 127.0.0.1 . References: http://linuxhelp.blogspot.com/2006/11/ifconfig-dissected-and-demystified.html http://www.linux.com/articles/113992...
View Full Document

Page1 / 3

First_class_notes - Here I have 2 interfaces. First one,...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online