From owner-freebsd-isp@FreeBSD.ORG Sun Sep 11 08:49:38 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A452016A41F for ; Sun, 11 Sep 2005 08:49:38 +0000 (GMT) (envelope-from blake@yfug.yumaed.org) Received: from yfug.yumaed.org (yfug.yumaed.org [204.118.103.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A4B243D45 for ; Sun, 11 Sep 2005 08:49:38 +0000 (GMT) (envelope-from blake@yfug.yumaed.org) Received: from [192.168.0.100] (70-32-188-8.losaca.adelphia.net [70.32.188.8]) by yfug.yumaed.org (Postfix) with ESMTP id 69F5A4DA; Sun, 11 Sep 2005 01:55:33 -0700 (MST) In-Reply-To: <4322FDC4.8010609@mac.com> References: <4322FDC4.8010609@mac.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Blake Covarrubias Date: Sun, 11 Sep 2005 01:49:35 -0700 To: Chuck Swiger X-Mailer: Apple Mail (2.734) Cc: freebsd-isp@freebsd.org Subject: Re: VLAN interfaces on FreeBSD; performance issues X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 08:49:38 -0000 On Sep 10, 2005, at 8:37 AM, Chuck Swiger wrote: > Blake Covarrubias wrote: > >> I have a question about VLAN interfaces on FreeBSD. I've read the >> documentation and have set them up on a machine. After doing so >> though the machine seems less network responsive. Does >> implementing VLAN interfaces / tagging slow down network >> performance? >> > > Some, yes, although not by much and that depends to some extent on > whether your NIC has VLAN_MTU hardware support. I'm not sure if VLAN_MTU is available or enabled on my NIC. I will have to check that. > > >> The reason for wanting VLAN tagging is the machine has once NIC >> and I wanted >> to multi-home it without having to install another NIC. The >> network card is >> using the 'fxp' driver. >> > > fxp is a good NIC hardware. However, if you are trying to connect > two distinct subnets, playing ISO layer-2 games with VLANs is not > going to result in a good substitute for layer-3 IP routing. > > You cannot truthfully multihome a machine with a single NIC. > My goal is to make this machine a gateway for several servers that I need to segment that will be on different IP subnets. I could always just alias the IP's to the NIC on the gateway machine, but I need layer-2 separation for security. I'm doing this for co-located servers (hence the need for segmentation) I don't think its feasible to add a NIC for every new machine. I'll check to see if VLAN_HWTAGGING and VLAN_MTU is available on the NIC. If anyone has any other experience in setting up a router/ gateway in this type of environment I'd appreciate your input. Thanks in advance. -- Blake Covarrubias From owner-freebsd-isp@FreeBSD.ORG Sun Sep 11 09:30:14 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5873E16A421 for ; Sun, 11 Sep 2005 09:30:14 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD1343D58 for ; Sun, 11 Sep 2005 09:30:13 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so100932nzd for ; Sun, 11 Sep 2005 02:30:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OIWRrD+vnnXAMQDXcP//6I7SAvGICgs7mOD/7B3wAjTCeZT9TuMw1fxJ7RAgChoSO7/UFedAcJCrqvu3e1A6s5r+42VOvzKI7K1ixclA+QKgQJGj3PEaj0Ldwqo2yMRi4o0jB4yzDzLXF7AFuLMWtO9ouXjX0WpUFl0KA4jwb58= Received: by 10.36.74.14 with SMTP id w14mr414688nza; Sun, 11 Sep 2005 02:30:12 -0700 (PDT) Received: by 10.36.153.19 with HTTP; Sun, 11 Sep 2005 02:30:12 -0700 (PDT) Message-ID: <18f601940509110230242e8bfc@mail.gmail.com> Date: Sun, 11 Sep 2005 02:30:12 -0700 From: Aaron Glenn To: Chuck Swiger In-Reply-To: <4322FDC4.8010609@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4322FDC4.8010609@mac.com> Cc: freebsd-isp@freebsd.org Subject: Re: VLAN interfaces on FreeBSD; performance issues X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aaron.glenn@gmail.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 09:30:14 -0000 On 9/10/05, Chuck Swiger wrote: >=20 > You cannot truthfully multihome a machine with a single NIC. >=20 Why not? aaron.glenn From owner-freebsd-isp@FreeBSD.ORG Sun Sep 11 09:57:20 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93CA916A41F for ; Sun, 11 Sep 2005 09:57:20 +0000 (GMT) (envelope-from ovidiue@unixware.ro) Received: from lion.newwebsite.com (lion.newwebsite.com [12.180.200.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA2C543D48 for ; Sun, 11 Sep 2005 09:57:19 +0000 (GMT) (envelope-from ovidiue@unixware.ro) Received: from 86-124-82-045.iasi.cablelink.ro ([86.124.82.45] helo=unixware.ro) by lion.newwebsite.com with esmtpa (Exim 4.50) id 1EEObW-0005zC-P1; Sun, 11 Sep 2005 05:58:32 -0400 Message-ID: <43240021.8040400@unixware.ro> Date: Sun, 11 Sep 2005 13:00:01 +0300 From: Ovidiu Ene User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcin Jessa References: <430656A8.5030103@unixware.ro> <431DCF52.9080403@vineyard.net> <20050907102908.6271acc6.lists@yazzy.org> In-Reply-To: <20050907102908.6271acc6.lists@yazzy.org> X-Newwebsite.com-12.180.200.93: Yes This email did come through a server owned by Newwebsite.com. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-isp@freebsd.org Subject: Re: Load Balancing - Nice and Easy - no BGP, no isp help. X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 09:57:20 -0000 Marcin Jessa wrote: >Hi. > >I am not sure what you're trying to accomplish. >Sometimes it seems like you want redudant links and sometimes like you want a proxy server. >Could you please describe your problem ? > >End a quick link for Eric Bates: http://www.openbsd.org/faq/pf/pools.html > >Cheers, >Marcin > >On Tue, 06 Sep 2005 13:18:10 -0400 >"Eric W. Bates" wrote: > > > >>-----BEGIN PGP SIGNED MESSAGE----- >>Hash: SHA1 >> >>I've seen one commercial product control incoming load-balancing with DNS. >> >>Theoretically if you set the TTL for the RRs down low (I've never gone >>shorter than 300 seconds; but I suppose you could go smaller); you could >>then 'direct' incoming traffic by providing one IP or the other. Tools >>like bind9-dlz should make it easier to control the zone file dynamically. >> >>In the case of a web page that requires a consistent route during a >>session, I don't know of an easy way to control bind response based on >>request source. You can put source configs in named.conf (we do this >>for "split-horizon" DNS when you use the same name server to respond to >>requests from both inside and outside a NAT). But I don't believe that >>aspect is hooked for dynamic control inside the latest version (I could >>be wrong). >> >>Can you share your pf config? >> >>Ovidiu Ene wrote: >> >> >>>Hello friends >>> >>>I am trying for a while to make a load balancer under FreeBSD. No BGP >>>support from isps! >>> >>>I would have: 3 nics, ISP1 nic, ISP2 nic and LAN nic. >>>What i've done until now, after reading lots of posts, googling for a >>>while: >>> >>>- I've suceeded to setup an outgoing load balancer with pf, it works >>>perfectly but only for outgoing traffic; >>>- I've noticed that almost everybody thing that it cannot be done load >>>balancing with BSD of incoming and outgoing without help of that both >>>ISP (BGP) >>>- I find hardware with proprietary OS/firmware that can do load >>>balancing without support of ISP. Some are cheap (300$), but at review >>>does not know to load balance incoming traffic (break functionality of >>>some pages accessed, since some of load is on one interface, some of >>>other, works corectly only if i setup to come some type of traffic on >>>one interface, some of other (for example trafic via port 80 on one nic, >>>ftp traffic on the other), also are expensive hardware load balancers >>>(over 1000$) that... i am asking myself how it works, without help of isp. >>>- I've found somewhere that it can be done load balancing but not with >>>one box with that 3 nics, but with 3 boxex, because (that article i am >>>"insipring" said that every box has just one routing table) because can >>>be created a virtual server that with handle routes from that 2 boxes. >>>- People told me that in Linux load balancing cand be done, 3 nics, 2 >>>external, one to Lan, with iptables. Here is a short article: >>>http://linux.com.lb/wiki/index.pl?node=Load%20Balancing%20Across%20Multiple%20Links >>> >>> >>>So, my question is, if some people made it (in expensive hardware that >>>did have the same OS, maybe even FreeBSD, and proprietary algorythms) >>>and in Linux it can be done (people told me, i've read articles and also >>>so it here, where i live) why it cannot be done under FreeBSD? >>>I guess it can be done, I want to do it with FreeBSD, and want to obtain >>>same performances as with Linux. >>> >>>What is your opinion about that? What should I do? Anybody suceed in >>>making load balancing work that way? >>> >>>Best Regards, >>>Ovidiu >>> >>>ps. FreeBSD is the best! >>> >>> >>>_______________________________________________ >>>freebsd-questions@freebsd.org mailing list >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>To unsubscribe, send any mail to >>>"freebsd-questions-unsubscribe@freebsd.org" >>> >>>_______________________________________________ >>>freebsd-isp@freebsd.org mailing list >>>http://lists.freebsd.org/mailman/listinfo/freebsd-isp >>>To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >>> >>> >>- -- >>Eric W. Bates >>ericx@vineyard.net >>-----BEGIN PGP SIGNATURE----- >>Version: GnuPG v1.4.1 (FreeBSD) >>Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org >> >>iD8DBQFDHc9SD1roJTQ4LlERAnZHAJwKnNsC9xX7iCc5GM3CV7jEpDlJHgCgyZUX >>9U5JcwBy4JVlTru/8WLn/hU= >>=16h9 >>-----END PGP SIGNATURE----- >>_______________________________________________ >>freebsd-isp@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-isp >>To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >> >> >_______________________________________________ >freebsd-isp@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-isp >To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > Hello I have a LAN with 100 users and a router, I have 3 nics, one for lan and 2 for ISP 1 and ISP 2. I want that traffic from lan to be load balanced using both isps. I've tried with pf, but i only have outgoing load balancing. I want to load balance incoming because most traffic is done by users from lan, downloading files / p2p programs. The pf.conf file i've used is similar to the one on openbsd pf page. ( http://www.openbsd.org/faq/pf/pools.html ) Also I've tried different configs, none worked on incoming, only outgoing. I've also tried with 2 nat, 2 divert on both isp interfaces. The problem is that I only have one default route, so all traffic goes via default route. Can I acomplish my purpose with multipath routes? I do not have support from ISP. I've succeed to make 2 route rules, half of 0.0.0.0/0 traffic to go on one isp gateway, half on the other, but if people from lan access more addreses from one part, i do not have load balance. The thing is that there are commercial routers (some of them using bsd, some linux) that can do load balancing without isp support. How they do that? If is not possible to do, channel bound will help? Best Regards, Ovidiu From owner-freebsd-isp@FreeBSD.ORG Sun Sep 11 13:20:17 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1151216A41F for ; Sun, 11 Sep 2005 13:20:17 +0000 (GMT) (envelope-from flirt@matchfinder.com.au) Received: from host.matchfinder.com.au (host.matchfinder.com.au [65.109.242.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FDE443D49 for ; Sun, 11 Sep 2005 13:20:16 +0000 (GMT) (envelope-from flirt@matchfinder.com.au) Received: (from matchfin@localhost) by host.matchfinder.com.au (8.12.10/8.12.10) id j8BDKCVs019755; Sun, 11 Sep 2005 09:20:12 -0400 Date: Sun, 11 Sep 2005 09:20:12 -0400 From: flirt@matchfinder.com.au Message-Id: <200509111320.j8BDKCVs019755@host.matchfinder.com.au> X-Authentication-Warning: host.matchfinder.com.au: matchfin set sender to flirt@matchfinder.com.au using -f To: freebsd-isp@freebsd.org References: <200509111319.j8BDJKvA019562@host.matchfinder.com.au> In-Reply-To: <200509111319.j8BDJKvA019562@host.matchfinder.com.au> X-Loop: default@matchfinder.com.au Precedence: junk Subject: Re: Hi X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 13:20:17 -0000 Hi, this email address does not exist. Please go to the site and use the correct form to send your message. No one has seen this message. Thanks Matchfinder From owner-freebsd-isp@FreeBSD.ORG Sun Sep 11 13:51:49 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9239116A41F for ; Sun, 11 Sep 2005 13:51:49 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47D0D43D4C for ; Sun, 11 Sep 2005 13:51:49 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.79.217]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IMN00FQINUA2DTE@vms040.mailsrvcs.net> for freebsd-isp@freebsd.org; Sun, 11 Sep 2005 08:51:47 -0500 (CDT) Date: Sun, 11 Sep 2005 09:51:51 -0400 From: Chuck Swiger In-reply-to: <18f601940509110230242e8bfc@mail.gmail.com> To: aaron.glenn@gmail.com Message-id: <43243677.6020707@mac.com> Organization: The Courts of Chaos MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <4322FDC4.8010609@mac.com> <18f601940509110230242e8bfc@mail.gmail.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 Cc: freebsd-isp@freebsd.org Subject: Re: VLAN interfaces on FreeBSD; performance issues X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 13:51:49 -0000 Aaron Glenn wrote: > On 9/10/05, Chuck Swiger wrote: >> You cannot truthfully multihome a machine with a single NIC. > > Why not? Because you cannot put one NIC into two genuinely distinct layer-2 collision domains. Spanning Tree Protocol won't recognize a single NIC as a potential connection or loop, depending. -- -Chuck From owner-freebsd-isp@FreeBSD.ORG Sun Sep 11 14:17:01 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04DEB16A41F for ; Sun, 11 Sep 2005 14:17:01 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id A875F43D46 for ; Sun, 11 Sep 2005 14:17:00 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.79.217]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IMN00LSIP04XLW0@vms046.mailsrvcs.net> for freebsd-isp@freebsd.org; Sun, 11 Sep 2005 09:16:53 -0500 (CDT) Date: Sun, 11 Sep 2005 10:16:57 -0400 From: Chuck Swiger In-reply-to: To: Blake Covarrubias Message-id: <43243C59.4040201@mac.com> Organization: The Courts of Chaos MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <4322FDC4.8010609@mac.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 Cc: freebsd-isp@freebsd.org Subject: Re: VLAN interfaces on FreeBSD; performance issues X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 14:17:01 -0000 Blake Covarrubias wrote: > On Sep 10, 2005, at 8:37 AM, Chuck Swiger wrote: [ ... ] >> fxp is a good NIC hardware. However, if you are trying to connect >> two distinct subnets, playing ISO layer-2 games with VLANs is not >> going to result in a good substitute for layer-3 IP routing. >> >> You cannot truthfully multihome a machine with a single NIC. > > My goal is to make this machine a gateway for several servers that I > need to segment that will be on different IP subnets. I could always > just alias the IP's to the NIC on the gateway machine, but I need > layer-2 separation for security. If you need layer-2 seperation for security, then you need to put each of these machines or tiny subnets on seperate hubs or switches. Simply putting them all onto one switch and putting ports onto different VLANs does not give adequate isolation in practice even from non-malicious traffic, as you might discover if you monitor for ARP traffic leaking through (especially under high packet rate load). A malicious user can use mechanisms discussed here: http://www.sans.org/resources/idfaq/vlan.php http://archives.neohapsis.com/archives/sf/pentest/2001-06/0139.html "Try not to use VLANs as a mechanism for enforcing security policy. They are great for segmenting networks, reducing broadcasts and collisions and so forth, but not as a security tool." > I'm doing this for co-located servers > (hence the need for segmentation) I don't think its feasible to add a > NIC for every new machine. You don't need a seperate NIC or hub for each new machine, but you ought to have one for each distinct security domain (or client, or whatever). (If my packets and their packets all go to the same switch port, my traffic is not actually being isolated from their traffic, VLAN tagging or no.) -- -Chuck From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 09:50:50 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACC5016A41F for ; Mon, 12 Sep 2005 09:50:50 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1997443D46 for ; Mon, 12 Sep 2005 09:50:49 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.9.8] (14.80-203-184.nextgentel.com [80.203.184.14]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.4/8.13.4) with ESMTP id j8C9omR9023936; Mon, 12 Sep 2005 11:50:48 +0200 Message-ID: <43254F76.4000505@wm-access.no> Date: Mon, 12 Sep 2005 11:50:46 +0200 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chuck Swiger References: <4322FDC4.8010609@mac.com> <18f601940509110230242e8bfc@mail.gmail.com> <43243677.6020707@mac.com> In-Reply-To: <43243677.6020707@mac.com> X-Enigmail-Version: 0.92.0.0 OpenPGP: id=C308A003 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-isp@freebsd.org, aaron.glenn@gmail.com Subject: Re: VLAN interfaces on FreeBSD; performance issues X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 09:50:50 -0000 Chuck Swiger wrote: > Aaron Glenn wrote: > >> On 9/10/05, Chuck Swiger wrote: >> >>> You cannot truthfully multihome a machine with a single NIC. >> >> >> Why not? > > > Because you cannot put one NIC into two genuinely distinct layer-2 > collision domains. Spanning Tree Protocol won't recognize a single NIC > as a potential connection or loop, depending. > A vlan should be a seen as a single nic. On other platforms, STP considers vlans as independant nics. But would it be multihoming if you are just bridging the vlans? I thought the essence of multihoming was multiple ip networks to which it was a member. -- Sten Daniel Sørsdal From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 12:51:59 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C0C16A41F for ; Mon, 12 Sep 2005 12:51:59 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8E3643D46 for ; Mon, 12 Sep 2005 12:51:58 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id C73DA5DCC; Mon, 12 Sep 2005 08:51:57 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 69585-08; Mon, 12 Sep 2005 08:51:56 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-79-217.ny325.east.verizon.net [68.161.79.217]) by pi.codefab.com (Postfix) with ESMTP id 1787D5DA0; Mon, 12 Sep 2005 08:51:55 -0400 (EDT) Message-ID: <432579F1.4010807@mac.com> Date: Mon, 12 Sep 2005 08:52:01 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= References: <4322FDC4.8010609@mac.com> <18f601940509110230242e8bfc@mail.gmail.com> <43243677.6020707@mac.com> <43254F76.4000505@wm-access.no> In-Reply-To: <43254F76.4000505@wm-access.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-isp@freebsd.org, aaron.glenn@gmail.com Subject: Re: VLAN interfaces on FreeBSD; performance issues X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 12:51:59 -0000 Sten Daniel Sørsdal wrote: > Chuck Swiger wrote: [ ... ] >> Because you cannot put one NIC into two genuinely distinct layer-2 >> collision domains. Spanning Tree Protocol won't recognize a single NIC >> as a potential connection or loop, depending. > > A vlan should be a seen as a single nic. > On other platforms, STP considers vlans as independant nics. > But would it be multihoming if you are just bridging the vlans? > I thought the essence of multihoming was multiple ip networks to which > it was a member. A VLAN is an abstraction, a way of logically grouping or seperating ports and tagging network traffic with a VLAN header, much as an IP subnet is an abstraction. A NIC is a network interface. It's a physical object. The essence of multihoming is having two (or more) distinct NICs. The most common application for multihoming is where a device performs layer-3 routing between the two or more IP networks, but you could be using SPX/IPX, DECnet, or some other non-IP protocol. You can also do bridging at layer-2, perhaps because the two sides use a different physical layer (Cat-5 ethernet cabling and wireless? Cat5 and thinnet? Cat5 and a dialup PPP link over POTS line, ...etc...) -- -Chuck From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 15:49:34 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52AD516A41F for ; Mon, 12 Sep 2005 15:49:34 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C2CE43D49 for ; Mon, 12 Sep 2005 15:49:33 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.9.8] (14.80-203-184.nextgentel.com [80.203.184.14]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.4/8.13.4) with ESMTP id j8CFnVbj024990; Mon, 12 Sep 2005 17:49:32 +0200 Message-ID: <4325A383.2030404@wm-access.no> Date: Mon, 12 Sep 2005 17:49:23 +0200 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chuck Swiger References: <4322FDC4.8010609@mac.com> <18f601940509110230242e8bfc@mail.gmail.com> <43243677.6020707@mac.com> <43254F76.4000505@wm-access.no> <432579F1.4010807@mac.com> In-Reply-To: <432579F1.4010807@mac.com> X-Enigmail-Version: 0.92.0.0 OpenPGP: id=C308A003 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-isp@freebsd.org, aaron.glenn@gmail.com Subject: Re: VLAN interfaces on FreeBSD; performance issues X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 15:49:34 -0000 Chuck Swiger wrote: > The essence of multihoming is having two (or more) distinct NICs. so if i had two vlan's with an ip on both. wouldnt this qualify it as multihoming? would i somehow no longer need to configure the computer as though it was a multihomed? -- Sten Daniel Sørsdal From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 16:48:08 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5974716A423 for ; Mon, 12 Sep 2005 16:48:08 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED8C943D46 for ; Mon, 12 Sep 2005 16:48:07 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout09/MantshX 4.0) with ESMTP id j8CGm7WS011012; Mon, 12 Sep 2005 09:48:07 -0700 (PDT) Received: from [10.1.1.209] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id j8CGm5Fk008082; Mon, 12 Sep 2005 09:48:06 -0700 (PDT) In-Reply-To: <4325A383.2030404@wm-access.no> References: <4322FDC4.8010609@mac.com> <18f601940509110230242e8bfc@mail.gmail.com> <43243677.6020707@mac.com> <43254F76.4000505@wm-access.no> <432579F1.4010807@mac.com> <4325A383.2030404@wm-access.no> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <8A38568B-D5B4-4EE7-AFB5-FF6C0D1285C6@mac.com> Content-Transfer-Encoding: quoted-printable From: Charles Swiger Date: Mon, 12 Sep 2005 12:47:52 -0400 To: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= X-Mailer: Apple Mail (2.734) Cc: freebsd-isp@freebsd.org, aaron.glenn@gmail.com Subject: Re: VLAN interfaces on FreeBSD; performance issues X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 16:48:08 -0000 On Sep 12, 2005, at 11:49 AM, Sten Daniel S=F8rsdal wrote: >> The essence of multihoming is having two (or more) distinct NICs. > > so if i had two vlan's with an ip on both. wouldnt this qualify it as > multihoming? would i somehow no longer need to configure the =20 > computer as > though it was a multihomed? I don't fully understand the question you are asking. If you have =20 one physical connection (one NIC, one Cat5 cable), you can only =20 connect to a single collision domain, even if you use VLANs (or set =20 up IP aliases on different subnets, etc). --=20 -Chuck= From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 21:00:47 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF51116A41F for ; Mon, 12 Sep 2005 21:00:47 +0000 (GMT) (envelope-from mike@lanline.com) Received: from mail.lanline.com (mail.lanline.com [216.187.0.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59F9743D46 for ; Mon, 12 Sep 2005 21:00:47 +0000 (GMT) (envelope-from mike@lanline.com) Received: from localhost (mike@localhost) by mail.lanline.com (8.11.6/8.11.2) with ESMTP id j8CL0ki04394 for ; Mon, 12 Sep 2005 17:00:46 -0400 (EDT) Date: Mon, 12 Sep 2005 17:00:46 -0400 (EDT) From: To: freebsd-isp@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: virtual host ip aliases X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 21:00:47 -0000 Hi, I want to add like 254 ip aliases to a nic. Is there a better way to do it than adding _alias# 's to the rc.conf. Thanks. -Mike From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 21:29:12 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A64EF16A41F for ; Mon, 12 Sep 2005 21:29:12 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-157-24-179.jan.bellsouth.net [70.157.24.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 504C643D48 for ; Mon, 12 Sep 2005 21:29:11 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 48E8520FC9; Mon, 12 Sep 2005 16:29:10 -0500 (CDT) Date: Mon, 12 Sep 2005 16:29:09 -0500 From: "Matthew D. Fuller" To: mike@lanline.com Message-ID: <20050912212909.GA62999@over-yonder.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.9i-fullermd.2 Cc: freebsd-isp@freebsd.org Subject: Re: virtual host ip aliases X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 21:29:12 -0000 On Mon, Sep 12, 2005 at 05:00:46PM -0400 I heard the voice of mike@lanline.com, and lo! it spake thus: > > I want to add like 254 ip aliases to a nic. Is there a better way > to do it than adding _alias# 's to the rc.conf. Make an /etc/start_if. script. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 22:06:07 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5469516A41F for ; Mon, 12 Sep 2005 22:06:07 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 016D143D48 for ; Mon, 12 Sep 2005 22:06:06 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout09/MantshX 4.0) with ESMTP id j8CM66RA029596; Mon, 12 Sep 2005 15:06:06 -0700 (PDT) Received: from [10.1.1.209] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id j8CM64la015970; Mon, 12 Sep 2005 15:06:05 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Mon, 12 Sep 2005 18:05:56 -0400 To: mike@lanline.com X-Mailer: Apple Mail (2.734) Cc: freebsd-isp@freebsd.org Subject: Re: virtual host ip aliases X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 22:06:07 -0000 On Sep 12, 2005, at 5:00 PM, mike@lanline.com wrote: > I want to add like 254 ip aliases to a nic. Is there a better way > to do it than adding _alias# 's to the rc.conf. Probably. What problem are you actually trying to solve? -- -Chuck From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 22:49:21 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D7EC16A41F for ; Mon, 12 Sep 2005 22:49:21 +0000 (GMT) (envelope-from nathan@bbuzzed.cx) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A53B543D45 for ; Mon, 12 Sep 2005 22:49:18 +0000 (GMT) (envelope-from nathan@bbuzzed.cx) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j8CMnGFr023673; Tue, 13 Sep 2005 08:49:16 +1000 Received: from mail (s01FE.static.pacific.net.au [61.8.16.254]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j8CMnGx7024152; Tue, 13 Sep 2005 08:49:16 +1000 Received: from localhost (localhost [127.0.0.1]) by mail (Postfix) with ESMTP id 91FD111CE54; Tue, 13 Sep 2005 08:49:12 +1000 (EST) Received: from mail ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03253-08; Tue, 13 Sep 2005 08:49:09 +1000 (EST) Received: from [10.13.1.15] (autumn.nreilly.com [203.31.239.21]) by mail (Postfix) with ESMTP id 0F31511CE3B; Tue, 13 Sep 2005 08:49:07 +1000 (EST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Nathan Reilly Date: Tue, 13 Sep 2005 08:49:04 +1000 To: Charles Swiger X-Mailer: Apple Mail (2.734) X-Virus-Scanned: by amavisd-new at int.rochester.com.au Cc: freebsd-isp@freebsd.org Subject: Re: virtual host ip aliases X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 22:49:21 -0000 On 13/09/2005, at 8:05 AM, Charles Swiger wrote: > On Sep 12, 2005, at 5:00 PM, mike@lanline.com wrote: > >> I want to add like 254 ip aliases to a nic. Is there a better >> way >> to do it than adding _alias# 's to the rc.conf. >> > > Probably. What problem are you actually trying to solve? > Lots of typing, I'd assume :) From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 23:30:27 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03DE716A420 for ; Mon, 12 Sep 2005 23:30:27 +0000 (GMT) (envelope-from jeff@norristechs.net) Received: from scooby.norristechs.net (scooby.norristechs.net [71.36.89.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F93443D62 for ; Mon, 12 Sep 2005 23:30:23 +0000 (GMT) (envelope-from jeff@norristechs.net) Received: from [127.0.0.1] [71.36.89.205] by scooby.norristechs.net with ESMTP (SMTPD-8.21) id AF8D016C; Mon, 12 Sep 2005 17:30:21 -0600 Message-ID: <43260F79.2030201@norristechs.net> Date: Mon, 12 Sep 2005 17:30:01 -0600 From: Jeff at NorrisTechs Organization: NorrisTechs.NET.COM User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mike@lanline.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-isp@freebsd.org Subject: Re: virtual host ip aliases X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 23:30:27 -0000 Mike. If you wanted to do it in bash, here's a script you can call using /usr/local/etc/rc.d/999myalias.sh #!/usr/local/bin/bash # save to /usr/local/etc/rc.d/999myalias.sh # chmod 755 # BLAH BLAH BLAH.... NO COMMENT ###################################### # # change to interface name, e.g. fxp0, rl0, fxp1 , whatever NetName="fxp0" # How many aliases will we create Total="254" # change NUM=xx whre xx is the starting number for (( NUM=1; NUM <= $Total; NUM++ )) do # if you want to see the looping number # uncomment this the next line #echo $NUM # Change 192.168.1.XXX to match your network # change netmask to match you network ifconfig $NetName 192.168.1.$NUM netmask 255.255.255.0 alias done # if you dont want to see 254 IP addresses, just comment out the next line ifconfig | more #end Cheers. ------------------------------------------------------------------------ */Jeff Norris/* /~ Web Hosting ~ VPN Solutions ~ Network Management ~ Design, deploy, kick ass. / *N*orris*Techs* dot net http://www.norristechs.net *AOL IM or Yahoo IM: /ntshelper/* mike@lanline.com wrote: >Hi, > > I want to add like 254 ip aliases to a nic. Is there a better way >to do it than adding _alias# 's to the rc.conf. > >Thanks. > >-Mike > > >_______________________________________________ >freebsd-isp@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-isp >To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > > > > From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 23:35:16 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C17116A41F for ; Mon, 12 Sep 2005 23:35:16 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id C397E43D49 for ; Mon, 12 Sep 2005 23:35:15 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from peregrin.orthanc.ca (d216-232-211-96.bchsia.telus.net [216.232.211.96]) (authenticated bits=0) by orthanc.ca (8.13.3/8.13.3) with ESMTP id j8CNZ58P001779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Sep 2005 17:35:06 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Received: from [127.0.0.1] (localhost [127.0.0.1]) by peregrin.orthanc.ca (8.13.5.Beta0/8.13.5.Beta0) with ESMTP id j8CNYv7v028700; Mon, 12 Sep 2005 16:34:57 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Lyndon Nerenberg Date: Mon, 12 Sep 2005 16:34:55 -0700 To: Nathan Reilly X-Mailer: Apple Mail (2.734) X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on orthanc.ca Cc: freebsd-isp@freebsd.org Subject: Re: virtual host ip aliases X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 23:35:16 -0000 On Sep 12, 2005, at 3:49 PM, Nathan Reilly wrote: >>> I want to add like 254 ip aliases to a nic. Is there a >>> better way >>> to do it than adding _alias# 's to the rc.conf. >> >> Probably. What problem are you actually trying to solve? > > Lots of typing, I'd assume :) awk is your friend. From owner-freebsd-isp@FreeBSD.ORG Mon Sep 12 23:53:41 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53C5516A41F for ; Mon, 12 Sep 2005 23:53:41 +0000 (GMT) (envelope-from mike@lanline.com) Received: from mail.lanline.com (mail.lanline.com [216.187.0.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCCCD43D46 for ; Mon, 12 Sep 2005 23:53:40 +0000 (GMT) (envelope-from mike@lanline.com) Received: from localhost (mike@localhost) by mail.lanline.com (8.11.6/8.11.2) with ESMTP id j8CNrYf08277; Mon, 12 Sep 2005 19:53:34 -0400 (EDT) Date: Mon, 12 Sep 2005 19:53:34 -0400 (EDT) From: To: Jeff at NorrisTechs In-Reply-To: <43260F79.2030201@norristechs.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-isp@freebsd.org Subject: Re: virtual host ip aliases X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 23:53:41 -0000 yeah. thanks guys. i'm basically coming from a bsd/os background, so i was hoping there was something equivalent to /etc/virtualip, but that start_if. is close enough. so i basically wrote some thing like that and appended the output to that file, but i can actually have the script in the file itself? is that right? thanks -mike On Mon, 12 Sep 2005, Jeff at NorrisTechs wrote: > > Mike. > > If you wanted to do it in bash, here's a script you can call using > /usr/local/etc/rc.d/999myalias.sh > > #!/usr/local/bin/bash > # save to /usr/local/etc/rc.d/999myalias.sh > # chmod 755 > # BLAH BLAH BLAH.... NO COMMENT > ###################################### > # > # change to interface name, e.g. fxp0, rl0, fxp1 , whatever > NetName="fxp0" > # How many aliases will we create > Total="254" > # change NUM=xx whre xx is the starting number > for (( NUM=1; NUM <= $Total; NUM++ )) > do > # if you want to see the looping number > # uncomment this the next line > #echo $NUM > # Change 192.168.1.XXX to match your network > # change netmask to match you network > ifconfig $NetName 192.168.1.$NUM netmask 255.255.255.0 alias > done > # if you dont want to see 254 IP addresses, just comment out the next line > ifconfig | more > #end > > Cheers. > > > ------------------------------------------------------------------------ > > */Jeff Norris/* > /~ Web Hosting ~ VPN Solutions ~ Network Management ~ > Design, deploy, kick ass. / > *N*orris*Techs* dot net > http://www.norristechs.net > *AOL IM or Yahoo IM: /ntshelper/* > > > > mike@lanline.com wrote: > > >Hi, > > > > I want to add like 254 ip aliases to a nic. Is there a better way > >to do it than adding _alias# 's to the rc.conf. > > > >Thanks. > > > >-Mike > > > > > >_______________________________________________ > >freebsd-isp@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-isp > >To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > > > > > > > > > > From owner-freebsd-isp@FreeBSD.ORG Wed Sep 14 06:12:11 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DAE216A420 for ; Wed, 14 Sep 2005 06:12:11 +0000 (GMT) (envelope-from unixtools@hotmail.com) Received: from hotmail.com (bay106-dav7.bay106.hotmail.com [65.54.161.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2179643D53 for ; Wed, 14 Sep 2005 06:12:11 +0000 (GMT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 13 Sep 2005 23:12:11 -0700 Message-ID: Received: from 65.54.161.201 by BAY106-DAV7.phx.gbl with DAV; Wed, 14 Sep 2005 06:12:10 +0000 X-Originating-IP: [65.54.161.201] X-Originating-Email: [unixtools@hotmail.com] X-Sender: unixtools@hotmail.com From: To: , References: Date: Wed, 14 Sep 2005 12:01:11 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-OriginalArrivalTime: 14 Sep 2005 06:12:11.0040 (UTC) FILETIME=[3E38CA00:01C5B8F3] Cc: Subject: Re: virtual host ip aliases X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 06:12:11 -0000 Hi, interface_alis# is the best method. The rc script will handle the rest.I have a similar rc file with n number of aliases on the same interface. Sunil Sunder Raj ----- Original Message ----- From: To: Sent: Tuesday, September 13, 2005 2:30 AM Subject: virtual host ip aliases > > Hi, > > I want to add like 254 ip aliases to a nic. Is there a better way > to do it than adding _alias# 's to the rc.conf. > > Thanks. > > -Mike > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > From owner-freebsd-isp@FreeBSD.ORG Thu Sep 15 12:04:07 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E26AF16A41F for ; Thu, 15 Sep 2005 12:04:07 +0000 (GMT) (envelope-from Marco.Fretz@kyberna.com) Received: from mail.kyberna.net (mail.kyberna.net [194.183.142.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F43B43D4C for ; Thu, 15 Sep 2005 12:04:06 +0000 (GMT) (envelope-from Marco.Fretz@kyberna.com) X-SpamCatcher-Score: 30 [X] Received: from [194.208.56.7] (HELO mail.kyberna.com) by mail.kyberna.net (CommuniGate Pro SMTP 4.2.10) with ESMTP id 7958234 for freebsd-isp@freebsd.org; Thu, 15 Sep 2005 14:04:04 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 15 Sep 2005 14:04:11 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HP DL140 with SATA Thread-Index: AcW57ZWvqNjR74yjQBiXMZI/V4ogmw== From: "Fretz Marco" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: HP DL140 with SATA X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 12:04:08 -0000 Hi there We are an ips and looking for some pizza box server from HP. Do you got any experiences with the HP DL140 with SATA Raid? Is this Controller supported in Free 5.4? Thanks a lot Kind regards marco From owner-freebsd-isp@FreeBSD.ORG Thu Sep 15 12:14:39 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A874216A41F for ; Thu, 15 Sep 2005 12:14:39 +0000 (GMT) (envelope-from rasmus@postboks.org) Received: from smtp.easyisp.no (mysql01.securedomainservice.net [213.187.191.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B0CE43D45 for ; Thu, 15 Sep 2005 12:14:38 +0000 (GMT) (envelope-from rasmus@postboks.org) Received: from [192.168.4.51] (cD9088609.inet.catch.no [217.8.134.9]) by smtp.easyisp.no (Postfix) with ESMTP id 08CD74AC6F for ; Thu, 15 Sep 2005 14:14:36 +0200 (CEST) Message-ID: <43296589.5060301@postboks.org> Date: Thu, 15 Sep 2005 14:14:01 +0200 From: Rasmus Fauske User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: HP DL140 with SATA X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 12:14:39 -0000 Fretz Marco wrote: >Hi there > >We are an ips and looking for some pizza box server from HP. Do you got >any experiences with the HP DL140 with SATA Raid? Is this Controller >supported in Free 5.4? > > It is a normal SATA non-raid kontroller, I am running a dl140 g2 with a genom mirror. working great with 5.4 and 6.0 and 6.0/amd64 -- Rasmus Fauske