How to change default source address?

Adam Vande More amvandemore at gmail.com
Thu Jul 23 15:24:03 UTC 2009


On Thu, Jul 23, 2009 at 10:09 AM, Nikos Vassiliadis <nvass9573 at gmx.com>wrote:

> Lucian at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

man 8 route


-- 
Adam Vande More


More information about the freebsd-questions mailing list