Gateway?
Michael Sierchio
kudzu at tenebras.com
Sat May 17 23:30:17 UTC 2014
On Sat, May 17, 2014 at 4:17 PM, Ronald F. Guilmette
<rfg at 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
More information about the freebsd-net
mailing list