Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ihernandez@neurossd ~ $ cat /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
- #auto eth0
- #allow-hotplug eth0
- iface eth0 inet static
- address 192.168.10.11
- netmask 255.255.255.0
- ihernandez@neurossd ~ $ /sbin/ifconfig
- 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:36 errors:0 dropped:0 overruns:0 frame:0
- TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:14812 (14.4 KiB) TX bytes:14812 (14.4 KiB)
- wlan0 Link encap:Ethernet HWaddr 00:26:5e:8e:f5:a4
- inet addr:192.168.1.65 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::226:5eff:fe8e:f5a4/64 Scope:Link
- inet6 addr: 2602:30a:2eb8:de10::47/128 Scope:Global
- inet6 addr: 2602:30a:2eb8:de10:226:5eff:fe8e:f5a4/64 Scope:Global
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:134 errors:0 dropped:0 overruns:0 frame:0
- TX packets:146 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:105877 (103.3 KiB) TX bytes:23603 (23.0 KiB)
- ihernandez@neurossd ~ $ sudo ifup eth0
- ihernandez@neurossd ~ $ /sbin/ifconfig
- eth0 Link encap:Ethernet HWaddr 00:26:9e:16:ff:fe
- inet addr:192.168.10.11 Bcast:192.168.10.255 Mask:255.255.255.0
- 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:36 errors:0 dropped:0 overruns:0 frame:0
- TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:14812 (14.4 KiB) TX bytes:14812 (14.4 KiB)
- wlan0 Link encap:Ethernet HWaddr 00:26:5e:8e:f5:a4
- inet addr:192.168.1.65 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::226:5eff:fe8e:f5a4/64 Scope:Link
- inet6 addr: 2602:30a:2eb8:de10::47/128 Scope:Global
- inet6 addr: 2602:30a:2eb8:de10:226:5eff:fe8e:f5a4/64 Scope:Global
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:135 errors:0 dropped:0 overruns:0 frame:0
- TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:106017 (103.5 KiB) TX bytes:23922 (23.3 KiB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement