Wbm2009v2/NodeConfig

From Hackerspace Brussels
Jump to: navigation, search

Parent: Wbm2009v2

Node Config[edit]

/etc/config/network[edit]

  • configure interface alias on the node, wired in on the local LAN (ask steef for a fix-ip addr)
uci set network.zlan.ipaddr=192.168.42.151
uci set network.zlan.netmask=255.255.255.0
uci set network.zlan.gateway=192.168.42.42
uci set network.zlan.dns=192.168.42.42

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

config 'interface' 'lan'
        option 'ifname'  'eth0'
        option 'proto'   'static'
        option 'ipaddr'  '192.168.1.1'
        option 'netmask' '255.255.255.0'

config 'interface' 'wlan'
        option 'proto'   'static'
        option 'netmask' '255.255.255.0'
        option 'ipaddr'  '172.16.32.1'

config 'alias' 'zlan'
        option 'interface' 'lan'
        option 'proto'     'static'
        option 'ipaddr'    '10.20.30.1'
        option 'netmask'   '255.255.255.0'