SHARE
TWEET

Untitled

a guest Oct 20th, 2013 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ===/etc/config/network===
  2. config 'interface' 'loopback'
  3.         option 'ifname' 'lo'
  4.         option 'proto' 'static'
  5.         option 'ipaddr' '127.0.0.1'
  6.         option 'netmask' '255.0.0.0'
  7.  
  8. config 'interface' 'lan'
  9.         option type 'bridge'
  10.         option ifname 'eth0.1 eth0.2'
  11.         option proto 'static'
  12.         option ipaddr   192.168.1.30
  13.         option netmask 255.255.255.0
  14.  
  15. ===ifconfig===
  16. br-lan    Link encap:Ethernet  HWaddr C4:93:00:00:11:18  
  17.           inet addr:192.168.1.30  Bcast:192.168.1.255  Mask:255.255.255.0
  18.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  19.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  20.           TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
  21.           collisions:0 txqueuelen:0
  22.           RX bytes:0 (0.0 B)  TX bytes:2016 (1.9 KiB)
  23.  
  24. eth0      Link encap:Ethernet  HWaddr C4:93:00:00:11:18  
  25.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  26.           RX packets:20 errors:0 dropped:2 overruns:0 frame:0
  27.           TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
  28.           collisions:0 txqueuelen:1000
  29.           RX bytes:3932 (3.8 KiB)  TX bytes:6144 (6.0 KiB)
  30.           Interrupt:5
  31.  
  32. eth0.1    Link encap:Ethernet  HWaddr C4:93:00:00:11:18  
  33.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  34.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  35.           TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
  36.           collisions:0 txqueuelen:0
  37.           RX bytes:0 (0.0 B)  TX bytes:2016 (1.9 KiB)
  38.  
  39. eth0.2    Link encap:Ethernet  HWaddr C4:93:00:00:11:18  
  40.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  41. root@OpenWrt:/# ifconfig
  42. br-lan    Link encap:Ethernet  HWaddr C4:93:00:00:11:18  
  43.           inet addr:192.168.1.30  Bcast:192.168.1.255  Mask:255.255.255.0
  44.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  45.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  46.           TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
  47.           collisions:0 txqueuelen:0
  48.           RX bytes:0 (0.0 B)  TX bytes:2016 (1.9 KiB)
  49.  
  50. eth0      Link encap:Ethernet  HWaddr C4:93:00:00:11:18  
  51.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  52.           RX packets:20 errors:0 dropped:2 overruns:0 frame:0
  53.           TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
  54.           collisions:0 txqueuelen:1000
  55.           RX bytes:3932 (3.8 KiB)  TX bytes:6144 (6.0 KiB)
  56.           Interrupt:5
  57.  
  58. eth0.1    Link encap:Ethernet  HWaddr C4:93:00:00:11:18  
  59.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  60.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  61.           TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
  62.           collisions:0 txqueuelen:0
  63.           RX bytes:0 (0.0 B)  TX bytes:2016 (1.9 KiB)
  64.  
  65. eth0.2    Link encap:Ethernet  HWaddr C4:93:00:00:11:18  
  66.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  67.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  68.           TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
  69.           collisions:0 txqueuelen:0
  70.           RX bytes:0 (0.0 B)  TX bytes:2016 (1.9 KiB)
  71.  
  72. lo        Link encap:Local Loopback  
  73.           inet addr:127.0.0.1  Mask:255.0.0.0
  74.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  75.           RX packets:42 errors:0 dropped:0 overruns:0 frame:0
  76.           TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
  77.           collisions:0 txqueuelen:0
  78.           RX bytes:4704 (4.5 KiB)  TX bytes:4704 (4.5 KiB)
  79.  
  80. wlan0     Link encap:Ethernet  HWaddr C4:93:00:00:11:1A  
  81.           UP BROADCAST MULTICAST  MTU:1500  Metric:1
  82.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  83.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  84.           collisions:0 txqueuelen:32
  85.           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
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
 
Top