mazevedo
(usa CentOS)
Enviado em 24/06/2015 - 11:44h
cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 192.168.0.246
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:19:BB:CA:36:34
TYPE=Ethernet
UUID=7686a87a-d609-46ac-ac45-da363002a82c
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
IPADDR=192.168.0.25
PREFIX=24
GATEWAY=192.168.0.246
DEFROUTE=YES
IPV4_FAILURE_FATAL=YES
IPV6INIT=no
DNS1=8.8.8.8
DNS2=192.168.0.246
NAME="System eth0"
route
Tabela de Roteamento IP do Kernel
Destino Roteador MáscaraGen. Opções Métrica Ref Uso Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
default 192.168.0.246 0.0.0.0 UG 0 0 0 eth0
ifconfig
eth0 Link encap:Ethernet Endereço de HW 00:19:BB:CA:36:34
inet end.: 192.168.0.25 Bcast:192.168.0.255 Masc:255.255.255.0
endereço inet6: fe80::219:bbff:feca:3634/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:27495 errors:0 dropped:0 overruns:0 frame:0
TX packets:1124 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:2162649 (2.0 MiB) TX bytes:136661 (133.4 KiB)
lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACKRUNNING MTU:65536 Métrica:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)