Re: Freebsd bad routing

From: Greg Barniskis (nalists_at_scls.lib.wi.us)
Date: 07/15/05

  • Next message: Helge Preuss: "Re: better disk reliability on a desktop machine"
    Date: Fri, 15 Jul 2005 09:29:42 -0500
    To: Joseh Martins <joseh.martins@gmail.com>
    
    

    Joseh Martins wrote:
    > Hello,
    >
    > I have a Freebsd server and some bad routes are been showed to me.
    >
    > Well, I didnt configured any routing protocols ...
    >
    > With the command "netstat -r" I got a lot of routes with "UGHD" flags.
    > I just need the default route (gateway).
    >
    > With the command "netstat -rs" I got this message:
    > "127 bad routing redirects
    > 1091 dynamically created routes"
    >
    > I appreciate some help.
    > Tks a lot..

    UGHD would seem to indicate that your box has been told (by ICMP
    redirects) not to use your configured default gateway to reach a
    specific host, but to use a different gateway instead. It is not
    necessarily a bad thing.

    My guess: either (a) there are two or more available gateways
    upstream from you and they are legitimately collaborating to inform
    you of the best (possibly only) routes to use to get to various
    destinations, or (b) you are getting bad ICMP redirects from
    somewhere, either accidental or intentional.

    If you know that one or more of the indicated UGHD routes is just
    plain wrong, that would be bad (maybe a spoofing or DoS attack of
    some kind). If you are unsure whether the routes are valid or not,
    contact the route provider upstream from you for clarification of
    whether this is legitimate (and whether you have specified the
    correct default gateway in the first place).

    -- 
    Greg Barniskis, Computer Systems Integrator
    South Central Library System (SCLS)
    Library Interchange Network (LINK)
    <gregb at scls.lib.wi.us>, (608) 266-6348
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Helge Preuss: "Re: better disk reliability on a desktop machine"

    Relevant Pages

    • Re: Two Routers VPN Community Wireless
      ... The routing table is standard with the primary gateway at 192.168.12.138. ... I think I have a understanding of how routes work from the PC but combine ... tables in the Router even come into play when the VPN tunnel is established? ... If it would help I can bring the actual routing table in tomorrow from home. ...
      (microsoft.public.windowsxp.network_web)
    • Re: Misbehaving routing tables
      ... Thanks for your feedback, Bill. ... I have including a portion of the routing table below immediately ... Default Gateway: 192.168.10.254 ... Active Routes: ...
      (microsoft.public.windows.server.networking)
    • Re: Routing problems
      ... default gateway, not an interface). ... accessible from the Internet. ... routes programmed into it, making it essentially a usable default gateway ... not even touching the Linux firewall. ...
      (comp.os.linux.networking)
    • Re: Question on single host with mutiple subnets/gateways
      ... >> netmask and network routes, traffic should not go to default gateway ... > Sorry for my unclear description, here's the current routing table. ... This looks correct "if these are separate networks", ...
      (comp.os.linux.networking)
    • whats hacking my routing table?
      ... Today I've discovered that something strange happens to the routing ... After booting, my routes are: ... as a default gateway. ... internet router which isn't entered anywhere in the network setup. ...
      (microsoft.public.security.virus)