Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@fekete1:/home/diak# ifconfig
- eth0 Link encap:Ethernet HWaddr 08:00:27:54:9b:d9
- inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::a00:27ff:fe54:9bd9/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:540 errors:0 dropped:0 overruns:0 frame:0
- TX packets:546 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:482531 (471.2 KiB) TX bytes:106112 (103.6 KiB)
- eth1 Link encap:Ethernet HWaddr 08:00:27:cf:b8:5c
- inet addr:10.10.10.1 Bcast:10.255.255.255 Mask:255.0.0.0
- inet6 addr: fe80::a00:27ff:fecf:b85c/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:58 errors:0 dropped:0 overruns:0 frame:0
- TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:10262 (10.0 KiB) TX bytes:12007 (11.7 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:16436 Metric:1
- RX packets:12 errors:0 dropped:0 overruns:0 frame:0
- TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:760 (760.0 B) TX bytes:760 (760.0 B)
- root@fekete1:/home/diak# ifconfig eth1 0.0.0.0 down
- root@fekete1:/home/diak# ifconfig eth1 up
- root@fekete1:/home/diak# ifconfig eth1 10.10.10.1/24
- root@fekete1:/home/diak# ifconfig
- eth0 Link encap:Ethernet HWaddr 08:00:27:54:9b:d9
- inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::a00:27ff:fe54:9bd9/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:551 errors:0 dropped:0 overruns:0 frame:0
- TX packets:587 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:483515 (472.1 KiB) TX bytes:118470 (115.6 KiB)
- eth1 Link encap:Ethernet HWaddr 08:00:27:cf:b8:5c
- inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
- inet6 addr: fe80::a00:27ff:fecf:b85c/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:60 errors:0 dropped:0 overruns:0 frame:0
- TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:10664 (10.4 KiB) TX bytes:18039 (17.6 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:16436 Metric:1
- RX packets:12 errors:0 dropped:0 overruns:0 frame:0
- TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:760 (760.0 B) TX bytes:760 (760.0 B)
- root@fekete1:/home/diak#
Add Comment
Please, Sign In to add comment