daily pastebin goal
74%
SHARE
TWEET

Untitled

a guest May 24th, 2012 16 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. br0       Link encap:Ethernet  HWaddr 00:50:56:b4:6b:a8  
  2.           inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
  3.           inet6 addr: fe80::250:56ff:feb4:6ba8/64 Scope:Link
  4.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  5.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  6.           TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
  7.           collisions:0 txqueuelen:0
  8.           RX bytes:0 (0.0 B)  TX bytes:898 (898.0 B)
  9.  
  10. eth0      Link encap:Ethernet  HWaddr 00:50:56:b4:6b:a8  
  11.           inet addr:204.94.93.3  Bcast:204.94.93.31  Mask:255.255.255.224
  12.           inet6 addr: fe80::250:56ff:feb4:6ba8/64 Scope:Link
  13.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  14.           RX packets:3142031 errors:0 dropped:52 overruns:0 frame:0
  15.           TX packets:570 errors:0 dropped:0 overruns:0 carrier:0
  16.           collisions:0 txqueuelen:1000
  17.           RX bytes:586574356 (586.5 MB)  TX bytes:121159 (121.1 KB)
  18.  
  19. eth1      Link encap:Ethernet  HWaddr 00:50:56:b4:3b:50  
  20.           inet addr:192.168.32.70  Bcast:192.168.32.255  Mask:255.255.255.0
  21.           inet6 addr: fe80::250:56ff:feb4:3b50/64 Scope:Link
  22.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  23.           RX packets:16156 errors:0 dropped:21 overruns:0 frame:0
  24.           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
  25.           collisions:0 txqueuelen:1000
  26.           RX bytes:1053547 (1.0 MB)  TX bytes:468 (468.0 B)
  27.  
  28. eth0.1    Link encap:Ethernet  HWaddr 00:50:56:b4:6b:a8  
  29.           inet6 addr: fe80::250:56ff:feb4:6ba8/64 Scope:Link
  30.           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
  31.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  32.           TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
  33.           collisions:0 txqueuelen:0
  34.           RX bytes:0 (0.0 B)  TX bytes:1642 (1.6 KB)
  35.  
  36. lo        Link encap:Local Loopback  
  37.           inet addr:127.0.0.1  Mask:255.0.0.0
  38.           inet6 addr: ::1/128 Scope:Host
  39.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  40.           RX packets:84 errors:0 dropped:0 overruns:0 frame:0
  41.           TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
  42.           collisions:0 txqueuelen:0
  43.           RX bytes:33289 (33.2 KB)  TX bytes:33289 (33.2 KB)
  44.  
  45. tap1      Link encap:Ethernet  HWaddr d6:fc:ba:b0:c3:e3  
  46.           inet6 addr: fe80::d4fc:baff:feb0:c3e3/64 Scope:Link
  47.           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
  48.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  49.           TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
  50.           collisions:0 txqueuelen:100
  51.           RX bytes:0 (0.0 B)  TX bytes:1642 (1.6 KB)
  52.  
  53.  
  54. and then the interfaces file....
  55.  
  56. # This file describes the network interfaces available on your system
  57. # and how to activate them. For more information, see interfaces(5).
  58.  
  59. # The loopback network interface
  60. auto lo eth0 eth1 eth0.1
  61. iface lo inet loopback
  62.  
  63. # The primary network interface
  64. iface eth0 inet static
  65.         address 204.94.93.3
  66.         netmask 255.255.255.224
  67.         network 204.94.93.0
  68.         broadcast 204.94.93.31
  69.         gateway 204.94.93.1
  70.         dns-nameservers 8.8.8.8
  71.         post-up iptables-restore < /etc/iptables.up.rules
  72.         # dns-* options are implemented by the resolvconf package, if installed
  73.  
  74. iface eth1 inet static
  75.         address 192.168.32.70
  76.         netmask 255.255.255.0
  77.         broadcast 192.168.32.255
  78.         network 192.168.32.0
  79.  
  80.  
  81.  
  82. iface eth0.1 inet static
  83.         address 10.0.0.1
  84.         netmask 255.255.255.0
  85.         broadcast 10.0.0.255
  86.         network 10.0.0.0
  87.         pre-up vconfig add eth0 1
  88.         post-down vconfig rem eth0 1
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top