Date: Sun, 29 Apr 2001 17:53:36 -0700 From: kevin <kevinm@cco.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: routing troubles Message-ID: <3AECB790.6C88ADB1@cco.net> References: <3AEC7243.D2AC9ABF@cco.net> <20010429154428.B62693@museum.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
list wrote: > Another thing just hit me. It appears you're using static IPs on the > 192.168 net, true? So this means you're not using DHCP to assign > IPs automatically? Have you set the default gateway on the 192.168 > machines to be the inside IP of the FreeBSD box? Running WINIPCFG > on a 95 machine will tell you what it's using for a default gateway, > DNS, etc. From the Windoze box (192.168.1.101) I can ping the inside ip of the FreeBSD box (192.168.1.100) and the outside ip of the FreeBSD box (209.102.16.38) but I can't ping the router (209.102.16.33) or any other ip address beyond the router. > > > Can you ping by IP address from the Windows machines to the FreeBSD > box? ping 192.168.0.1 or whatever the FreeBSD's inside IP is. If > that works, and the Windows machines seem to have the correct gate- > way set in WINIPCFG, then try a ping to the outside world by IP > address. Try 206.29.169.27, that's my DSL router/gateway. > > If THAT works, then try a ping by name, like psg.com is one I like > to use, 'cuz it's short to type! :) If that doesn't work, then it's > likely that your Windoze boxen don't know how to get to a name ser- > ver (DNS server), and you should configure the IP address of your > ISP's name servers into your Netwk Nbrhd configuration on the Win > boxes. > > Hope this helps. > > Jim > > On Sun, Apr 29, 2001 at 12:57:55PM -0700, kevin wrote: > > Ok, I am a newbie to FreeBSD and networking, so I have been reading, > > testing, and reading and testing some more, but seems that I am getting > > nowhere. > > > > I have a small network at home and a DSL router to connect to the > > internet. I can NIC any windows box up and connect to the internet by > > using the information from my ISP. I can NIC my FreeBSD box up and > > connect to the internet. I have placed two NICs into the FreeBSD trying > > to set up a gateway and email server for the other computers. > > > > Now, from the FreeBSD box I can travel the internet with no problems. I > > can ping the other computers from the FreeBSD box with no problems. > > From the other computers I can ping all the other computers on the > > intranet and both NICs in the FreeBSD box but I cannot ping the DSL > > router or anything beyond. > > > > Is there anyone that can help me resolve this problem? Here are what my > > hosts and rc.conf files contain. I did not include the firewall since I > > have made the firewall_type as "OPEN" while I have been testing. I have > > even tried removing the call to the rc.firewall file trying to get > > through the BSD box. > > > > hosts > > > > 127.0.0.1 localhost.myisp.com localhost > > # NIC 1 ed1 on the FreeBSD box connected to the router > > 209.102.##.#8 bsd01.thehomesystems.net bsd01 > > 209.102.##.#3 router1 > > # NIC 2 xl0 on the FreeBSD box connected to the hub > > 192.168.##.##0 gw.thehomesystems.net gw > > 192.168.##.##1 pc1.thehomesystems.net pc1 > > 192.168.##.##2 pc2.thehomesystems.net pc2 > > 192.168.##.##3 pc3.thehomesystems.net pc3 > > 192.168.##.##4 pc4.thehomesystems.net pc4 > > > > rc.conf: > > > > ifconfig_ed1="inet 209.102.##.## metric 1 mtu 1500 netmask > > 255.255.255.224" > > ifconfig_xl0="inet 192.168.##.### metric 1 mtu 1500 netmask > > 255.255.255.0" > > hostname="bsd01.thehomesystems.net" > > linux_enable="YES" > > router_flags="-q" > > router="routed" > > router_enable="YES" > > check_quotas="NO" > > defaultrouter="209.102.##.#3" > > sshd_enable="YES" > > local_startup="/usr/local/etc/rc.d" > > firewall_enable="YES" > > firewall_script="/etc/rc.firewall" > > firewall_type="OPEN" > > firewall_quite="NO" > > gateway_enable="YES" > > > > Any help here would be extremely appreciated. > > > > kevinm@cco.net > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AECB790.6C88ADB1>