From owner-freebsd-questions Sat Jul 7 20:18:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls20.mediaone.net (chmls20.mediaone.net [24.147.1.156]) by hub.freebsd.org (Postfix) with ESMTP id C9DBD37B401 for ; Sat, 7 Jul 2001 20:18:35 -0700 (PDT) (envelope-from leblanc@acadia.ne.mediaone.net) Received: from acadia.ne.mediaone.net (acadia.ne.mediaone.net [65.96.185.189]) by chmls20.mediaone.net (8.11.1/8.11.1) with ESMTP id f683IY625508 for ; Sat, 7 Jul 2001 23:18:34 -0400 (EDT) Received: (from leblanc@localhost) by acadia.ne.mediaone.net (8.9.3/8.9.3) id XAA22199; Sat, 7 Jul 2001 23:12:32 -0400 Date: Sat, 7 Jul 2001 23:12:31 -0400 From: Louis LeBlanc To: freebsd-questions@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: IPFW/NATD or Cable Modem Trouble?? Message-ID: <20010707231231.A22041@acadia.ne.mediaone.net> Reply-To: freebsd-questions@FreeBSD.ORG Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <001201c10662$6043c3e0$0201a8c0@goldenrod.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <001201c10662$6043c3e0$0201a8c0@goldenrod.net> User-Agent: Mutt/1.3.19i X-bright-idea: Lets abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No where near being a FreeBSD or network guru, but it seems to me that if the gateway for your ed2 interface goes down, and you are trying to telnet to the IP (or a hostname associated with the IP) of the ed2 interface, it *will* route through the ed1 interface to ed2, but ed2 will have to be able to reach its gateway (the router that cannot be reached) in order to accept any connections. If you telnet to a hostname or the IP associated with ed1, it should be fine. Keep in mind, I am assuming you are connecting from within your network (ed1 side) to your 'gateway' (connecting your internal network to the cable modem), but actually telnetting to the gateway (ed2) interface. To my understanding, this is normal behavior. I have seen it before on various unices. I doubt NAT will change this behavior either. HTH Lou On 07/06/01 04:26 PM, Mark Kobussen sat at the `puter and typed: > > > natd_flags="-l -d -s -m -u -dynamic -ned2" > > > I added the flags you recommended above, and altogether, it seems to > work a > bit better. Unfortunately, the router still becomes unreachable every > few > minutes. > This leads me to another question -- why, if my configuration looks > fairly > decent, would not only the ed2 interface stop communicating with the > cable > modem, but ed1 ALSO stops responding to telnet and ssh sessions. > Also, I noticed some "ed2 NIC memory corrupt - invalid packet size" > messages > on the console last time I looked. It seems these JUST started > appearing > after I added various NATD flags. > > > > I also added the following to let DHCP through > > # Allow DHCP through > > ${fwcmd} add pass udp from any 68 to any 67 out via ${oif} > > ${fwcmd} add pass udp from any 67 to any 68 in via ${oif} > Added these two, seems to be working a-ok. > > And, do you have the following in /etc/dhclient.conf: > > > > interface "ed2" { > > send host-name ""; > > request subnet-mask, broadcast-address, routers,\ > > domain-name-servers, domain-name, time-servers; > > require domain-name-servers; > > } > > > I added the above to my dhclient.conf file, and DHCP stopped receiving > domain resolution information. I've left the dhclient.conf empty (as > it was > before), as it was not only working fine, but also providing all of > the > information you were requesting in your dhclient.conf. > Thanks for the suggestions, > Mark -- Louis LeBlanc Fully Funded Hobbyist, KeySlapper Extrordinaire :) leblanc@acadia.ne.mediaone.net http://acadia.ne.mediaone.net ԿԬ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message