Connect to Internet
RazorOnFreeBSD
yann.luppo at attglobal.net
Thu Apr 8 06:05:42 PDT 2004
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 12.103.21.x netmask 0xffffff00 broadcast 12.103.21.255
inet6 ...........
ether ...........
media: Ethernet autoselect (100baseTX <full duplex>)
status: Active
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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." <kdk at daleco.biz>
To: "RazorOnFreeBSD" <yann.luppo at attglobal.net>
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
More information about the freebsd-questions
mailing list