All of lore.kernel.org
 help / color / mirror / Atom feed
* problem with mac address and  SNAT
@ 2003-07-22 21:23 Javier Garza
  2003-07-23 13:47 ` Ramin Dousti
  0 siblings, 1 reply; 2+ messages in thread
From: Javier Garza @ 2003-07-22 21:23 UTC (permalink / raw)
  To: netfilter

Hy
  I have a redhat-release-7.2-1,  with   kernel-2.4.7-10  and   
iptables-1.2.3-1.

I want to assign a public  IP 200.40.199.221  to my PCs for access to 
internet,
and the interface outside  is 200.40.199.220.

       iptables -t nat -A POSTROUTING -s 10.220.5.13 -o eth1 -j SNAT 
--to-source   200.40.199.221

The problems is the router outside, not kwon the mac to  200.40.199.221, 
because my linux not reply the
MAC assigned to  200.40.199.221.
my linux have a MAC  entry to IP  200.40.199.221  equql to MAC of interface 
outside.

Help me please.!!

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem with mac address and  SNAT
  2003-07-22 21:23 problem with mac address and SNAT Javier Garza
@ 2003-07-23 13:47 ` Ramin Dousti
  0 siblings, 0 replies; 2+ messages in thread
From: Ramin Dousti @ 2003-07-23 13:47 UTC (permalink / raw)
  To: Javier Garza; +Cc: netfilter

Either assign 200.40.199.221 to that external interface, or make
sure you have a route to that address (even a blackhole route will do)
and use proxy arp.

For each of these solutions search the web as to how to set it up.

Ramin

On Tue, Jul 22, 2003 at 06:23:40PM -0300, Javier Garza wrote:

> Hy
>  I have a redhat-release-7.2-1,  with   kernel-2.4.7-10  and   
> iptables-1.2.3-1.
> 
> I want to assign a public  IP 200.40.199.221  to my PCs for access to 
> internet,
> and the interface outside  is 200.40.199.220.
> 
>       iptables -t nat -A POSTROUTING -s 10.220.5.13 -o eth1 -j SNAT 
> --to-source   200.40.199.221
> 
> The problems is the router outside, not kwon the mac to  200.40.199.221, 
> because my linux not reply the
> MAC assigned to  200.40.199.221.
> my linux have a MAC  entry to IP  200.40.199.221  equql to MAC of interface 
> outside.
> 
> Help me please.!!
> 
> _________________________________________________________________
> Charla con tus amigos en línea mediante MSN Messenger: 
> http://messenger.yupimsn.com/
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-23 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-22 21:23 problem with mac address and SNAT Javier Garza
2003-07-23 13:47 ` Ramin Dousti

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.