Subject: Re: "default" outgoing address
To: Ted Lemon <mellon@hoffman.vix.com>
From: Michael Graff <explorer@flame.org>
List: tech-kern
Date: 02/04/1999 15:15:14
The aliases are /32, the physical network is something larger.
I don't think I can say
ifconfig de0 inet 204.152.184.79 netmask 0xffffffff
and have this work.
And for using a smaller netmask it would require proxy arp on the
routers to really work. And broadcasting to the local network would
fail. Etc.
--Michael
Ted Lemon <mellon@hoffman.vix.com> writes:
> Michael, how is this different from just ifconfiging the address from
> which you want packets to originate first, and having the address
> that's currently the primary one be the alias instead?
>
> i.e., if you're currently doing:
>
> ifconfig ep0 inet 10.0.0.20 netmask 255.255.255.0
> ifconfig ep0 inet alias 128.45.71.22 netmask 255.255.255.0
>
> And you want 128.45.71.22 to be the source address, why not just
> reverse it:
>
> ifconfig ep0 inet 128.45.71.22 netmask 255.255.255.0
> ifconfig ep0 inet alias 10.0.0.20 netmask 255.255.255.0
>
> _MelloN_