Date: Sat, 17 May 2014 16:30:09 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Gateway? Message-ID: <CAHu1Y716uAjVTk%2BZ5UyP=3%2BxQGW2dgXRpJXhRnkJbX%2BpJSXR5g@mail.gmail.com> In-Reply-To: <73288.1400368632@server1.tristatelogic.com> References: <73288.1400368632@server1.tristatelogic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 17, 2014 at 4:17 PM, Ronald F. Guilmette <rfg@tristatelogic.com> wrote: > Quite simply, I'd like to know if the defaultrouter= IPv4 address > specified in my /etc/rc.conf file should be the same as whatever > I normally see as the first hop in an outgoing traceroute. Maybe... see comments below. > defaultrouter="69.62.255.254" > > and here is one example of a recent outgoing traceroute: > > % traceroute 74.125.239.148 > traceroute to 74.125.239.148 (74.125.239.148), 64 hops max, 52 byte packets > 1 86.255-62-69.res.dyn.surewest.net (69.62.255.86) 28.884 ms 31.395 ms 30.024 ms > 2 216.0.55.209 (216.0.55.209) 26.486 ms 26.024 ms 25.850 ms Do you have a fixed IP address (statically assigned), or are you getting an address via DHCP from your ISP? If it's DHCP, your defaultrouter definition is overridden every time you get/renew a lease. netstat -r -n -f inet | grep -v link tells where your packets go next. But in any case, it's helpful to know how traceroute works. It usually sends UDP packets with increasing TTLs which are supposed to elicit an ICMP error message (TTL expired) from hops along the way. The IP address you get a response from may be different from what you expect, especially when navigating the innards of your ISPs switch fabric. It's possible that it isn't even the address of any interface on any router. On the intermittent failure issue - are you running a firewall? Do you permit 67-68/udp between your gateway and the ISP? And did Surewest get acquired by XO? - M
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y716uAjVTk%2BZ5UyP=3%2BxQGW2dgXRpJXhRnkJbX%2BpJSXR5g>