Date: Sun, 17 Dec 2000 08:58:27 -0500 (EST) From: Alwyn Goodloe <agoodloe@gradient.cis.upenn.edu> To: cjclark@alum.mit.edu Cc: questions@FreeBSD.ORG Subject: Re: network testbed setup question Message-ID: <Pine.SOL.4.21.0012170836590.11482-100000@gradient.cis.upenn.edu> In-Reply-To: <20001216231145.D96105@149.211.6.64.reflexcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Crist, THanks for your advise. The crossover cable thing fixed most of the problems - I can ping and telnet between two machines for example. I seem to forget about those crossover cables about every two years -- advancing age..... I'm not sure why you say I don't need routed, isn't that necessary to do routing. This is needed in the experiment since I need to mimic a real environment even though I only have three machines and only one acts as a router. I was under the impression that I needed to have the following in rc.conf gateway_enable ="YES" router_enable="YES" router="routed" router_flags="-s" I guess for something this trivial I don't need to do much with respect to the routing tables.Are you saying that I don't should have gateway_enable = "YES" and router_enable="YES" (or should this be "NO"). The important thing is that I need to route between different networks and have the firewall software be able to filter and divert packets. Alwyn agoodloe@gradient.cis.upenn.edu On Sat, 16 Dec 2000, Crist J. Clark wrote: > 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 <UP,Broadcast,Running, AllMulti,Simplix, Multicast, mtu 1500 > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0012170836590.11482-100000>