[nox-dev] Mininet BGP

2010-12-07 Thread Uday Kiran Medisetty
Hi,

I am running mininet on a VM and I am implementing a router on one of the
switches in the topology. Is it possible to send packets from a switch in
mininet to an interface on the VM? I have a peering session to a BGP server
on a tun interface on the VM. I want to route packets from switch in mininet
to global internet via this interface. Could you please let me know if there
is a way to achieve this in mininet.

Regards,
Uday
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] NOX Router

2010-12-06 Thread Uday Kiran Medisetty
Hi,

I want to implement a router using NOX. I have a topology in which Host1 is
connected to Switch1, Host2 is connected to Switch2 and both the switches
are connected to the router. When Host1 sends ICMP packet to Host2, it will
set the destination mac address as the interface on router to which switch
is connected. Now on the router, when I see that the mac address is some as
one of it's interfaces, it will check the ip address. Since the ip address
is Host2's ip address, it has to replace the mac with Host2's mac address
and forward it to switch 2.

But on the router, after I change the destination mac in packet_in_callback,
when the packet reaches switch 2, I still see the old mac address. Please
let me know if I am missing something or if there is a simpler way to change
mac address of a packet in packet_in_callback function.

Uday
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org