Hello,
I have a ovs bridge br-ext and a vlan1012 associated to this bridge. I am 
trying to create a iptable rule that forwards the incoming packets in the 
hypervisor eth0 to a virtual machine with ip address 192.168.9.217.  I can do 
telnet from the hypervisor to 192.168.9.217 8090. But I can not do telnet from 
outside hypervisor even if I have the ip tables rule described below in the 
hypervisor. if_oam = eth0 = 10.95.80.20 so I am trying from outside the 
hypervisor telnet 10.95.80.20 8090 but it is not working.

Could you help me?

# ifconfig br-ext
br-ext    Link encap:Ethernet  HWaddr A0:36:9F:43:DB:30
          inet6 addr: fe80::a236:9fff:fe43:db30/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:437 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:35918 (35.0 Kb)  TX bytes:1776 (1.7 Kb)

# ifconfig vlan1012
vlan1012  Link encap:Ethernet  HWaddr A0:36:9F:43:DB:30
          inet addr:192.168.9.219  Bcast:192.168.9.223  Mask:255.255.255.248
          inet6 addr: fe80::a236:9fff:fe43:db30/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:724 (724.0 b)  TX bytes:528 (528.0 b)


IPTABLES="iptables -A PREROUTING -t nat -j DNAT"
$IPTABLES -p tcp --dport 8090 -i $if_oam --to 192.168.9.217:8090

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to