Networking Question

OOzy Pal oozypal at gmail.com
Thu Jun 8 10:23:04 UTC 2006


I am running Kubuntu-Dapper and using ADSL. I also have
Apache/PHP/MySQL running.

I have reserved 192.168.20.x for my virtual hosts. up to now I have
192.168.20.1 with eth0:1->192.168.20.1
192.168.20.2 with eth0:2->192.168.20.2
192.168.20.3 with eth0:3->192.168.20.3

My ADSL router IP is 192.168.1.1.

Now, I clicked on K-Menu->System Settings->Network Settings. A window
with 4 tabs appeared. The tabs are as follows:

1. Network Interface: with eth0 and IP 192.168.20.3 dhcp enabled
2. Router: IP 192.168.1.1
3. Domain Name System: with host name oozy and domain name servers as
192.168.1.1
4. Network Profile: empty

my /etc/hosts have the following entries:

127.0.0.1 localhost www.oozy.com oozy
192.168.10.1 oozy www.oozy.com

192.168.20.1 www.e1.com
192.168.20.2 www.e2.org
192.168.20.3 www.e2.org


# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
192.168 oozy
##########END OF HOSTS############

Notes: Virtual hosts work fine

I would like to get some education about these settings. Also, I have
these questions:

1. Why my network interface IP address 192.168.20.3 which is the IP
address of a virtual host?
2. How can I make my computer IP address different from 127.0.0.1
localhost. I want to make like 192.168.10.1 oozy?
Why is the IP address of my router and the IP of the Domain Name
System is the same?

Thank you




-- 
OOzy
Kubuntu-Dapper




More information about the ubuntu-users mailing list