Date: Thu, 23 Jul 2009 10:24:02 -0500 From: Adam Vande More <amvandemore@gmail.com> To: Nikos Vassiliadis <nvass9573@gmx.com> Cc: freebsd-questions@freebsd.org, "Lucian@lastdot.org" <lucian@lastdot.org> Subject: Re: How to change default source address? Message-ID: <6201873e0907230824r4c996d60n1095e88dacf79981@mail.gmail.com> In-Reply-To: <4A687D21.5050603@gmx.com> References: <5a3c8f450907230721y65b6c87as2a38a01efcdb649b@mail.gmail.com> <4A687D21.5050603@gmx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 23, 2009 at 10:09 AM, Nikos Vassiliadis <nvass9573@gmx.com>wrote: > Lucian@lastdot.org wrote: > >> Hi guys, >> >> I need to change the default source address on a freebsd server. >> My situation is somehow similar to this >> (http://marc.info/?l=freebsd-questions&m=122535960804508&w=2). >> In linux i can easily do it like: >> >> ip ro replace default via 10.10.10.1 src a.b.c.d (where a.b.c.d is em0 >> alias). >> >> Any ideas? >> > > The most straightforward solution would be to call > your ISP and tell them to change the PPP IP to the > IP you want from your network. For example: > 10.0.0.1/24 on your lan0 > and 10.0.0.1 on the ppp interface. > > Other than that, perhaps jail to fool the system > to use another address or some form of NAT. > > There is no such thing as in the Linux example, as far > as I know. > > Nikos > > _______________________________________________ > 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" > man 8 route -- Adam Vande More
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6201873e0907230824r4c996d60n1095e88dacf79981>