All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thilo Schulz <arny@ats.s.bawue.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Fwmark problem - policy routing does not work.
Date: Fri, 26 Apr 2002 20:01:48 +0000	[thread overview]
Message-ID: <marc-lartc-101985134504161@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101958268206904@msgid-missing>

> Are you sure it showed you as logged in from 192.168.1.11?  I just
> tried the same setup here, and with either setup you describe, it
> always shows me as having logged in from the primary IP.

Absolutely sure, it only worked with the "to ipaddress" rule.

> The "src" doesn't specify the source IP to put in the packet (it's not
> network address translation, like SNAT in iptables), it just specifies
> which local source IP the routing mechanisms should use to determine
> where to route the packet.

However, somewhere inthe iproute tools this HAS to be possible ...

> If you really want the packets to look like they're coming from
> 192.168.1.11, why don't you just use iptables and SNAT them?

I have thought of that as well, but the socket that has been created should 
only listen to the primary IP, so that the source and destination address do 
not match.

I was going to try it though, and have already compiled a fully NAT able 
kernel (it was not able to previously, because i thought NAT is not necessary)

Also i'm going to contact one of the Policy Routing developers.

Thanks for your help.
- Thilo Schulz
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-04-26 20:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-23 17:23 [LARTC] Fwmark problem - policy routing does not work Thilo Schulz
2002-04-24 11:42 ` Thilo Schulz
2002-04-24 11:50 ` Stef Coene
2002-04-24 12:40 ` Thilo Schulz
2002-04-26 19:44 ` Adrian Chung
2002-04-26 20:01 ` Thilo Schulz [this message]
2002-04-26 20:08 ` Adrian Chung
2002-04-27  8:25 ` Arthur van Leeuwen
2002-04-27  8:51 ` Thilo Schulz
2002-04-27 10:04 ` Julian Anastasov
2002-04-27 11:40 ` Adrian Chung
2002-04-27 12:02 ` Arthur van Leeuwen

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=marc-lartc-101985134504161@msgid-missing \
    --to=arny@ats.s.bawue.de \
    --cc=lartc@vger.kernel.org \
    /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.