On Thursday 04 January 2007 19:14, [EMAIL PROTECTED] wrote:
> >> After advice given here, but for other reasons too, I got a adsl-router
> >> rather than an adsl-bridge to tigger.
> >>
> >> What I've lost is name virtual hosts. My router (dlink 604T) does
> >> suitable virtual hosting, but all the necessary name information is lost
> >> before it gets routed to apache2. ie router:80 -> 192.168.1.254:80
> >>
> >> Is there a way of hosting multiple sites with a router?
> >
> >Your router only forwards to addresses and ports. It knows nothing of the
> >protocol you're forwarding.
>
> This statement is not only confusing but completely wrong.
>
> Any router knows the IP protocol of the message it is forwarding contrary
> to the above statement. Specifically, any router knows IP protocol since
> the Internet is an IP network.
>
> That's why it knows the IP address of device it is forwarding to. Another
> way of saying this is if a router does not know the protocol of the message
> it is forwarding then it will not be able to establish the ip address of
> the target device.
>
> This is unlike hubs, bridges, and switches that forward packets of data
> using MAC-ADDRESS to determine the target device and have no knowledge of
> the ip protocol on the message. Unique MAC-ADDRESS is burned-in to each
> device.
>
> Routers use IP protocol to ascertain IP address to determine the target
> device. And it is a pre-requisite that routers know ip protocol of the
> message for it to be a router.
>
> Hubs, bridges, and switches does not need to know IP protocol; routers do.
>
> Routers are layer 3 devices; hubs, bridges, and switches are layer 2
> devices.
>
> Hope this corrects the mis-understanding.

Thankyou to Rick and to Oscar.
NameVirtualHost does work with a virtual-server modem! 
My error was the NameVirtualHost IP specified the external IP. Carefull 
reading of the apache doco following Rick's comments show it ought to be the 
internal IP. And lo and behold it works.
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to