Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ifconfig
- eth0 Link encap:Ethernet HWaddr 00:19:66:86:ef:6d
- inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0
- inet6 addr: fe80::219:66ff:fe86:ef6d/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:658 errors:0 dropped:0 overruns:0 frame:0
- TX packets:286 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:216972 (216.9 KB) TX bytes:40082 (40.0 KB)
- Interrupt:30 Base address:0x2000
- 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:8 errors:0 dropped:0 overruns:0 frame:0
- TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)
- ******************************************* /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
- auto eth1
- iface eth1 inet static
- address 192.168.2.25
- netmask 255.255.255.0
- gateway 192.168.2.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement