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

  • donmackó

    őstag

    válasz Headless #12468 üzenetére

    Én csak a saját rendszeremből indultam ki. Nálam switch módban van. Router üzemben ha lan-lan kötöttem össze, úgy nem volt még elérhető sem.

    Nálam így néz ki az etc/config/network tartalma:

    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 'fd86:ac08:a114::/48'

    config interface 'lan'
    option force_link '1'
    option type 'bridge'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option ifname 'eth0.1 eth0.2'
    option ipaddr '192.168.0.2'
    option gateway '192.168.0.1'
    option proto 'dhcp'
    option hostname 'TpLink'
    option peerdns '0'
    option dns '8.8.8.8 8.8.4.4'

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

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

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

    Release the cable hounds!

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