Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Geffrey Velásquez" <g_netfilter@netfids.com>
To: netfilter@lists.netfilter.org
Subject: Re: IP Alias and NAT problems
Date: Tue, 9 Dec 2003 01:17:35 -0500 (PET)	[thread overview]
Message-ID: <49640.200.48.142.50.1070950655.squirrel@www.netfids.com> (raw)
In-Reply-To: <3FD54CCC.5080904@netfids.com>

Friends,

Additionaly, the Redhat9 Firewall is an IBM xSeries 345, it has 3 intefaces
NetXtreme 1000 T, 2 integrated Intel Ethernet 1000 and a 3con 10/1000

alias eth0 3c59x
alias eth1 tg3
alias eth2 tg3
alias eth3 tg3
alias eth4 e1000
alias eth5 e1000


Maybe could be the tg3 driver that is failing with ip alias?

> Hi Friends,
>
> Actually I have a firewall running RedHat 8 with almost the latest
> kernel (from RH).
> The interface eth0 has many aliases and there is a nat rule:
>
> iptables -t nat -A POSTROUTING -s 10.x.x.x/16 -j SNAT --to-source
> 200.x.x.10-200.x.x.21
>
> (200.x.x.10-200.x.x.21 are IP aliases)
>
> Everthing works fine, but when I try to do the same on RedHat9 (other
> box) running the latest kernel it doesnt works. Only works with the IP
> address of the interface (no alias), like this:
>
> iptables -t nat -A POSTROUTING -s 10.x.x.x/16 -j SNAT --to-source
> 200.x.x.9
>
> What is happening? why dont works SNAT with aliases? or maybe is not a
> netfilter problem?
>
>
> Thanks in advance.
>
> Geffrey Velásquez.





      reply	other threads:[~2003-12-09  6:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-09  4:17 IP Alias and NAT problems Geffrey Velasquez
2003-12-09  6:17 ` Geffrey Velásquez [this message]

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=49640.200.48.142.50.1070950655.squirrel@www.netfids.com \
    --to=g_netfilter@netfids.com \
    --cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox