From owner-freebsd-hackers Fri Jul 27 8:49:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id E9B9B37B403; Fri, 27 Jul 2001 08:49:12 -0700 (PDT) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id KAA38303; Fri, 27 Jul 2001 10:48:55 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Fri, 27 Jul 2001 10:48:55 -0500 (CDT) From: Chris Dillon To: Terry Lambert Cc: Julian Elischer , "Eugene L. Vorokov" , Soren Kristensen , , Subject: Re: Why two cards on the same segment... In-Reply-To: <3B610F34.619E55CE@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 26 Jul 2001, Terry Lambert wrote: > Chris Dillon wrote: > > > ...or the mess the FreeBSD alias code is in, with it demanding > > > netmasks of 255.255.255.255 on aliases, so that aliases and the > > > primary IP _MUST_ have the same netmask instead of different ones > > > (hell, he may just be trying to have two IP's with different > > > netmasks, and the only way he can do it in FreeBSD is to have two > > > cards!). > > > > Why would you want multiple IP addresses that belong to the same IP > > network to have different subnet masks? You'll break the network. > > If you're saying that you can't put two or more different IP addresses > > on one NIC that belong to different IP networks, then don't tell my > > router that, it might decide to stop working. :-) > > > > fxp7: flags=8943 mtu 1500 > > inet 207.160.214.253 netmask 0xffffff00 broadcast 207.160.214.255 > > inet 207.160.214.252 netmask 0xffffffff broadcast 207.160.214.252 > > inet 192.168.254.254 netmask 0xffffff00 broadcast 192.168.254.255 > > ether 00:08:c7:07:b2:96 > > media: Ethernet autoselect (100baseTX ) > > status: active > > We saw the error with multiple 10.x addresses, with subnet masks > which should have logically seperated the subnets, but failed to > do the job correctly, when using two cards on the same segment, > with different subnet masks which should have rendered them > non-intersecting. I can probably get the configuration data for > you, if you are truly interested (this is on a 4.3 derived > system). Not that being 10.x addresses would matter any, but it would be interesting to look at. It wouldn't be hard for me to put another NIC in this box and play around with that scenario. What exactly was going wrong in the above setup you're talking about? -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64 (Itanium), PowerPC, and ARM architectures under development - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message