From owner-freebsd-questions Mon Jan 22 5:48:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from thessaloniki.telehorizon.com (unknown [195.66.101.99]) by hub.freebsd.org (Postfix) with ESMTP id C9A7F37B400 for ; Mon, 22 Jan 2001 05:47:57 -0800 (PST) Received: (from nobody@localhost) by thessaloniki.telehorizon.com (8.9.3/8.9.3) id PAA43158 for questions@freebsd.org; Mon, 22 Jan 2001 15:45:18 +0200 (EET) (envelope-from pgd@thessaloniki.telehorizon.com) From: pgd@telehorizon.com X-Authentication-Warning: thessaloniki.telehorizon.com: nobody set sender to pgd@telehorizon.com using -f To: questions@freebsd.org Message-ID: <980171118.3a6c396e1897e@webmail.telehorizon.com> Date: Mon, 22 Jan 2001 15:45:18 +0200 (EET) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.3 X-Originating-IP: 195.66.101.98 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG yes! that must be it!!! i had forgot all about crossovers! i'll try it and i'll let you know the result.. I really appreciate your help, thanks :) Quoting Per Tore Larsen : > > hi again, > > > > I meant, when I give "ifconfig fxp1" at the prompt! > Easy with the coffee. > > (to see how the card is configured).. > Sorry for that misundersating > > > In my rc.conf (FreeBSD 4.2) i have indeed the following line: > > ifconfig_fxp1="inet 192.168.0.1 netmask 255.255.255.0" > Did a thinking and found a possible error: > > With TP cable connected to switch (same with hub): > > xl0: flags=8843 > media: autoselect (100baseTX ) status: active > ^^^^^ > The end of this line tells me that cable is connected. > If I pull the TP plug status will change to: > status: no carrier > > So, between the second NAT server and the client inside this, > do you use the correct cables? (hub,switch indicate connected > network card?) > If you are using TP directly between the machines, remember > the cable needs to be a crossover. > > That should solve the problem. > If it didn't, send the output of "ifconfig fxp1". > > PeTe > > (I'm covering all options, so if this you know you need > crossovers bear with me) > > > thanks > > > > PS.. one transiver.. > > > > > > Quoting Per Tore Larsen : > > > > > > > > > The problem is that the when I give on PC3 "ifconfig fxp1" > > > > (my second network card that gives to PC4) I get the > > > > frustrating message "no > > > > carrier". > > > Ok.. now when you say "ifconfig fxp1" is that the hole line > > > or is it more like > > > 1) "ifconfig fxp1 inet 192.168.1.1 netmask 255.255.255.0" > > > or in /etc/rc.conf > > > 2) ifconfig_fxp1="inet 192.168.1.1 netmask 255.255.255.0" > > > > > > Also has the card more than 1 transiver? Depending on the > > > network card this may the problem. > > > > > > Could you try the option 2) for /etc/rc.conf? Do you get the > > > same error message? The 1) may be flawed since I can't test > > > it and it's been a while since I used ifconfig that way. > > > > > > Have you tried a diffrent network card? Same result? > > > > > > The rest of the layout and intentions looks fine. > > > > > > PeTe > > > > > > > -----Original Message----- > > > > From: pgd@telehorizon.com [mailto:pgd@telehorizon.com] > > > > Sent: Monday, January 22, 2001 12:44 PM > > > > To: Per Tore Larsen > > > > Cc: questions@freebsd.org > > > > Subject: RE: NAT within a NAT > > > > > > > > > > > > Here's what i've tried so far: > > > > > > > > I have setup my NAT using the 10.0.0.0 range. > > > > I set up the one of the NATed PCs to be a NAT server as well > > > > (using the > > > > 192.168.0.0 range). I've put a second network card in it and > > > > on this second card > > > > I have connected another PC (the new 192.168.0.0 > > sub-NAT-network). > > > > > > > > > > > More or less the following situation (where you see a '#', it > > > > is a network > > > > card): > > > > > > > > 10.0.0.0 PC3 192.168.0.0 > > > > +----+ +-PC1 +----+ > > > > |1st | | |2nd | > > > > world<---#NAT #----+--------#NAT #-----PC4 > > > > |serv| | |serv| > > > > +----+ +-PC2 +----+ > > > > > > > > > > > > The problem is that the when I give on PC3 "ifconfig fxp1" > > > > (my second network card that gives to PC4) I get the > > > > frustrating message "no > > > > carrier". > > > > > > > > And of course PC4 gets "no rout to host".. > > > > > > > > Any ideas?? > > > > > > > > thanks, > > > > dimitri & paisios, > > > > > > > > PC. I use no DHCP .. > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message