From owner-freebsd-questions Sat Dec 16 23:11:51 2000 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 23:11:49 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 24CDF37B400 for ; Sat, 16 Dec 2000 23:11:49 -0800 (PST) Received: from rfx-64-6-211-149.users.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 16 Dec 2000 23:10:09 -0800 Received: (from cjc@localhost) by rfx-64-6-211-149.users.reflexcom.com (8.11.0/8.11.0) id eBH7Bju39945; Sat, 16 Dec 2000 23:11:45 -0800 (PST) (envelope-from cjc) Date: Sat, 16 Dec 2000 23:11:45 -0800 From: "Crist J. Clark" To: Alwyn Goodloe Cc: questions@FreeBSD.ORG Subject: Re: network testbed setup question Message-ID: <20001216231145.D96105@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from agoodloe@gradient.cis.upenn.edu on Sat, Dec 16, 2000 at 09:45:23PM -0500 Sender: cjc@rfx-64-6-211-149.users.reflexcom.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Dec 16, 2000 at 09:45:23PM -0500, Alwyn Goodloe wrote: > Hey Guys & Gals, > > I have am trying to set up a simple testbed with three computers. I am > using the standard 192.168 address for a private network. For my experiment > I need two networks which in my case is 192.168.1 and 192.158.5. > The other two machines are the single machines on the respective networks. > This may sound strange but it has to be that way for my test. > One machine acts as a router between the two networks. I have two nic > cards in the router and just string normal 10base T cable between it > and the clients (i couldn't see the need for something more complicated > but please feel free to correct me). Someone else mentioned crossover cables. Make sure you have link on all interfaces. > On the router I run routed. You don't need routed(8). Turn it off. > The two interfaces ep0 and ep1 seem to be > configured OK when I run ifconfig -a I get > > > flags - 8a43 inet 192.168.1.5 netmask ...... broadcast 192.168.1.255 ..... > > similarly for the other one, > > When I first sit things up and tried to ping a client from the router I > got Host is Down. So I added the route in the routing table since I > figured that it didn't know what interface to go out on. (Though the non > router boxes have the same error.) You should not have to modify the routing table. Using ifconfig(8) should have set up the only routes you need for this. What does, $ netstat -rn Say? > After adding the route the error message > was: > > Time to Live exceeded. You've got a routing loop. > Also routed is periodically giving me: > > routed[142]: send to(ep0,244.0.0.1) No Route to Host > > routed[142]: send to(ep1,244.0.0.1) No Route to Host You don't need routed(8). Turn it off. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message