ชื่อผู้เขียน: อ.สว่าง (203.172.149.---)
วันที่: 06-08-04 09:25
อ.นวัตกรณ์ ครับ ที่ผมต้องเข้าไปแก้ dhcpd.conf เพราะหลังจากติดตั้งแลนใบที่ 2 แล้วเวลา รีสตาร์ทมันฟ้องว่า ประมาณ ให้ไปเขียน dhcpd.conf ให้ใหม่ ผมเลยเข้าไปและแก้ดังนี้ อาจารย์ลองดูนะครับ อาจจะใช้ได้ ผลเป็นยังไงแจ้งด้วยครับ
1.เข้า control-panel
2.เข้า network configuration
3.Routing ตั้ง defalt gateway ไปยังไอพีจริงของดาวเทียม(203.172.xxx.xx)
4.Add address ของ eth1
address 203.172.xxx.xx(ไอพีที่ดาวเทียมแจก)
netmask 255.255.255.0
gateway 203.172.xxx.xx(ไอพีของดาวเทียม)
แล้วเข้าไปแก้ dhcpd.conf ให้สัมพันธ์กับหมายเลขของอาจารย์นะครับ
รีสตาร์ทเครื่อง
ขอให้โชคดีครับ(ผมใช้ sis 4.0)
subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
#option nis-domain "domain.org";
option domain-name "intranet";
option domain-name-servers 192.168.1.1, 202.44.204.36;
# option time-offset -5; # Eastern Standard Time
option time-offset 7; # Asia/Bangkok Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.1.51 192.168.1.251;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
#host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:AB:CD;
# fixed-address 207.175.42.254;
#}
}
subnet 203.172.149.0 netmask 255.255.255.0 {
# --- gateway
option routers 203.172.149.34; (หมายเลขไอพี ที่ดาวเทียมจ่ายมา)
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
#option nis-domain "domain.org";
option domain-name "intranet";
option domain-name-servers 203.172.149.34, 202.44.204.36;
# option time-offset -5; # Eastern Standard Time
option time-offset 7; # Asia/Bangkok Standard Time
# option ntp-servers 203.172.149.34;
# option netbios-name-servers 203.172.149.34;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 203.172.149.34 203.172.149.35;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
#host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:AB:CD;
# fixed-address 207.175.42.254;
#}
}
|
|