<div dir="ltr"><div>NAT is not yet possible, u can use iptables for NAT as one interface out of of-datapath.<br><br></div>are you trying it on mininet or some other platform?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jul 18, 2013 at 11:41 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
samples.mixed_switches demonstrates treating different switches differently (which you'll want so that you can treat some as L2 switches and one as your NAT node).<br>
<br>
I don't think we have a straight NAT component example, though misc.ip_loadbalancer is maybe not miles and miles from it.<br>
<br>
Hope that helps. Apologies for the brevity, but I'm busy today. :)<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Murphy<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Jul 18, 2013, at 9:49 AM, Sadia Bashir wrote:<br>
<br>
> Hi everyone, I am new to pox and want to write a POX controller which will convert one of the switch from the topology to a NAT Router. Topology consists of 3 L2 switches, 1 L3 switch which POX-controller should convert to NATting device and other L2 switches are connected to the L3 switch. Each switch is connected to two hosts and it also includes two private and one public subnet. Any sample code or help will be appreciated. Thanks!<br>
<br>
</div></div></blockquote></div><br></div>