From owner-freebsd-questions Sun Aug 29 15:24:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dqc.org (gonzo.st [208.44.74.16]) by hub.freebsd.org (Postfix) with ESMTP id 767BA1525B for ; Sun, 29 Aug 1999 15:24:47 -0700 (PDT) (envelope-from chris@dqc.org) Received: by dqc.org (Postfix, from userid 999) id 8BD1B217C; Sun, 29 Aug 1999 15:23:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by dqc.org (Postfix) with ESMTP id 78ED7B; Sun, 29 Aug 1999 15:23:34 -0700 (PDT) Date: Sun, 29 Aug 1999 15:23:34 -0700 (PDT) From: Chris Cappuccio To: akhar Cc: misc@openbsd.org, questions@FreeBSD.ORG Subject: Re: Network doesn't work anymore! In-Reply-To: <37C98B4D.C976F4E7@videotron.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG are you using ipnat to translate ?? do you have sysctl net.inet.ip.forwarding=1 ?? On Sun, 29 Aug 1999, akhar wrote: | I have OpenBSD setup as my gateway and server for my networkit | interrfaces with the internet via cable modem on xl0 and with the | intranet on ne3. I have already inquired help from the different | mailling lists and for an hour my network worked! 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 | | | -- Corporations are not evil. That kind of anthropomorphism is inappropriate. Corporations are too stupid to be evil, only people can be that. -jwz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message