الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

مشكلة في عمل Nat

بدأه adensoul في 30 مارس 2008 · 3 رد · 1,006 مشاهدة · في منتدى الشبكات العام
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

سلام

شباب عندي مشكلة في اعدادات ال Leased Line عندي راوتر سيسكو 1841ومودم من مزود الخدمة من نوع براداين المهم عملت الاعدادات داخل الراوتر واقدر اعمل ping على لا DNS بتاع الٍISP وعلى الانترفيس كمان وكل شي شغال واقدر اعمل بينج من الشبكة الداخلية على الايثرنت حق الراوتر بس الانترنت مو شغال على الشبكة الداخلية ابدا حاولت اعمل اعدادات لل NAT برضه ماضبط معي هل ممكن تساعدونا على كيفية عمل ال NAT Between the inside interface(eth0)and outside interface(serial 0) باكون لكم شاكر جدا

وشكرا

#2

اوكي ساعطيك مثال على ان تراعي اختلاف الاعدادت و المسميات على الراوتر الخاص بك من ناحية IP addresses و ما الى ذلك.

interface ethernet 0
 ip address 10.10.10.1 255.255.255.0
 ip nat inside

!--- Defines Ethernet 0 with an IP address and as a NAT inside interface.


interface ethernet 1
 ip address 10.10.20.1 255.255.255.0
 ip nat inside

!--- Defines Ethernet 1 with an IP address and as a NAT inside interface.


interface serial 0
 ip address 172.16.10.64 255.255.255.0
 ip nat outside

!--- Defines serial 0 with an IP address and as a NAT outside interface.


ip nat pool no-overload 172.16.10.1 172.16.10.63 prefix 24
 !

!--- Defines a NAT pool named no-overload with a range of addresses 
!--- 172.16.10.1 - 172.16.10.63.


ip nat inside source list 7 pool no-overload 
 !
 !

!--- Indicates that any packets received on the inside interface that 
!--- are permitted by access-list 7 
!--- will have the source address translated to an address out of the 
!--- NAT pool "no-overload".


access-list 7 permit 10.10.10.0 0.0.0.31
access-list 7 permit 10.10.20.0 0.0.0.31

!--- Access-list 7 permits packets with source addresses ranging from 
!--- 10.10.10.0 through 10.10.10.31 and 10.10.20.0 through 10.10.20.31.

جرب و أطلعني على النتائج لأن هذه اعدادت ال NAT في الوضع ال Standard ... هناك أوضاع أخرى مثل ال Overlap و ال Transition حسب بنية و تركيبة الشبكه لديك.

It's hard to stay in such ridiculous situation

#3

سلام

شكرا لك اخي محمد على ردك بالفعل قمت بعمل هذه الاعدادات ولكن قمت بالتعديل عليه على حسب بنية الشبكة عندي وعملت بشكل صحيح

فعلا اشكرك

#4

Any Time :)

It's hard to stay in such ridiculous situation

مواضيع مشابهة