Langkau ke kandungan utama

Catatan

Tunjukkan catatan dari Mac, 2011

Konfigurasi asas DHCP Relay pada Switch 3com 4500

Cth Configurasi dhcp relay. [root@localhost ~]# vi /etc/dhcpd.conf ddns-update-style interim; ignore client-updates; option domain-name-servers 202.188.0.133; shared-network name { subnet 192.168.0.0 netmask 255.255.255.0 { option routers 192.168.0.240; range 192.168.0.10 192.168.0.50; } subnet 192.168.2.0 netmask 255.255.255.0 { option routers 192.168.2.240; range 192.168.2.10 192.168.2.40; } subnet 192.168.3.0 netmask 255.255.255.0 { option routers 192.168.3.240; range 192.168.3.10 192.168.3.40; } } vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=08:00:27:01:05:04 ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.0.52 GATEWAY=192.168.0.240 TYPE=Ethernet BOOTPROTO=none USERCTL=no IPV6INIT=no PEERDNS=yes