From owner-freebsd-isp Fri Oct 23 01:03:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA05264 for freebsd-isp-outgoing; Fri, 23 Oct 1998 01:03:03 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from freesbee.t.dk (freesbee.t.dk [193.163.159.72]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA05259 for ; Fri, 23 Oct 1998 01:03:01 -0700 (PDT) (envelope-from jesper@freesbee.t.dk) Received: (qmail 8711 invoked by uid 1001); 23 Oct 1998 08:02:23 -0000 Date: Fri, 23 Oct 1998 10:02:23 +0200 From: Jesper Skriver To: Leif Neland Cc: freebsd-isp@FreeBSD.ORG Subject: Re: route changes erratically (routed) Message-ID: <19981023100223.G8559@skriver.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.13i In-Reply-To: ; from Leif Neland on Fri, Oct 23, 1998 at 12:38:03AM +0200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Oct 23, 1998 at 12:38:03AM +0200, Leif Neland wrote: > We have 2 portmasters (PM2), several servers, a cisco to the world, and a > firewall to the internal network. > > The cisco is default gateway > > The servers and portmasters are on one class C, the dialins are on another > class C. > > Because some users have fixed ip, but can dial in on either of the > portmasters, I run routed on all servers, and the portmasters seem to > announce on which portmaster the customer is, so the route gets changed to > the right portmaster. > > The traceroute should then go from server to pm1 or pm2 to customer. > > However, often the route changes so it goes > server->cisco->pm->client or > server->firewall->pm->client or even > server->cisco->(router at our uplink)->cisco->(router at our uplink) etc. > > If I constantly pings the client, I gets pauses where the pings are lost. > > What do I do wrong? Shouldn't I use routed on the servers, but only route > default gateway to the cisco, and let it handle the pm1/pm2 route changes? > Or should I have one server running routed? or gated? or what? You're probabaly using RIP (version1), and it doesn't support CIDR => Lots of trouble. What I would do was something like this. Let all your servers and the firewall have a static default route to the cisco router, and not run routed or gated on these. Enable OSPF on both the cisco and the portmasters, OSPF has sigificant advantages over RIP, it supports CIDR among other things. RIP version2 could also solve your problem. If you need help with this Tele Danmark has consultants that can help you, but it'll cost you ... /Jesper -- Jesper Skriver (JS249-RIPE), Network manager Tele Danmark DataNet, IP section (AS3292) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message