root@generalserver:~# sudo /etc/init.d/network-manager restart
Rather than invoking init scripts through /etc/init.d, use the service(

utility, e.g. service network-manager restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(

utility, e.g. restart network-manager
network-manager start/running, process 6993
root@generalserver:~#
root@generalserver:~# ifconfig
eth2 Link encap:Ethernet HWaddr 00:80:48:59:31:79
inet addr:192.168.0.1 Bcast:192.168.3.255 Mask:255.255.252.0
inet6 addr: fe80::280:48ff:fe59:3179/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89208 errors:0 dropped:0 overruns:0 frame:0
TX packets:96635 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44266688 (44.2 MB) TX bytes:107904148 (107.9 MB)
Interrupt:26 Base address:0x8000
eth3 Link encap:Ethernet HWaddr 00:80:48:59:31:79
inet addr:93.100.174.198 Bcast:93.100.175.255 Mask:255.255.252.0
inet6 addr: fe80::280:48ff:fe59:3179/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:226665 errors:0 dropped:0 overruns:0 frame:0
TX packets:105827 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:128634442 (128.6 MB) TX bytes:56454938 (56.4 MB)
Interrupt:16 Base address:0xcc00
eth5 Link encap:Ethernet HWaddr 00:80:48:59:ab:82
inet addr:192.168.1.1 Bcast:192.168.3.255 Mask:255.255.252.0
inet6 addr: fe80::280:48ff:fe59:ab82/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:127535 errors:0 dropped:0 overruns:0 frame:0
TX packets:152572 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10119876 (10.1 MB) TX bytes:155660281 (155.6 MB)
Interrupt:17 Base address:0xe400
lo Link encap:Локальная петля (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:2532 errors:0 dropped:0 overruns:0 frame:0
TX packets:2532 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:670653 (670.6 KB) TX bytes:670653 (670.6 KB)
root@generalserver:~#
root@generalserver:~# route -n
Таблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 255.255.255.255 UH 0 0 0 eth3
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth5
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.0.0 0.0.0.0 255.255.252.0 U 0 0 0 eth5
192.168.0.0 0.0.0.0 255.255.252.0 U 0 0 0 eth2
93.100.172.0 0.0.0.0 255.255.252.0 U 0 0 0 eth3
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth3
0.0.0.0 93.100.172.1 0.0.0.0 UG 100 0 0 eth3
root@generalserver:~#