#20092: GRE (gretap) not working
--------------------------+----------------------------------
  Reporter:  mario_lopes  |      Owner:  developers
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  Chaos Calmer (trunk)
 Component:  packages     |    Version:  Trunk
Resolution:               |   Keywords:
--------------------------+----------------------------------

Comment (by mario_lopes):

 Now it's this, with interface bridged but same problems with ip command:

 {{{
 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 'fd70:a48e:4be0::/48'

 config interface 'lan'
         option ifname 'eth0.1'
         option force_link '1'
         option proto 'static'
         option netmask '255.255.255.0'
         option ipaddr '192.168.0.250'

 config interface 'wan6'
         option ifname 'eth0.2'
         option proto 'dhcpv6'

 config switch
         option name 'switch0'
         option reset '1'
         option enable_vlan '1'
         option mirror_source_port '0'
         option mirror_monitor_port '0'
         option enable_vlan4k '1'

 config switch_vlan
         option device 'switch0'
         option vlan '1'
         option ports '2 5t'

 config switch_vlan
         option device 'switch0'
         option vlan '2'
         option ports '0 5t'

 config switch_vlan
         option device 'switch0'
         option ports '1t 5t'
         option vlan '10'

 config switch_vlan
         option device 'switch0'
         option vlan '11'
         option ports '3 4 5t'

 config switch_vlan
         option device 'switch0'
         option ports '1t 5t'
         option vlan '20'

 config switch_vlan
         option device 'switch0'
         option ports '1t 5t'
         option vlan '30'

 config interface 'WAN1'
         option proto 'static'
         option ifname 'eth0.10'
         option ipaddr 'VALID_IPv4'
         option netmask 'VALID_NETMASK'
         option gateway 'VALID_IPv4'
         option dns 'VALID_IPv4'

 config interface 'LAN2'
         option proto 'static'
         option ifname 'eth0.11'
         option ipaddr '192.168.1.1'
         option netmask '255.255.255.0'

 config interface 'WAN2'
         option _orig_ifname 'eth0.30'
         option _orig_bridge 'false'
         option proto 'dhcp'
         option hostname 'VALID_HOSTNAME'
         option type 'bridge'
         option ifname 'eth0.30 gretap0'

 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/20092#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to