Re: Virtual Domains and Squid on One Machine

From: Edwin Culp <eculp@dont-contact.us>
Date: Fri, 13 Dec 1996 08:04:00 -0600

David Ponzone wrote:
>
> > Hi,
> > I'm using BSDI 2.1 and running Squid just fine, but....
> >
> > When people are configured to use the cache, they can't get to any of the 50
> > or so virtual domains which are also hosted on that machine.
> >
> > Am I missing something basic? If so, my appologies.
> >
> > Thanky'all
>
> I think this is more BSD/OS related, but nevermind, It could help a lotta people
>
> Are u sure you have added routes to your IP aliases ?
>
> I mean: a BSD/OS host is unable to ping an IP alias defined on itself.
> It doesn't install a route when you use: ifconfig foo0 alias x.y.z.t.
>
> You must add:
> route add x.y.z.t -interface 127.1
>
> for each IP alias.
>
> Hope this helps.
>
> --
> -- David Ponzone - ISDnet - Network Administrator --
> Pager: 06 06 41 82 45 Cell: 06 60 61 21 63
> Email: david@isdnet.net
The trick here, I think, is the netmask. I use:
        ifconfig ed0 inet 206.103.64.25 255.255.255.255 alias
                                                    ^^^
in my rc file and everything works fine. I have been using more
than 20 aliases on line for more than 6 months with no problem
with FreeBSD 2.1.5 and squid 1.1.19 which I should change.

ed

-- 
_____________________________________________________________________
       Mexico Communicates, S.C.      MexCom.Net, S.A. de C.V.
   Re-ingeniería, diseño, creación e integración total al Internet.
      Full Service Internet Systems Integrators and Outsourcers.
       Edwin Culp                      mailto:eculp@mexcom.net
                        http://WWW.MEXCOM.NET
_____________________________________________________________________
Received on Fri Dec 13 1996 - 06:39:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:53 MST