[NBLUG/talk] Interface Aliases
warren.mansur at hp.com
Fri Apr 9 20:40:03 PDT 2004
I corrected the links below . . .
> Anyways it didn't work, but perhaps I misunderstood. I took
> everything off
> route except for lo, then I did the four steps and got:
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.254 * 255.255.255.255 UH 0 0 0 eth0
> 192.168.33.1 * 255.255.255.255 UH 0 0 0 eth0
> 192.168.0.0 192.168.0.254 255.255.255.0 UG 0 0 0 eth0
> 192.168.33.0 192.168.33.1 255.255.255.0 UG 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
Yes, you need to leave on the default route (otherwise it doesn't know where to send packets except to 192.168.33.* and 192.168.0.*). I probably wasn't clear but I did mention to only remove the 192.168.0.* and 192.168.33.* before executing the 4 steps.
> I then quickly modified httpd.conf and restarted httpd and checked
> everything. I was dead in the water, so I quickly put it back
> to a known
> I think perhaps I was supposed to leave up the default route.
The default route only matches if not other routes match. So for your 192.168.0.* and 192.168.33.* traffic, the default route won't change anything, since they are in the routing table specifically. The default route will be used for all routes not otherwise found in the routing table.
Trying traceroute first will show you if networking working correctly. Otherwise there are too many variables (network and apache configuration) and it's not clear which one is wrong.
The following explain some about routing tables:
More information about the talk