Advertisement
Guest User

networktrouble

a guest
Oct 9th, 2011
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.11 KB | None | 0 0
  1. derek@server:/etc/network/if-down.d$ cat /etc/network/interfaces
  2. auto lo
  3. iface lo inet loopback
  4.  
  5. auto bond0
  6. iface bond0 inet manual
  7.     slaves eth0 eth1
  8.  
  9. auto br0
  10. iface br0 inet static
  11.     address 192.168.0.99
  12.     network 192.168.0.0
  13.     netmask 255.255.255.0
  14.     broadcast 192.168.0.255
  15.     gateway 192.168.0.1
  16.     bridge_ports bond0
  17.     bridge_fd 9
  18.     bridge_hello 2
  19.     bridge_maxage 12
  20.     bridge_stp off
  21.  
  22. derek@server:/etc/network/if-down.d$ ifconfig
  23. bond0     Link encap:Ethernet  HWaddr 00:30:48:fc:51:96  
  24.           inet6 addr: fe80::230:48ff:fefc:5196/64 Scope:Link
  25.           UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
  26.           RX packets:123066 errors:0 dropped:0 overruns:0 frame:0
  27.           TX packets:81990 errors:0 dropped:0 overruns:0 carrier:0
  28.           collisions:0 txqueuelen:0
  29.           RX bytes:28863150 (28.8 MB)  TX bytes:69393307 (69.3 MB)
  30.  
  31. br0       Link encap:Ethernet  HWaddr 00:30:48:fc:51:96  
  32.           inet addr:192.168.0.99  Bcast:192.168.0.255  Mask:255.255.255.0
  33.           inet6 addr: fe80::230:48ff:fefc:5196/64 Scope:Link
  34.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  35.           RX packets:118950 errors:0 dropped:0 overruns:0 frame:0
  36.           TX packets:44203 errors:0 dropped:0 overruns:0 carrier:0
  37.           collisions:0 txqueuelen:0
  38.           RX bytes:26381421 (26.3 MB)  TX bytes:66876808 (66.8 MB)
  39.  
  40. eth0      Link encap:Ethernet  HWaddr 00:30:48:fc:51:96  
  41.           UP BROADCAST RUNNING PROMISC SLAVE MULTICAST  MTU:1500  Metric:1
  42.           RX packets:74776 errors:0 dropped:0 overruns:0 frame:0
  43.           TX packets:37050 errors:0 dropped:0 overruns:0 carrier:0
  44.           collisions:0 txqueuelen:1000
  45.           RX bytes:24949479 (24.9 MB)  TX bytes:15778471 (15.7 MB)
  46.           Memory:faae0000-fab00000
  47.  
  48. eth1      Link encap:Ethernet  HWaddr 00:30:48:fc:51:96  
  49.           inet addr:192.168.0.145  Bcast:192.168.0.255  Mask:255.255.255.0
  50.           UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  51.           RX packets:48290 errors:0 dropped:0 overruns:0 frame:0
  52.           TX packets:44940 errors:0 dropped:0 overruns:0 carrier:0
  53.           collisions:0 txqueuelen:1000
  54.           RX bytes:3913671 (3.9 MB)  TX bytes:53614836 (53.6 MB)
  55.           Memory:fabe0000-fac00000
  56.  
  57. lo        Link encap:Local Loopback  
  58.           inet addr:127.0.0.1  Mask:255.0.0.0
  59.           inet6 addr: ::1/128 Scope:Host
  60.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  61.           RX packets:970 errors:0 dropped:0 overruns:0 frame:0
  62.           TX packets:970 errors:0 dropped:0 overruns:0 carrier:0
  63.           collisions:0 txqueuelen:0
  64.           RX bytes:79108 (79.1 KB)  TX bytes:79108 (79.1 KB)
  65.  
  66. virbr0    Link encap:Ethernet  HWaddr 2e:d2:a2:87:17:54  
  67.           inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
  68.           inet6 addr: fe80::2cd2:a2ff:fe87:1754/64 Scope:Link
  69.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  70.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  71.           TX packets:208 errors:0 dropped:0 overruns:0 carrier:0
  72.           collisions:0 txqueuelen:0
  73.           RX bytes:0 (0.0 B)  TX bytes:42406 (42.4 KB)
  74.  
  75. derek@server:/etc/network/if-down.d$ ip route
  76. 192.168.0.0/24 dev br0  proto kernel  scope link  src 192.168.0.99
  77. 192.168.0.0/24 dev eth1  proto kernel  scope link  src 192.168.0.145  metric 1
  78. 192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
  79. 169.254.0.0/16 dev br0  scope link  metric 1000
  80. default via 192.168.0.1 dev eth1  proto static
  81. default via 192.168.0.1 dev br0  metric 100
  82. derek@server:/etc/network/if-down.d$ route
  83. Kernel IP routing table
  84. Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  85. 192.168.0.0     *               255.255.255.0   U     0      0        0 br0
  86. 192.168.0.0     *               255.255.255.0   U     1      0        0 eth1
  87. 192.168.122.0   *               255.255.255.0   U     0      0        0 virbr0
  88. link-local      *               255.255.0.0     U     1000   0        0 br0
  89. default         pfsense.local   0.0.0.0         UG    0      0        0 eth1
  90. default         pfsense.local   0.0.0.0         UG    100    0        0 br0
  91.  
  92.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement