View Single Post
  #3  
Old 12th June 2007, 16:52
ko0nz ko0nz is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

static IP: 172.20.2.160
gateway: 172.20.2.1

# cat /etc/network/interfaces

auto lo
iface lo inet loopback

iface eth0 inet static
address 172.20.2.160
netmask 255.255.255.0
gateway 172.20.2.1
auto eth0

eth0 Lien encap:Ethernet HWaddr 00:0F:FE:6B:57:32
inet adr:172.20.2.160 Bcast:172.20.2.255 Masque:255.255.255.0
adr inet6: fe80::20f:feff:fe6b:5732/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:140 (140.0 b) TX bytes:3370 (3.2 KiB)

lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:286 errors:0 dropped:0 overruns:0 frame:0
TX packets:286 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:23600 (23.0 KiB) TX bytes:23600 (23.0 KiB)

peth0 Lien encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet adr:169.254.249.7 Bcast:169.254.255.255 Masque:255.255.0.0
adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:322 errors:0 dropped:481 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:100
RX bytes:53172 (51.9 KiB) TX bytes:7674 (7.4 KiB)
Adresse de base:0x1100 Mémoire:f0500000-f0520000

vif0.0 Lien encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:3370 (3.2 KiB) TX bytes:210 (210.0 b)

xenbr0 Lien encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:2922 (2.8 KiB) TX bytes:168 (168.0 b)

Table de routage IP du noyau
Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface
172.20.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 peth0
0.0.0.0 172.20.2.1 0.0.0.0 UG 0 0 0 eth0
Reply With Quote