SHARE
TWEET

Untitled

a guest Oct 9th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #-----------------------------------
  2. #  /etc/config/network
  3. #-----------------------------------
  4.  
  5. config interface loopback
  6.     option ifname   lo
  7.     option proto    static
  8.     option ipaddr   127.0.0.1
  9.     option netmask  255.0.0.0
  10.  
  11. config interface wan
  12.  
  13.     option ifname   eth0.1
  14.     option proto    static
  15.     option ipaddr   192.168.1.100
  16.     option netmask  255.255.255.0
  17.     option gateway  192.168.1.1
  18.     option dns      192.168.1.1
  19.  
  20. config interface lan
  21.     option ifname   eth0.2
  22.     option proto    static
  23.     option ipaddr   192.168.2.1
  24.     option netmask  255.255.255.0
  25.     option gateway  192.168.1.1
  26.  
  27. config switch eth0
  28.     option enable   1
  29.     option reset    1
  30.     option enable_vlan 1
  31.    
  32. config switch_vlan
  33.     option device   eth0
  34.     option vlan     1
  35.     option ports    '0 5t'
  36.    
  37. config switch_vlan
  38.     option device   eth0
  39.     option vlan     2
  40.     option ports    '1 2 3 5t'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top