Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /etc/network/interfaces
- # Wired adapter #1
- iface eth0 inet static
- address 192.168.2.155
- netmask 255.255.255.0
- gateway 192.168.0.155
- bridge_ports eth0 eth1
- # iface eth0 inet dhcp
- # hwaddress ether # if you want to set MAC manually
- # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
- #
- # Wired adapter #2
- auto eth1
- iface eth1 inet dhcp
- # hwaddress ether # if you want to set MAC manually
- # pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
- #
- # Wireless adapter #1
- #auto wlan0
- # allow-hotplug wlan0
- # iface wlan0 inet dhcp
- # wpa-ssid SSID
- # wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- # to generate proper encrypted key: wpa_passphrase yourSSID yourpassword
- #
- # Local loopback
- auto lo
- iface lo inet loopback
- #The loopback network interface
- #auto lo eth1 eth0
- #iface lo inet loopback
- # allow-hotplug eth0
- ------------
- _----------_
- ifconfig -a
- bond0 Link encap:Ethernet HWaddr 02:cc:79:f2:86:e6
- BROADCAST MASTER MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- eth0 Link encap:Ethernet HWaddr d0:63:b4:00:4d:f2
- BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- eth1 Link encap:Ethernet HWaddr 00:00:10:00:30:dd
- inet addr:192.168.0.155 Bcast:192.168.0.255 Mask:255.255.255.0
- inet6 addr: fe80::200:10ff:fe00:30dd/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:4655 errors:0 dropped:0 overruns:0 frame:0
- TX packets:348 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:502575 (490.7 KiB) TX bytes:37230 (36.3 KiB)
- 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:65536 Metric:1
- RX packets:6 errors:0 dropped:0 overruns:0 frame:0
- TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:504 (504.0 B) TX bytes:504 (504.0 B)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement