Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nano /etc/network/interfaces
- source /etc/network/interfaces.d/*
- # The loopback network interface
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet manual
- # Most na eth0
- auto br0
- allow-hotplug br0
- iface br0 inet dhcp
- bridge_ports eth0
- bridge_stp off
- bridge_fd 0
- bridge_maxwait 0
- root@serv-wuw:/home/serv# ifconfig
- br0 Link encap:Ethernet HWaddr 4c:72:b9:57:94:ad
- inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::4e72:b9ff:fe57:94ad/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:86 errors:0 dropped:0 overruns:0 frame:0
- TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:7070 (6.9 KiB) TX bytes:10544 (10.2 KiB)
- eth0 Link encap:Ethernet HWaddr 4c:72:b9:57:94:ad
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:12417 errors:0 dropped:0 overruns:0 frame:0
- TX packets:8455 errors:0 dropped:0 overruns:0 carrier:1
- collisions:0 txqueuelen:1000
- RX bytes:1289128 (1.2 MiB) TX bytes:3127370 (2.9 MiB)
- 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:13790 errors:0 dropped:0 overruns:0 frame:0
- TX packets:13790 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:2490029 (2.3 MiB) TX bytes:2490029 (2.3 MiB)
- vnet0 Link encap:Ethernet HWaddr fe:54:00:1c:38:35
- inet6 addr: fe80::fc54:ff:fe1c:3835/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:36 errors:0 dropped:0 overruns:0 frame:0
- TX packets:860 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:500
- RX bytes:2673 (2.6 KiB) TX bytes:81976 (80.0 KiB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement