From owner-freebsd-questions Mon Aug 30 19:46:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from falla.videotron.net (falla.videotron.net [205.151.222.106]) by hub.freebsd.org (Postfix) with ESMTP id A46CA15180 for ; Mon, 30 Aug 1999 19:46:33 -0700 (PDT) (envelope-from jolicom@videotron.ca) Received: from videotron.ca ([24.200.141.176]) by falla.videotron.net (Sun Internet Mail Server sims.3.5.1999.03.02.17.58.p5) with ESMTP id <0FHB008JX68S1P@falla.videotron.net> for questions@FreeBSD.ORG; Mon, 30 Aug 1999 22:43:41 -0400 (EDT) Date: Mon, 30 Aug 1999 22:44:26 -0400 From: akhar Subject: Re: If I may ask for help again! To: big-sky@altavista.net, Mark Einreinhof , Chris Cappuccio , "Joe \"Marcus\" Clarke" , questions@FreeBSD.ORG, misc@openbsd.org Message-id: <37CB4189.BBCB3862@videotron.ca> MIME-version: 1.0 X-Mailer: Mozilla 4.61 [en] (WinNT; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en References: <000001bef27b$87607f60$0201010a@cmr.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have tried my bst to follow advice but it did not seem to help I did resort to doing a tcpdump of my different attempts to connect to the net via my Openbsd gateway here it goes: tetis.home.foo.1051 > sphinx.home.foo.domain: 1+ (35) sphinx.home.foo > tetis.home.foo : icmp: sphinx.home.foo udp port domain unreachable and the 1+ just gets incremented by one every time! my ipf.rules is pretty simple pass in from any to any pass out from any to any my ipnat.rules is: map xl0 192.168.0.0/24 -> 0/32 and below my other message where I list other configurations. Where did I go wrong!! Akhar (patheticly blind) > -----Original Message----- > From: akhar [mailto:jolicom@videotron.ca] > Sent: Sunday, August 29, 1999 2:39 PM > To: big-sky@altavista.net > Subject: If I may ask for help again! > > I have OpenBSD setup as my gateway and server for my network it > interfaces with the internet via cable modem on xl0 and with the > intranet on ne3. I have already inquired your help it did work! for an hour > or > so until I rebooted. Now > I'm stuck I don't know what is wrong! all I can say is that I can do a > tracert from an NT box to my ISP in 3 minutes with two hops: my gateway > and the ISP. here are listed some of my different files in /etc > resolv.conf > domain videotron.ca > nameserver 127.0.0.1 > nameserver 205.... (I can't quite remenber) > nameserver 205.... (samething) > > hosts: > 127.0.0.1 localhost > 127.0.0.1 sphinx.home.foo sphinx > 192.168.0.1 sphinx.home.foo sphinx > 192.168.0.2 tetis.home.foo sphinx #NT box > > mygate: > 192.168.0.1 > > myname: > sphinx > > sphinx# netstat -nr > Routing tables > > Internet: > Destination Gateway Flags Refs Use > Mtu Interface > default 24.200.141.1 UGS 0 44 > - xl0 > 24.200.141/24 link#2 UC 0 0 > - xl0 > 24.200.141.1 8:0:3e:16:1b:59 UHL 1 4 - > xl0 > 24.200.141.104 127.0.0.1 UGHS 0 0 - lo0 > > 127/8 127.0.0.1 UGRS 0 0 > - lo0 > 127.0.0.1 127.0.0.1 UH 3 24 > - lo0 > 192.168.0/24 link#1 UC 0 0 > - ne3 => > 192.168/16 127.0.0.0 URS 0 0 - > lo0 > 192.168.0.2 0:e0:29:39:19:db UHL 2 1408 - ne3 > 224/4 127.0.0.1 URS 0 > 0 - lo0 > > Encap: > Source address/netmask Port Destination address/netmask > Port Prot > o SA(Address/SPI/Proto) > > sphinx# ifconfig -a > lo0: flags=8009 > inet 127.0.0.1 netmask 0xff000000 > lo1: flags=8008 > ne3: flags=8863 > media: Ethernet autoselect (10baseT) > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > xl0: flags=8843 > media: Ethernet 10baseT (10baseT half-duplex) > inet 24.200.141.104 netmask 0xffffff00 broadcast 255.255.255.255 > > sl0: flags=c010 > sl1: flags=c010 > ppp0: flags=8010 > ppp1: flags=8010 > tun0: flags=10 > tun1: flags=10 > enc0: flags=8 > bridge0: flags=0<> > bridge1: flags=0<> > > What is wrong?? If possible could some give me an exemple of the content > of the different files related to networking and/or a checklist of what > to configure. > Thank you in advance > Akhar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message