openwrt에서 openflow에 대한 네트워크 구성을 설정하는 방법은 무엇입니까?

openwrt에서 openflow에 대한 네트워크 구성을 설정하는 방법은 무엇입니까?

Openflow 1.3을 사용하여 사용자 정의 빌드 Openwrt(장벽 차단기)를 만들었고 대역 외 모드에서 ryo simple_switch_13 컨트롤러에 연결할 수 있었습니다. 이더넷 포트 번호 3과 4는 오픈플로우 포트로 설정되어 있지만 장치를 이 포트에 연결하고 IP를 수동으로 설정하면 192.168.1.1 또는 동일한 네트워크의 다른 장치에 ping을 보낼 수 없습니다!
여기서 문제는 무엇입니까? Openflow는 괜찮은 것 같고 이러한 포트는 Openflow 포트로 설정되지 않은 경우 정상적으로 작동합니다. 힌트를 좀 주세요.

openwrt 내부의 구성 파일은 다음과 같습니다.

/etc/config/네트워크

config switch 'eth0'                                                                
    option name 'eth0'                                                          
    option reset '1'                                                            
    option enable_vlan '1'                                                      

config switch_vlan                                                                  
    option device 'eth0'                                                        
    option vlan '1'                                                             
    option ports '1 2 8t'                                                       

config switch_vlan                                                                  
    option device 'eth0'                                                        
    option vlan '2'                                                             
    option ports '0 8t'                                                         

config interface 'loopback'                                                         
    option ifname 'lo'                                                          
    option proto 'static'                                                       
    option ipaddr '127.0.0.1'                                                   
    option netmask '255.0.0.0'                                                  

config globals 'globals'                                                            
    option ula_prefix 'fdbe:80c3:7cea::/48'                                     

config interface 'lan'                                                              
    option ifname 'eth0.1'                                                      
    option force_link '1'                                                       
    option type 'bridge'                                                        
    option proto 'static'                                                       
    option ipaddr '192.168.1.1'                                                 
    option netmask '255.255.255.0'                                              
    option ip6assign '60'                                                       

config interface 'wan'                                                              
    option ifname 'eth0.2'                                                      
    option proto 'dhcp'                                                         

config interface 'wan6'                                                             
    option ifname '@wan'                                                        
    option proto 'dhcpv6'                                                       

config interface                                                                    
    option 'ifname' 'eth0.4'                                                    
    option 'proto' 'static'                                                     

config interface                                                                    
    option 'ifname' 'eth0.3'                                                    
    option 'proto' 'static'                                                     

/etc/config/openflow 파일:

config 'ofswitch'
    option 'dp' 'dp0'
    option 'dpid' '000000000001'
    option 'ofports' 'eth0.3 eth0.4'
    option 'ofctl' 'tcp:CONTROLLER_IP:6633'
    option 'mode'  'outofband'

Ryu simple_switch_13은 대역 외 컨트롤러로 실행되고 있으며 장치는 Li nksys E3000입니다. 감사해요.

관련 정보