Keresés

Hirdetés

Új hozzászólás Aktív témák

  • direwolf

    őstag

    válasz Headless #64293 üzenetére

    Ez így bridge, vagy vlan?:

    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'
    option gateway '192.168.1.254'
    option dns '192.168.1.254'
    option delegate '0'

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

    config interface 'wan6'
    option ifname '@wan'
    option _orig_ifname '@wan'
    option _orig_bridge 'false'
    option proto 'dhcp'
    option auto '0'

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

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

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

    Az option type 'bridge' miatt kérdem.

    [ Szerkesztve ]

    "I've seen things you people wouldn't believe"

Új hozzászólás Aktív témák