Date: Mon, 11 Oct 1999 19:01:40 +0200 From: Dan Larsson <support@junglenote.com> To: "'dmaple@methos.net'" <dmaple@methos.net> Cc: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: SV: Virtual Hosting IP question. Message-ID: <01BF141B.0D153770.support@junglenote.com>
next in thread | raw e-mail | index | archive | help
Change the netmask for the aliases to 255.255.255.255 Hope this helps! /D > -----Ursprungligt meddelande----- > Fr=E5n: David C. Maple [SMTP:dmaple@methos.net] > Skickat: den 11 oktober 1999 18:29 > Till: freebsd-questions@FreeBSD.ORG > =C4mne: Virtual Hosting IP question. >=20 >=20 > I have a server setup to alias several IP addresses. I'm using the = alias > command to ifconfig through my rc.conf: >=20 > -- snip -- > ifconfig_xl0=3D"inet 216.54.63.12 media 100baseTX netmask = 255.255.255.192" > ifconfig_xl0_alias0=3D"inet 216.54.63.30 netmask 255.255.255.192" > ifconfig_xl0_alias1=3D"inet 216.54.63.31 netmask 255.255.255.192" > -- snip -- >=20 > My question is: Is this the best way to handle virtual hosting. I = assign > each host a new IP, setup named, sendmail(virtuser table), and Apache > virtual host and it seems to work. But, from within this machine, I > cannot connect to one of the virtual sites. >=20 > >ping 216.54.63.30 > PING 216.54.63.30 (216.54.63.30): 56 data bytes > ^C > --- 216.54.63.30 ping statistics --- > 5 packets transmitted, 0 packets recieved, 100% packet loss > > >=20 > Do I need to configure some internal routing? > Is there a better way to do the whole thing? >=20 > Thanks in advance, >=20 > Dave >=20 > dmaple@methos.net >=20 > 'The bigger it bloats, the harder it falls.' > -- "The 48 Laws of Power" (R. Greene, J Elffers) >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BF141B.0D153770.support>