* IP Alias and NAT problems
@ 2003-12-09 4:17 Geffrey Velasquez
2003-12-09 6:17 ` Geffrey Velásquez
0 siblings, 1 reply; 2+ messages in thread
From: Geffrey Velasquez @ 2003-12-09 4:17 UTC (permalink / raw)
To: netfilter
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: IP Alias and NAT problems
2003-12-09 4:17 IP Alias and NAT problems Geffrey Velasquez
@ 2003-12-09 6:17 ` Geffrey Velásquez
0 siblings, 0 replies; 2+ messages in thread
From: Geffrey Velásquez @ 2003-12-09 6:17 UTC (permalink / raw)
To: netfilter
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-09 6:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09 4:17 IP Alias and NAT problems Geffrey Velasquez
2003-12-09 6:17 ` Geffrey Velásquez
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.