[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re-assign Ip Interface

On Mon, Sep 17, 2001 at 11:06:06PM -0400, Bao C. Ha wrote:
> I have a question about the following configuration.  A
> Linux server with two real interfaces:
> 1. PPP: ppp0 with address
> 2. Ethernet with ip aliases.
>    eth0 w/ address
>    eth0:1 w/ real public IP
> The default gateway is but it can route the
> real public IP to the internet.
> How do I setup so that the server will initiate IP
> connections with the real public IP of eth0:1, instead
> of the faked IP of the PPP?

Does something like 'route del default gw; route add default gw dev eth0:1' help? I haven't had a chance to try it out yet,

Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: