เคยเกิดปัญหาไหม ถ้าเราทำการสร้าง Virtual network interfaces ขึ้นมาหลายๆ interface และพบว่าเมื่อเรา down Virtual network interfaces บาง Virtual network interfaces จะทำให้ Virtual network interfaces อื่นเกิดการ down ไปพร้อมกัน อาการที่เกิดขึ้น เมื่อเรามี virtual network interfaces ทั้งหมด 4 virtual network interfaces ดังนี้ eth0:0, eth0:1, eth0:2 และ eth0:3 และเราต้องการ down eth0:0 และใช้คำสั่ง #ifdown eth0:0 จะเกิดการ down ที่ eth0:1, eth0:2 และ eth0:3 ด้วย เนื่องจากว่าเกิดจากบักที่ glibc จะทำให้เมื่อเรา down [...]
Continue reading...6. March 2008
ขั้นแรกให้สร้าง script file ขึ้นมาโดยใช้คำสั่ง #vi /etc/xen/scripts/network-xen-custom จากนั้น copy ข้อความด้านล่างไปไว้ที่ไฟล์ This is a preview of Make bridge multiple network interfaces on Xen host to guests os.. Read the full post (158 words, estimated 38 secs reading time)
Continue reading...24. September 2007
เราสามารถใช้คำสั่ง netstat ดูรายละเอียดต่างๆของ network ได้โดยใช้คำสั่งข้างล่างนี้[root@example ~]# netstat -tuanpeeoT Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State User [...]
Continue reading...8. September 2007
ถ้าเราต้องการแก้ไขชื่อเครื่องใน Red Hat หรือ Red Hat Clone สามารถทำได้หลายวิธีด้วยกัน คือ - ใช้คำสั่ง hostname (ไม่ต้อง restart service network)โดยพิมพ์ hostname ชื่อเครื่อง ตัวอย่าง ต้องการแก้ไขชื่อเครื่องเป็น hostname.example.com#hostname hostname.example.com - system-config-network (ต้อง restart service network) - แก้ไขในไฟล์ /etc/sysconfig/network (ต้อง restart service network)แก้ไขตรงส่วนของ HOSTNAME ตัวอย่าง ต้องการแก้ไขชื่อเครื่องเป็น hostname.example.com# cat /etc/sysconfig/networkNETWORKING=yesHOSTNAME=hostname.example.com Permanent link to this post (42 words, estimated 10 secs reading time)No tag for this post. Related posts No [...]
Continue reading...
20. June 2008
Comments Off