Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- derek@server:/etc/network/if-down.d$ cat /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto bond0
- iface bond0 inet manual
- slaves eth0 eth1
- auto br0
- iface br0 inet static
- address 192.168.0.99
- network 192.168.0.0
- netmask 255.255.255.0
- broadcast 192.168.0.255
- gateway 192.168.0.1
- bridge_ports bond0
- bridge_fd 9
- bridge_hello 2
- bridge_maxage 12
- bridge_stp off
- derek@server:/etc/network/if-down.d$ ifconfig
- bond0 Link encap:Ethernet HWaddr 00:30:48:fc:51:96
- inet6 addr: fe80::230:48ff:fefc:5196/64 Scope:Link
- UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
- RX packets:123066 errors:0 dropped:0 overruns:0 frame:0
- TX packets:81990 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:28863150 (28.8 MB) TX bytes:69393307 (69.3 MB)
- br0 Link encap:Ethernet HWaddr 00:30:48:fc:51:96
- inet addr:192.168.0.99 Bcast:192.168.0.255 Mask:255.255.255.0
- inet6 addr: fe80::230:48ff:fefc:5196/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:118950 errors:0 dropped:0 overruns:0 frame:0
- TX packets:44203 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:26381421 (26.3 MB) TX bytes:66876808 (66.8 MB)
- eth0 Link encap:Ethernet HWaddr 00:30:48:fc:51:96
- UP BROADCAST RUNNING PROMISC SLAVE MULTICAST MTU:1500 Metric:1
- RX packets:74776 errors:0 dropped:0 overruns:0 frame:0
- TX packets:37050 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:24949479 (24.9 MB) TX bytes:15778471 (15.7 MB)
- Memory:faae0000-fab00000
- eth1 Link encap:Ethernet HWaddr 00:30:48:fc:51:96
- inet addr:192.168.0.145 Bcast:192.168.0.255 Mask:255.255.255.0
- UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
- RX packets:48290 errors:0 dropped:0 overruns:0 frame:0
- TX packets:44940 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:3913671 (3.9 MB) TX bytes:53614836 (53.6 MB)
- Memory:fabe0000-fac00000
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:970 errors:0 dropped:0 overruns:0 frame:0
- TX packets:970 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:79108 (79.1 KB) TX bytes:79108 (79.1 KB)
- virbr0 Link encap:Ethernet HWaddr 2e:d2:a2:87:17:54
- inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
- inet6 addr: fe80::2cd2:a2ff:fe87:1754/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:208 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:42406 (42.4 KB)
- derek@server:/etc/network/if-down.d$ ip route
- 192.168.0.0/24 dev br0 proto kernel scope link src 192.168.0.99
- 192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.145 metric 1
- 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
- 169.254.0.0/16 dev br0 scope link metric 1000
- default via 192.168.0.1 dev eth1 proto static
- default via 192.168.0.1 dev br0 metric 100
- derek@server:/etc/network/if-down.d$ route
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 192.168.0.0 * 255.255.255.0 U 0 0 0 br0
- 192.168.0.0 * 255.255.255.0 U 1 0 0 eth1
- 192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
- link-local * 255.255.0.0 U 1000 0 0 br0
- default pfsense.local 0.0.0.0 UG 0 0 0 eth1
- default pfsense.local 0.0.0.0 UG 100 0 0 br0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement