Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/network/interfaces
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- #NetworkManager#auto eth0
- #NetworkManager#iface eth0 inet dhcp
- //ifconfig
- /etc/network$ ifconfig
- eth0 Link encap:Ethernet HWaddr 00:25:22:b7:45:76
- inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::225:22ff:feb7:4576/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1124 errors:57 dropped:0 overruns:0 frame:49
- TX packets:817 errors:0 dropped:0 overruns:0 carrier:5
- collisions:0 txqueuelen:1000
- RX bytes:105512 (105.5 KB) TX bytes:136059 (136.0 KB)
- eth1 Link encap:Ethernet HWaddr 90:e2:ba:28:92:70
- UP 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)
- 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:1954 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1954 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:154613 (154.6 KB) TX bytes:154613 (154.6 KB)
- /etc/network$ ip addr
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
- link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
- inet 127.0.0.1/8 scope host lo
- valid_lft forever preferred_lft forever
- inet6 ::1/128 scope host
- valid_lft forever preferred_lft forever
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 00:25:22:b7:45:76 brd ff:ff:ff:ff:ff:ff
- inet 192.168.1.101/24 brd 192.168.1.255 scope global eth0
- valid_lft forever preferred_lft forever
- inet 192.168.1.102/24 brd 192.168.1.255 scope global secondary eth0
- valid_lft forever preferred_lft forever
- inet6 fe80::225:22ff:feb7:4576/64 scope link
- valid_lft forever preferred_lft forever
- 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
- link/ether 90:e2:ba:28:92:70 brd ff:ff:ff:ff:ff:ff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement