From owner-freebsd-questions Sun Oct 18 08:30:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24818 for freebsd-questions-outgoing; Sun, 18 Oct 1998 08:30:38 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotmail.com (f156.hotmail.com [207.82.251.35]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA24813 for ; Sun, 18 Oct 1998 08:30:37 -0700 (PDT) (envelope-from frumpler@hotmail.com) Received: (qmail 7234 invoked by uid 0); 18 Oct 1998 15:30:15 -0000 Message-ID: <19981018153015.7233.qmail@hotmail.com> Received: from 207.33.107.203 by www.hotmail.com with HTTP; Sun, 18 Oct 1998 08:30:14 PDT X-Originating-IP: [207.33.107.203] From: "Robert Helmer" To: freebsd-questions@FreeBSD.ORG Subject: RE: simple networking problem...(hopefully :) ) Content-Type: text/plain Date: Sun, 18 Oct 1998 08:30:14 PDT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for your help, everybody! Turns out the provider gave us the wrong numbers! Everything is hunky dory now! Well, almost :) ... I'm still having trouble getting NAT/aliasing/ masquerading/ whatever you wanna call it working... the ppp one doesn't seem to work at all for me (I tried a -alias in my ppplogin.sh and tried taking that out and putting in alias enable yes in the ppp.conf... neither seemed to have any effect. I can ping/telnet/ftp other machines on the local network, but as soon as I try to go through the gateway the outside world, nothing is returned... I'm messing with natd on another terminal as I type :) so I'll see how that goes.. any comments/suggestions on which is the better choice, or maybe something I'm missing with ppp? Thanks again! BTW - please reply to frumpler@hotmail.com, as I am not on the mailing list :( -form > >I'll take a crack from what I see here. Are you pinging from your ppp >connection? If so remember the 10.x.x.x network is reserved for private use >and if your default route which is your gateway of x.x.107.206 is on another >subnet in this case I am guessing is a public block and a whole other subnet >you wont get any routing, your default gateway would have to be configured >for something in the 10.2.5.x block, and then maybe aliasing that block to >your ether card doing some sort of NAT translating. Right now your ppp >connection really doesnt have anyway of finding the x.x.107.206 network. Now >on the other hand if you tried pinging locally from the machine it should >work because your ethernet card has a route out. > >Forgive me if I happened to answer this wrong, just trying to help. > >Ryan > >> -----Original Message----- >> From: owner-freebsd-questions@FreeBSD.ORG >> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Robert Helmer >> Sent: Wednesday, October 14, 1998 1:30 AM >> To: freebsd-questions@FreeBSD.ORG >> Subject: simple networking problem...(hopefully :) ) >> >> >> Hi. >> I'm using FreeBSD 2.2.6 with a 3com 905BTX network card, and I got >> the driver compiled and it appears to be working ok (autoneg connects >> to the hub correctly).. but I am having a problem... here are some >> snips of rc.conf and the output of netstat -rn >> >> rc.conf: >> -------- >> network_interfaces="lo0 xl0" # List of network interfaces (lo0 is >> ifconfig_lo0="inet 127.0.0.1" # default loopback device configuratio >> fconfig_xl0="inet x.x.107.204 netmask 0xffffffff" # the 3com 905BTX >> >> >> >> defaultrouter="x.x.107.206" # set to default gateway ( or NO ) >> >> >> netstat -rn >> ----------- >> Internet: >> Destination Gateway Flags Refs Use Netif >> 10.2.5.1 x.x.107.204 UH 1 1090 tun0 >> localhost localhost UH 0 461 lo0 >> x.x.107.200 ff:ff:ff:ff:ff:ff UHLWb 0 3 xl0 => >> x.x.107.200/29 link#1 UC 0 0 >> x.x.107.206 0:e0:29:15:56:ac UHLW 0 14 xl0 34 >> >> >> BTW - 10.2.5.1 is me ppp'd in :) >> >> Ok, now the problem is, whenever I ping x.x.107.206 I get no response.. >> (206 is an ISP hooked up to this machine through a hub..there is a win95 >> machine plugged into the same hub that is working ok ) ping just sits >> there. Same result any way I try to access it any other way (as default >> route, dns, etc).. >> >> I'm pretty new to networking, so hopefully I'm just overlooking some >> step... >> >> Please respond to nerohj@california.com >> >> Any help is greatly appreciated! >> >> thanks, >> form >> >> ______________________________________________________ >> Get Your Private, Free Email at http://www.hotmail.com >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message >> > > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message