astronomus
(usa Outra)
Enviado em 06/09/2011 - 12:06h
Opa, na rede eu tenho aproximadamente 18 hosts, sendo servidor com o centos compartilhando a internet, e servidor dhcp e squid, 1 server win 2008 com ad e dns, e o restante sao estacoes.
tenho 2 switch e 2 access point wireless.
segue a configuração do dhcp
option domain-name "presley.local";
ddns-update-style ad-hoc;
ignore client-updates;
INTERFACES="eth2";
# Presley
subnet 192.168.0.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.0.2;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option nis-domain "presley.local";
option domain-name "presley.local";
option domain-name-servers 192.168.0.141 , 200.204.0.10 , 200.204.0.138;
option time-offset -18000;
range dynamic-bootp 192.168.0.80 192.168.0.150;
default-lease-time 21600;
max-lease-time 43200;
host estacao01.presley.local {
hardware ethernet 00:11:5B:2A:CC:0D;
fixed-address 192.168.0.97;
}
host estacao02.presley.local {
hardware ethernet 00:11:5B:38:40:46;
fixed-address 192.168.0.135;
}
host estacao03.presley.local {
hardware ethernet 00:19:B9:FB:AE:A1;
fixed-address 192.168.0.99;
}
host estacao04.presley.local {
hardware ethernet 00:19:B9:FB:AE:C2;
fixed-address 192.168.0.93;
}
host estacao05.presley.local {
hardware ethernet 00:11:5B:2A:CC:0D;
fixed-address 192.168.0.97;
}
host estacao06.presley.local {
hardware ethernet 00:1D:92:F9:94:3F;
fixed-address 192.168.0.95;
}
host estacao07.presley.local {
hardware ethernet 00:19:B9:FB:B7:F0;
fixed-address 192.168.0.143;
}
host estacao08.presley.local {
hardware ethernet 00:25:11:D8:72:0E;
fixed-address 192.168.0.91;
}
host estacao09.presley.local {
hardware ethernet 00:1A:3F:4D:15:B4;
fixed-address 192.168.0.124;
}
host ideal.presley.local {
hardware ethernet 00:21:97:04:A6:9C;
fixed-address 192.168.0.96;
}
host marcelo-pc.presley.local {
hardware ethernet 00:17:C4:87:B2:A6;
fixed-address 192.168.0.92;
}
host rubens-pc.presley.local {
hardware ethernet c4:46:19:80:95:1d;
fixed-address 192.168.0.132;
}
host nunes {
hardware ethernet 00:22:68:8A:05:86;
fixed-address 192.168.0.101;
}
host fenix.presley.local {
hardware ethernet 00:1D:7D:8A:F0:A9;
fixed-address 192.168.0.2;
}
host estacao11.presley.local {
hardware ethernet 00:26:5a:02:9d:33;
fixed-address 192.168.0.134;
}
host power.presley.local {
hardware ethernet BC:30:5B:DF:AB:DE;
fixed-address 192.168.0.141;
}
host DAP-1360 {
hardware ethernet 00:26:5A:F3:FC:2D;
fixed-address 192.168.0.104;
}
host DIR-600 {
hardware ethernet 1C:BD:B9:B9:80:6B;
fixed-address 192.168.0.122;
}
host BRW78E4008F1107 {
hardware ethernet 78:E4:00:8F:11:07;
fixed-address 192.168.0.131;
}
}
e o resultado do ifconfig.
[root@fenix ~]# ifconfig
eth0 Link encap:Ethernet Endereço de HW 00:04:75:E7:81:7C
inet end.: 192.168.1.2 Bcast:192.168.1.255 Masc:255.255.255.0
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:374458 errors:0 dropped:0 overruns:0 frame:0
TX packets:315318 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:345830302 (329.8 MiB) TX bytes:61291734 (58.4 MiB)
IRQ:233
eth1 Link encap:Ethernet Endereço de HW 00:04:75:DD:D7:1E
inet end.: 200.153.197.226 Bcast:200.153.197.255 Masc:255.255.255.192
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:1346 errors:0 dropped:0 overruns:0 frame:0
TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:120876 (118.0 KiB) TX bytes:19074 (18.6 KiB)
IRQ:217 Endereço de E/S:0x2000
eth2 Link encap:Ethernet Endereço de HW 00:1D:7D:8A:F0:A9
inet end.: 192.168.0.2 Bcast:192.168.0.255 Masc:255.255.255.0
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:302184 errors:0 dropped:0 overruns:0 frame:0
TX packets:393316 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:59823733 (57.0 MiB) TX bytes:352879051 (336.5 MiB)
IRQ:50 Endereço de E/S:0x8000
lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
UP LOOPBACKRUNNING MTU:16436 Métrica:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:900 (900.0 b) TX bytes:900 (900.0 b)
ppp0 Link encap:Protocolo Ponto-a-Ponto
inet end.: 200.232.150.101 P-a-P:200.100.88.253 Masc:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Métrica:1
RX packets:373862 errors:0 dropped:0 overruns:0 frame:0
TX packets:312862 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:3
RX bytes:337569180 (321.9 MiB) TX bytes:54259215 (51.7 MiB)
Desde ja agradeço.