# ifconfig logo após dar boot na VMWare:
eth0 Encapsulamento do Link: Ethernet Endereço de HW 00:0C:29:76:81:5D
inet end.: 10.0.1.144 Bcast:10.255.255.255 Masc:255.0.0.0
endereço inet6: fe80::20c:29ff:fe76:815d/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:1683 errors:0 dropped:0 overruns:0 frame:0
TX packets:643 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:295251 (288.3 KiB) TX bytes:119991 (117.1 KiB)
IRQ:18 Endereço de E/S:0x1080
lo Encapsulamento do Link: Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACKRUNNING MTU:16436 Métrica:1
RX packets:653 errors:0 dropped:0 overruns:0 frame:0
TX packets:653 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:57208 (55.8 KiB) TX bytes:57208 (55.8 KiB)
---------------------------------------------------------------------------------------
# dhclient:
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/products/DHCPsit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/sit0/
Sending on LPF/sit0/
Listening on LPF/lo/
Sending on LPF/lo/
Listening on LPF/eth0/00:0c:29:76:81:5d
Sending on LPF/eth0/00:0c:29:76:81:5d
Sending on Socket/fallback
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 10.0.5.8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.0.5.8
bound to 10.0.1.144 -- renewal in 83174 seconds.
------------------------------------------------------------------------------------------------------
# ifconfig após dhclient:
eth0 Encapsulamento do Link: Ethernet Endereço de HW 00:0C:29:76:81:5D
inet end.: 10.0.1.144 Bcast:10.255.255.255 Masc:255.0.0.0
endereço inet6: fe80::20c:29ff:fe76:815d/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:2113 errors:0 dropped:0 overruns:0 frame:0
TX packets:650 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:345149 (337.0 KiB) TX bytes:121029 (118.1 KiB)
IRQ:18 Endereço de E/S:0x1080
lo Encapsulamento do Link: Loopback Local
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACKRUNNING MTU:16436 Métrica:1
RX packets:920 errors:0 dropped:0 overruns:0 frame:0
TX packets:920 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:82030 (80.1 KiB) TX bytes:82030 (80.1 KiB)
sit0 Encapsulamento do Link: IPv6 sobre IPv4
endereço inet6: ::10.0.1.144/96 Escopo:Compat
endereço inet6: ::127.0.0.1/96 Escopo:Desconhecido
UP RUNNING NOARP MTU:1480 Métrica:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:4 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
-----------------------------------------------------------------------------------
# route:
Tabela de Roteamento IP do Kernel
Destino Roteador MáscaraGen. Opções Métrica Ref Uso Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default fpfserver3.dom. 0.0.0.0 UG 0 0 0 eth0
Observação: fpfserver3.dom.fpf.br é o proxy da rede da empresa.
------------------------------------------------------------------------------------------
# ip route:
10.0.0.0/8 dev eth0 proto kernel scope link src 10.0.1.144
default via 10.0.5.200 dev eth0
Observação: 10.0.1.144 é o IP que o dhcp tá me servindo.
Observação2:10.0.5.200 é o IP do fpfserver3.
-------------------------------------------------------------------------------------------
# cat /etc/hosts:
127.0.0.1 localhost.localdomain localhost ubuntu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Dúvida: em /etc/hosts só devo ter o localhost mesmo?
O QUE DEVO FAZER AGORA?