All of lore.kernel.org
 help / color / mirror / Atom feed
From: J Sloan <jjs@lexus.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: "Mohammad A. Haque" <mhaque@haque.net>, linux-kernel@vger.kernel.org
Subject: Re: ip alias and default outgoing interface
Date: Thu, 23 May 2002 11:06:42 -0700	[thread overview]
Message-ID: <3CED2FB2.9080804@lexus.com> (raw)
In-Reply-To: <Pine.LNX.3.96.1020523101028.11249B-100000@gatekeeper.tmr.com>

I'm seeing also - this is with 2.4.19-pre3aa2 -
and I know I saw it with earlier 2.4 kernels.
I just checked and I'm seeing it on my
workstation here, running 2.4.19-pre8-ac5.

I'd have a working ethernet interface, with
a functional default route - now if I bring up
a virtual address on the same ethernet
device, all outgoing traffic from that point
on emanates from the IP of the new virtual
interface - which created some problems
if there are firewall rules based on IP addr.

I know there is some way to fix this with the
advanced routing features, but I hadn't time
to look into it until now - and the above does
seem to be the default behavior.

Joe

Bill Davidsen wrote:

>On Wed, 22 May 2002, Mohammad A. Haque wrote:
>
>  
>
>>I've got a setup where I have one ethernet card and multiple ips 
>>assigned using ip alias.
>>
>>i've noticed that sometimes out going traffic goes out using the ip of 
>>the last interface I brought up.
>>
>>Is this supposed to happen? How do I make it so that the default gw 
>>interface is used?
>>    
>>
>
>Time to tell us which kernel you run. I haven't seen this with 2.4.recent,
>but most of the connections are either incoming or explicitly SNET'd.
>
>  
>




  reply	other threads:[~2002-05-23 18:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-22  4:05 ip alias and default outgoing interface Mohammad A. Haque
2002-05-23 14:11 ` Bill Davidsen
2002-05-23 18:06   ` J Sloan [this message]
2002-05-23 14:25 ` Wiktor Wodecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CED2FB2.9080804@lexus.com \
    --to=jjs@lexus.com \
    --cc=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhaque@haque.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.