Hi, I am curious on why NAT is not possible. The basic requirement of NAT is look at the IP addresses and TCP ports, rewrite those, then install the reverse flow similarly. This should be doable in the most basic of OpenFlow switches. Are you trying to do this in a proactive manner?
Regards KK On 19 July 2013 14:08, Shabbir Ahmed <[email protected]> wrote: > NAT is not yet possible, u can use iptables for NAT as one interface out > of of-datapath. > > are you trying it on mininet or some other platform? > > > On Thu, Jul 18, 2013 at 11:41 PM, Murphy McCauley < > [email protected]> wrote: > >> 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). >> >> I don't think we have a straight NAT component example, though >> misc.ip_loadbalancer is maybe not miles and miles from it. >> >> Hope that helps. Apologies for the brevity, but I'm busy today. :) >> >> -- Murphy >> >> On Jul 18, 2013, at 9:49 AM, Sadia Bashir wrote: >> >> > 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! >> >> >
