Advertisement
Guest User

eth0:1

a guest
Nov 7th, 2011
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.01 KB | None | 0 0
  1. auto lo
  2. iface lo inet loopback
  3.  
  4. auto eth0
  5. iface eth0 inet static
  6. address 192.168.1.211
  7. netmask 255.255.255.0
  8. gateway 192.168.1.254
  9.  
  10. auto eth0:0
  11. iface eth0:0 inet static
  12. address 192.168.20.1
  13. netmask 255.255.255.0
  14.  
  15. root@Gaby-UB11:/home/gabriel# /etc/init.d/networking restart * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
  16.  * Reconfiguring network interfaces...                                          ssh stop/waiting
  17. ssh start/running, process 8393
  18. ssh stop/waiting
  19. ssh start/running, process 8473
  20.                                                                          [ OK ]
  21. root@Gaby-UB11:/home/gabriel#
  22.  
  23. root@Gaby-UB11:/home/gabriel# ifconfig -a
  24. eth0      Link encap:Ethernet  HWaddr 00:25:b3:6a:10:cc  
  25.           inet addr:192.168.1.211  Bcast:0.0.0.0  Mask:255.255.255.0
  26.           inet6 addr: fe80::225:b3ff:fe6a:10cc/64 Scope:Link
  27.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  28.           RX packets:1138581 errors:0 dropped:0 overruns:0 frame:0
  29.           TX packets:1088242 errors:0 dropped:0 overruns:0 carrier:3
  30.           collisions:0 txqueuelen:1000
  31.           RX bytes:1291070818 (1.2 GB)  TX bytes:95946148 (95.9 MB)
  32.           Interrupt:42
  33.  
  34. eth2      Link encap:Ethernet  HWaddr 00:26:5e:3d:57:5e  
  35.           BROADCAST MULTICAST  MTU:1500  Metric:1
  36.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  37.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  38.           collisions:0 txqueuelen:1000
  39.           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
  40.           Interrupt:16 Base address:0xc000
  41.  
  42. lo        Link encap:Local Loopback  
  43.           inet addr:127.0.0.1  Mask:255.0.0.0
  44.           inet6 addr: ::1/128 Scope:Host
  45.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  46.           RX packets:3850 errors:0 dropped:0 overruns:0 frame:0
  47.           TX packets:3850 errors:0 dropped:0 overruns:0 carrier:0
  48.           collisions:0 txqueuelen:0
  49.           RX bytes:272328 (272.3 KB)  TX bytes:272328 (272.3 KB)
  50.  
  51.  
  52.  
  53.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement