From owner-freebsd-questions Mon Oct 23 13:34:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.venon.com (ns1.venon.com [64.7.7.83]) by hub.freebsd.org (Postfix) with ESMTP id 4D2F637B479 for ; Mon, 23 Oct 2000 13:34:24 -0700 (PDT) Received: from megalomaniac.biosys.net (megalomaniac.venon.com [64.7.7.82]) by ns1.venon.com (Postfix) with ESMTP id A340CD149D; Mon, 23 Oct 2000 16:34:41 -0400 (EDT) Message-Id: <4.3.2.7.2.20001023163228.00c55da8@mail.megapathdsl.net> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 23 Oct 2000 16:33:33 -0400 To: Marko Ruban , freebsd-questions@FreeBSD.ORG From: Allen Landsidel Subject: Re: gateway on different subnet In-Reply-To: <39F49ECC.AF8CDFD2@dppl.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 16:25 10/23/2000 -0400, Marko Ruban wrote: >Summary of the problem: > >Can't assign cable modem gateway (10.17.56.12) to interface >ed0 with assigned IP (208.59.162.242) - "network unreachable". > >I called RCN (my cable provider) and asked them to give me >a gateway on the same subnet; they said they "don't do that". > > >Part of solution: > >I set an alias for ed0 to 10.17.0.1 and it accepted the cable >modem gateway as is. BUT, the packets are sent out with source >address (10.17.0.1) responses to which, I suspect, gateway doesn't >know how to route. > >Question: how can I have an alias of 10.17.0.1 and send out all >packets with source address set to 208.59.162.242 (the IP >that is actually assigned to the interface - not alias). Use natd to do it.. rewrite all outgoing packets over ed0 with the correct IP. -------signature file------- PGP Key Fingerprint: 446B 7718 B219 9F1E 43DD 8E4A 6BE9 D739 CCC5 7FD7 "I don't think [Linux] will be very successful in the long run." "My experience and some of my friends' experience is that Linux is quite unreliable. Microsoft is really unreliable but Linux is worse." -Ken Thompson, Interview May 1999. http://www.freebsd.org FreeBSD - The Power to Serve http://www.rfnj.org Radio Free New Jersey - 395 streams - 96kbps @ 44.1khz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message