Date: Thu, 17 Jun 1999 06:54:02 +0000 From: Matthew Smithshaw <M@mlnet.net> To: "Guy W. Gustavson" <guy.gustavson@eliancecorp.com>, <freebsd-net@FreeBSD.ORG> Subject: Re: multiple nics with different IP's on same subnet Message-ID: <199906170548.FAA13149@newgate.home.ml-associates.co.uk>
next in thread | raw e-mail | index | archive | help
If it is just Web virtual hosting, using Apache you could just use one IP address..... Only really old browsers will be unable to view the web sites. -M At 15:24 16/06/1999 -0500, Guy W. Gustavson wrote: >I've got a server hosting pages for about 100 domains. They are all low enough traffic that the box can easily handle the load, but the IP aliasing is getting tricky. After about 80 IP's on the same NIC the IP stack stops responding and we have to reboot the box. > >Here's an example of how I'm aliasing the IP's, just repeat the ifconfig and the route add's about 80 times. > >ifconfig ep0 inet 206.191.205.6 alias >ifconfig ep0 inet 206.191.205.9 alias >route add 206.191.205.6 127.0.0.1 >route add 206.191.205.8 127.0.0.1 > >We're building a new server anyway, and I was thinking of adding another NIC and hosting half the IP's one NIC and half on the other. The box has a class C to itself. Both NIC's would be on the same network, I could put in a switch if needed. > >If I setup things like this. > >ifconfig ep0 inet 206.191.205.6 alias >ifconfig ep1 inet 206.191.205.9 alias > > > -- Matthew Smithshaw | ML Associates M@UK.COM or M@mlnet.net | P O Box 16076 tel:+44-141-951-2229 | Glasgow Scotland fax:+44-141-951-8877 | G11 7TL To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906170548.FAA13149>