North American Network Operators Group|
Date Prev | Date Next |
Date Index |
Thread Index |
Author Index |
Re: need routed configuration help
- From: -DAL-
- Date: Fri Jan 18 14:48:27 2002
On Tue, Jan 15, 2002 at 04:13:35PM -0800, Alex Melkomukov wrote:
> Hello everyone.
> The OS is FreeBSD 4.4. I did some digging and discovered that I needed to
> enable 'routed' and create some static routes to the gateway IP outside of
> the local network block to be able to reach the Internet.
> I uncommented the
> entry (IP has been changed to protect parties involved) in the rc.conf file
> and added the
> entry. I then added the following entries to the rc.local file:
> route add default -interface 220.127.116.11 -netmask 255.255.255.252
> route add -net 18.104.22.168 -interface 22.214.171.124 -netmask 255.255.255.252
> route add default 126.96.36.199
> I came up with these routes by trial and error, and am not convinced that
> these are the correct entries to use.
> I can reach the Internet and the nameserver (which is also outside of the
> local network block), and can ping and traceroute without any problems.
> But,... every once in a while certain programs start timing out and/or
> take a really long time to respond (to the point of failure due to time-out
> on the other end). Some of these programs are telnet, ssh, ftp, radius.
> Other programs/protocols (such as http traffic) do not display the same
> So, I am seeking advice on how to configure static routes correctly and/or
> if some other issues may be causing this strange, intermitten behavior.
> Please let me know if I implemented this incorrectly...
> Alex Melkomukov firstname.lastname@example.org
> Navi.Net http://www.navi.net
> 618 NW Glisan St., Ste. 101 voice 503-517-8866
> Portland, OR 97209 USA fax 503-517-8868
If you can ping the outside world, and traceroutes etc work just fine my
guess would be you are seeing some kind of DNS related timeout. Does
your IP space reverse resolve? I.e. if you nslookup 188.8.131.52 does it
resolve to your host's domain name? Does your forward lookup match your
Connecting to hosts that use wrappers etc on their Telnet, SSH, FTP can
take forever if you don't have reverse entries. This is because they
typically do a reverse lookup and forward lookup on your IP and DNS name
(respectivly) and so if you don't have entries properly set up you have
to wait for their DNS queries to timout. HTTP probably is fine because
it isn't normally wrapped, and may not do a reverse then forward look up
Last thing, you've got the static routes, no need to run the routing
daemon. You can set router_enable="NO".