• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/netifd/config/network

  1 # Copyright (C) 2006 OpenWrt.org
  2 
  3 config interface loopback
  4         option ifname   lo
  5         option proto    static
  6         option ipaddr   127.0.0.1
  7         option netmask  255.0.0.0
  8 
  9 config device
 10         option name     br-lan
 11         option type     bridge
 12         list ifname     eth0.1
 13         list ifname     eth0.2
 14         list ifname     bond0
 15         option mtu      1500
 16 
 17 config device
 18         option name             dummy
 19 
 20 config device
 21         option name     bond0
 22         option type bonding
 23         list ports eth0.123
 24         list ports eth0.124
 25 
 26 config interface lan
 27         option ifname   'br-lan'
 28         option proto    static
 29         option ipaddr   192.168.1.1
 30         option netmask  255.255.255.0
 31 
 32 config interface dummy
 33         option ifname   eth0.4
 34         option mtu              1500
 35         option proto    none
 36 
 37 config interface lan2
 38         option ifname   "eth0.3 eth0.5"
 39         option type             bridge
 40         option proto    static
 41         option ipaddr   192.168.1.1
 42         option netmask  255.255.255.0
 43         option gateway  192.168.1.2
 44         option dns              '192.168.1.5 192.168.1.6'
 45 
 46 config interface wan
 47         option proto    pppoe
 48         option ifname   br-lan2
 49         option username foo
 50         option password bar
 51 
 52 config alias wan1
 53         option proto    static
 54         option interface        wan
 55         option ipaddr   192.168.99.1
 56         option ip6addr  2a01:4f8:131:30e2::2/59
 57         option netmask  255.255.255.0
 58         option gateway  192.168.99.3
 59 
 60 config route6
 61         option interface wan1
 62         option target ::0/0
 63         option gateway 2a01:4f8:131:30e2::1
 64 
 65 config interface wlan
 66         option proto    static
 67         option ipaddr   192.168.2.1
 68         option netmask  255.255.255.0
 69 
 70 config interface pptp
 71         option proto    pptp
 72         option server   1.1.1.1
 73         option peerdns  0
 74         option dns              192.168.10.1
 75 
 76 config route
 77         option target   192.168.0.1
 78         option netmask  24
 79         option gateway  192.168.5.2
 80         option interface wan
 81 

This page was automatically generated by LXR 0.3.1.  •  OpenWrt