[2876] in linux-net channel archive

home help back first fref pref prev next nref lref last post

local httpd server vs remote

daemon@ATHENA.MIT.EDU (Dave Wreski)
Sun May 12 02:19:39 1996

Date: 	Sat, 11 May 1996 22:20:03 -0400 (EDT)
From: Dave Wreski <dwreski@ultrix.ramapo.edu>
To: linux-net <linux-net@vger.rutgers.edu>


Hi all.  I am interested in running a local httpd server here on my small 
ethernet network.  One of the PC's is also connected via ppp to the net.  
When I type the IP address of my local web server, it hunts for it out on 
the internet..  How can I get it to look locally first?  This is my 
current route -n config:

route -n
Kernel routing table
Destination     Gateway         Genmask         Flags MSS    Window Use Iface
153.2.164.110   *               255.255.255.255 UH    1500   0        0 ppp0
192.107.200.6   *               255.255.255.255 UH    1500   0        0 eth0
192.107.200.0   *               255.255.255.0   U     1500   0        9 eth0
127.0.0.0       *               255.0.0.0       U     3584   0        3 lo
default         153.2.164.110   *               UG    1500   0        6 ppp0

As you can see, my default route is on the net, but my IP address is 
192.107.200.4, and the local httpd server is 192.107.200.6.  I tried to 
add a route to it, but I think I'm still missing something (ip aliasing?)

Thanks much,
Dave Wreski



home help back first fref pref prev next nref lref last post