View Full Version : Problem of Subnet Zero!
1'hpSky
22-10-2003, 12:45 PM
"Although Cisco provides utility of subnet zero, this command should be used only withll understanding of network devices the knowledge that there is no device that uses the zero broadcast today, some sytems, such as Sun solaris 4.x, have problems using subnet zero even with OSPF"
Đây là chú ý mà mình chép từ một quyển sách. Bạn nào nghiên cứu rồi cho mình biết thực chất của problem này là gì?
Thân
themask
22-10-2003, 04:17 PM
Problems:
- Confusion
- Irrelevance
More details in:
www.cisco.com/warp/public/105/40.html
admin
22-10-2003, 04:21 PM
1'hpsky:
có thể tài liệu trên đã cũ do nó mô tả một đặc điểm của classful routing. Hầu hết các thiết bị ngày nay đều dùng subnet zero. Đối với thiết bị Cisco, bắt đầu từ 12.0, subnet zero đã được dùng một cách mặc định.
Thân mến,
themask
22-10-2003, 05:14 PM
Hi,
Phần
Problems with Subnet Zero and the All-Ones Subnet
Có đoạn
..."Prior to Cisco IOS® Software Release 12.0, Cisco routers, by default, did not allow an IP address belonging to subnet zero to be configured on an interface. However, if a network engineer working with Cisco IOS version older than 12.0 finds it safe to use subnet zero, the ip subnet-zero command in the global configuration mode can be used to overcome this restriction. As of Cisco IOS version 12.0, Cisco routers now have ip subnet-zero enabled by default, but if the network engineer feels that it is unsafe to use subnet zero, the no ip subnet-zero command can be used to restrict the use of subnet zero addresses."...
IP Subnet Zero, not recommand nhưng expert rồi thì đôi khi lại dùng.
Xin Admin post vài kinh nghiệm khi dụng đến vấn đề này để mọi người ở đây cùng tham khảo.
Themask,
Để rõ vấn đề đối với Subnet Zero, xin lấy một thí dụ vấn đề NAT và subnet zero.
Mô hình mạng xem xét:
<Inside router>171.16.4.4/24-------- .6<NAT Router>171.16.6.6/24------------ .5<outside router>
Ví dụ này, thiết bị inside có trong default route của NAT router. Outside có static route tới địa chỉ mà inside chuyển đổi thành.
Cấu hình trên router NAT như sau:
ip nat pool test 171.68.1.1 171.68.1.10 netmask 255.255.240.0
ip nat inside source list 7 pool test
interface s 0
ip address 171.16.4.6 255.255.255.0
ip nat inside
interface s 1
ip address 171.16.6.6 255.255.255.0
ip nat outside
access-list 7 permit host 171.16.4.4
Các địa chỉ trong NAT pool là địa chỉ subnet zero.
Không thực hiện được lệnh ping từ inside device tới outside device do lỗi ở quá trình chuyển đổi.
Chạy debug ip nat trên NAT router nhận được các thông báo:
NAT: translation failed (A), dropping packet s=171.16.4.4 d=171.16.6.5
NAT: translation failed (A), dropping packet s=171.16.4.4 d=171.16.6.5
NAT: translation failed (A), dropping packet s=171.16.4.4 d=171.16.6.5
NAT: translation failed (A), dropping packet s=171.16.4.4 d=171.16.6.5
NAT: translation failed (A), dropping packet s=171.16.4.4 d=171.16.6.5
"(A)" có nghĩa là translation failed sau quá trình định tuyến.
Để tránh vấn đề này phải cấu hình lệnh ip subnet-zero trên NAT router.
Lệnh này mặc định trên Cisco IOS® Software Release 12.0 (đối với các phiên bản trước không mặc định)
:D
-------------------------------------------------------------------------------
Trích từ:
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080094e75 .shtml
1'hpSky
23-10-2003, 08:31 PM
Thanks! Tuy nhiên thông tin mà mọi người đưa ra mình đều biết cả, lệnh gõ thế nào cũng biết, IOS sau 12.0 thì ip subnet zero là default cũng biết, sách này là sách cisco mới admin ạ.
Câu này nghĩa là thế nào mọi người chỉ giúp: "the knowledge that there is no device that uses zero broadcast".
Zero broadcast là gì nhỉ???
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.