From owner-freebsd-questions Thu Feb 29 02:05:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28689 for questions-outgoing; Thu, 29 Feb 1996 02:05:02 -0800 (PST) Received: from elbereth.blueberry.co.uk (surfs-up.demon.co.uk [158.152.128.94]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA28670 for ; Thu, 29 Feb 1996 02:04:38 -0800 (PST) Received: (from nik@localhost) by elbereth.blueberry.co.uk (8.6.12/8.6.12) id JAA01057 for questions@freebsd.org; Thu, 29 Feb 1996 09:47:02 GMT From: Nik Clayton Message-Id: <199602290947.JAA01057@elbereth.blueberry.co.uk> Subject: Two physical interfaces, no subnets: possible? To: questions@freebsd.org Date: Thu, 29 Feb 1996 09:47:02 +0000 (GMT) X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org Precedence: bulk Hi, Is it possible to have two physical ethernet interfaces in a FreeBSD machine and configure them, without needing to subnet? I want to have a very specifc host hanging off one of the interfaces, and have the rest of the network reachable off the other. I thought this would be possible with something like ifconfig ed0 inet x.y.z.1 netmask 0xffffff00 ifconfig ep0 inet x.y.z.2 netmask 0xffffff00 route add host x.y.z.3 x.y.z.2 route add net x.y.z.0 x.y.z.1 which should, as far as I can tell, route everything for the single host .3 via interface ep0, and route everything else destined for the network via ed0. It doesn't work. After ifconfiging ep0 as above it doesn't even appear in the routing tables (as shown by netstat -r) and the route commands fail. I can achieve this in a snap if I subnet. But I don't really want to split the network in two. N -- --+=[ Blueberry Hill Blueberry Design ]=+-- --+=[ http://www.blueberry.co.uk/ 1/9 Chelsea Harbour Design Centre, ]=+-- --+=[ WebMaster@blueberry.co.uk London, England, SW10 0XE ]=+-- --+=[ Unix wizardry practiced for fun and profit ]=+--