From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 06:05:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6453316A4CE for ; Thu, 8 Apr 2004 06:05:42 -0700 (PDT) Received: from prserv.net (asmtp1.prserv.net [32.97.166.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88E8443D54 for ; Thu, 8 Apr 2004 06:05:41 -0700 (PDT) (envelope-from yann.luppo@attglobal.net) Received: from razorwork (130.wf21.bltm.wswdc01r18.dsl.att.net[12.103.21.130]) by prserv.net (asmtp1) with SMTP id <2004040813052725100kdmg5e> (Authid: yann.luppo@attglobal.net); Thu, 8 Apr 2004 13:05:29 +0000 Message-ID: <05bc01c41d37$ee610900$8215670c@razorwork> From: "RazorOnFreeBSD" To: "Kevin D. Kinsey, DaleCo, S.P." References: <03b601c41caa$56d6c3f0$8215670c@razorwork> <40746401.3080505@elvandar.org> <40746D7A.7040001@daleco.biz> <041e01c41cb7$6663b5a0$8215670c@razorwork> <4074A082.4060602@daleco.biz> Date: Thu, 8 Apr 2004 09:05:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-questions@freebsd.org Subject: Re: Connect to Internet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 13:05:42 -0000 No I didn't... Here is my "netstat -r" output : Dest Gateway Flags Refs Use Netif Razor 12.103.21.1 UGSc 2 105 rl0 12.103.21/24 link#1 UC 1 0 rl0 12.103.21.1 link#1 UHLW 3 2 rl0 localhost localhost UH 0 0 lo0 192.168.1 link#2 UC 1 0 dc0 kitty.my.domain 00:06:5b:b4:41:1c UHLW 0 0 dc0 But here I now have some conf files and other outputs to show you, that would be helpful : ifconfig outputs : rl0: flags=8843 mtu 1500 inet 12.103.21.x netmask 0xffffff00 broadcast 12.103.21.255 inet6 ........... ether ........... media: Ethernet autoselect (100baseTX ) status: Active dc0: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 inet6 ........... ether ........... media: Ethernet autoselect (10baseT/UTP) status: Active ------------------------------ resolv.conf : domain Razor nameserver 12.127.16.83 #those two ip's are my current dns server under the windows station... they work. nameserver 12.127.17.83 ------------------------------ hosts : ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain 192.168.1.1 Razor.my.domain Razor 192.168.1.15 razor_work.my.domain razor_work 192.168.1.16 Kitty.my.domain Kitty ------------------------------ rc.conf : defaultrouter="12.103.21.1" gateway_enable="YES"hostname="Razor" ifconfig_rl0="inet 12.103.21.x netmask 255.255.255.0" ifconfig_dc0="inet 192.168.1.1 netmask 255.255.255.0" inetd_enable="NO" kern_securelevel="2" kern_securelevel_enable="NO" # I did that because it was required to rebuild the kernel up to a website keymap="fr.iso.acc" linux_enable="YES" nfs_server_enable="NO" sendmail_enable="NO" sshd_enable="NO" usdb_enable="NO" firewall_enable="YES" firewall_type="OPEN" firewall_quiet="NO" natd_enable="YES" natd_interface="rl0" natd_flags="/etc/fw/natdy.conf" tcp_drop_synfin="YES" ------------------------------ natdy.conf : unregistered_only interface rl0 use_sockets punch_fw 2000:50 ------------------------------ sysctl.conf : net.inet.tcp.strict_rfc1918=1 net.inet.ip.check_interface=1 net.inet.tcp.blackhole=1 net.inet.udp.blackhole=2 Tell me if you need other informations ???? If I can connect Internet with the Freebsd box.... That would be great! Thanks a lot for helping. razor. ----- Original Message ----- From: "Kevin D. Kinsey, DaleCo, S.P." To: "RazorOnFreeBSD" Sent: Thursday, April 08, 2004 2:44 AM Subject: Re: Connect to Internet > RazorOnFreeBSD wrote: > > >Ok I tried like you said Kevin to do a traceroute on 12.103.21.1 wich is > >what ISP call "default gateway". > >It didn't work, the result looked like this : > > > >1 * * * > >2 * * * > >3 * * * > >4 * * * > >etc.... > > > >I wasn't patient enough for the fifth one! > >So I looked in resolv.conf and there was the IP of a DNS server : > >12.127.17.83. I know this one works because I'm using it under windows > >currently. > >I decided to try this command : route add default 12.103.21.1 > >and maybe I was wrong, but I put this address also in the resolv.conf file > >before the other DNS entry. > >Then I rebooted and Traceroute and same results...... > > > >1 * * * > >2 * * * > >3 * * * > >4 * * * > >etc.... > > > >what do you think ? > > > > > > > > I've no idea, for sure. You've still not shown > us your `netstat' output, have you? Or did I > miss it somewhere... > > Hmm, try: > > #route add default 12.123.197.114 > > ---KDK