Date: Mon, 23 Oct 2000 16:33:33 -0400 From: Allen Landsidel <all@biosys.net> To: Marko Ruban <marko@dppl.com>, freebsd-questions@FreeBSD.ORG Subject: Re: gateway on different subnet Message-ID: <4.3.2.7.2.20001023163228.00c55da8@mail.megapathdsl.net> In-Reply-To: <39F49ECC.AF8CDFD2@dppl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20001023163228.00c55da8>