المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : اصحاب الخبراء في subnet وvlan



لوبكيت
06-05-2008, 00:45
السلام عليكم
كيفكم اخواني الاعزاء اتمنى منك المساعده ياصحاب الخبراء

انا موضوعي بتفصيل بهذا الشكل:

عندنا مجموعه كثيره من السوتشات في المنشئه موزعه في اماكن مختلفه يعني في إدارات كثيره قريبه وبعيده داخل المنشئة

طبعا نحن في مركز الحاسب كيفية التشبيك السوتشات السابقه عن طريق غرفة الحاسب من خلال backpoon من خلال كيابل فايبر طالعه من غرفه الحاسب الي مواقع السوتشات ونقوم حنا بتحديد subnet على سوتش الباك بون مثل نقول 172.17.1.1 ونحدد dns الي عندنا وبعدها خلاص

السوتشات السابقه في موقعها يتم وضع الاعدادات الاساسيه مثل الباسورد, ونضع ip لvlan1 الدفولت مثل 172.17.1.2 هذا الايبي تبع السوتش علشان نقدر نسوي ping له من بعيد

طبعا بعد مانحدد subnet في الباكبون نفعله من خلال dhcp علشان يوزع الايبيات لباقي الاجهزه


طبعا هكذا شغلنا نحدد subnet لكل اداره واذا بغينا نضع سوتشات لاداره جديده نقوم نحدد لهمsubnet معينه وهكذا اوكيه

طبعا الاداره طلبت مني الان تغير هذه الطريقه بدل مانستخدم subnet نريد عمل vlan افضل

برغم انه صارت لنا مشكله في السابق وجود فايروس مما ادى الي انتشاره الي جميع الاجهزه في جميع الادارات مما ادى الحل الامثل اننا نستخدم vlan

الان مشكلتي: انا اعرف الاعدادت ودرستها في cisco وكنت اعمل مثل عندي اربع سوتشات ومثل 4 اجهزه وراوتر استطيع ان اعمل اعدادت بشكل سهل جدا

1. Create VLANs on the router.
Dell-6024> enable
Dell-6024# configure
Dell-6024(config)# vlan database
Dell-6024(config-vlan)# vlan 10
Dell-6024(config-vlan)# vlan 20
Dell-6024(config-vlan)# exit

2. Assign IP addresses to the each VLAN on the router.
Dell-6024(config)# interface vlan 10
Dell-6024(config-if)# ip address 10.10.0.1 /24
Dell-6024(config-if)# exit

Dell-6024(config)# interface vlan 20
Dell-6024(config-if)# ip address 10.20.0.1 /24
Dell-6024(config-if)# exit


3. Configure the router port connected to the switch as a VLAN trunk port. We use interface g24.


Dell-6024(config)# interface ethernet g(23-24)
Dell-6024(config-if)# switchport mode trunk
Dell-6024(config-if)# switchport trunk allowed vlan add 10,20
Dell-6024(config-if)# exit


4. Define routes to each network.
Dell-6024(config)# ip route 10.10.0.0 255.255.255.0 10.10.0.2
Dell-6024(config)# ip route 10.20.0.0 255.255.255.0 10.20.0.2


As noted, we assume the router has previously been configured to reach the DHCP server on the
10.100.0.0/24 subnet.
5. Configure the router to relay DHCP requests.

Dell-6024(config)# ip dhcp relay enable
Dell-6024(config)# ip dhcp relay address 10.100.0.100
Dell-6024(config)# exit
Dell-6024# copy running-config startup-config

This concludes the configuration of the router. Now we will configure the PowerConnect 3348 switches.

6. Create the VLANs on the switches. On the first (left) switch in the figure:
Dell-3348-1> enable
Dell-3348-1# configure
Dell-3348-1(config)# vlan database
Dell-3348-1(config-vlan)# vlan 10
Dell-3348-1(config-vlan)# vlan 20
Dell-3348-1(config-vlan)# exit

On the second (right) switch in the figure:
Dell-3348-2> enable
Dell-3348-2# configure
Dell-3348-2(config)# vlan database
Dell-3348-2(config-vlan)# vlan 10
Dell-3348-2(config-vlan)# vlan 20
Dell-3348-2(config-vlan)# exit

7. Configure the switches port connected to the router as a VLAN trunk. We use interface 1/e10. On the

first (left) switch in the figure:
Dell-3348-1(config)# interface ethernet 1/e10
Dell-3348-1(config-if)# switchport mode trunk
Dell-3348-1(config-if)# switchport trunk allowed vlan add 10,20
Dell-3348-1(config-if)# exit

On the second (right) switch in the figure:
Dell-3348-2(config)# interface ethernet 1/e10
Dell-3348-2(config-if)# switchport mode trunk
Dell-3348-2(config-if)# switchport trunk allowed vlan add 10,20
Dell-3348-2(config-if)# exit


8. Configure access ports in the appropriate VLANs. We attach host A to interface 1/e1 and host C to

interface 1/e2 on switch 1. We attach host B to interface 1/e1 and host D to interface 1/e2 on switch 2.
On the first (left) switch in the figure:

Dell-3348-1(config)# interface ethernet 1/e1
Dell-3348-1(config-if)# switchport mode access
Dell-3348-1(config-if)# switchport access vlan 10
Dell-3348-1(config-if)# exit

Dell-3348-1(config)# interface ethernet 1/e2
Dell-3348-1(config-if)# switchport mode access
Dell-3348-1(config-if)# switchport access vlan 20
Dell-3348-1(config-if)# end
Dell-3348-1# copy running-config startup-config

On the second (right) switch in the figure:
Dell-3348-2(config)# interface ethernet 1/e1
Dell-3348-2(config-if)# switchport mode access
Dell-3348-2(config-if)# switchport access vlan 10
Dell-3348-2(config-if)# exit

Dell-3348-2(config)# interface ethernet 1/e2
Dell-3348-2(config-if)# switchport mode access
Dell-3348-2(config-if)# switchport access vlan 20
Dell-3348-2(config-if)# end
Dell-3348# copy running-config startup-config


لو تلاحظ هذه الاعدادت كلها ياسيدي الفاصل بين راوتر وسوتشين واربع اجهزه وداخل الاعدادات vlan 1+vlan2


الان انا مشكلتي اتمنى انك فهمتني يارب كيف انفذ خطتي احول الاعدادت الي vlan اعمل اعداداتي من الراوتر ثم احدد على السوتش الباكبون subnet واضيف vlan زياده عن اعداداتي السابقه ولا كيف لاني احس اني لخبطت ضعت وايضا راح يكون عندي اكثر من 18 Vlan

في الختام اسف على الاطاله واتمنى اني قدرت اوصل الي تقدر تستوعب ماريد علما بانها اول خطوه تقدم لي من قبل مديري بعد حصولي على شهاده cisco قبل 3 شهور وهم يطمحون لشي كبير مني وانا ودي اثبت وجودي علما بانه الشغله سهله وبسيطه بس الي مضيعني كثرت السوتشات وخربطها اخاف اتفشل معهم من اول طلب اتمنى منك تساعدني تكفى

تحياتي ‘لما باننا نستخدم سوتش اسمه cisco system
catalyst 4507R

لوبكيت
06-05-2008, 09:55
معقوله ياجماعة الخير مافي احد متخصص يفهم المشكله :(

ahab
06-05-2008, 10:25
أخي لوبكيت:
المنتدى فيه عمالقة كتير..... بس معظمهم ما يدخل غير في الفترة المسائية
أكيد انت مستعجل ..... بس اصبر شويه .... وإن شاء الله حد من الزملاء يجاوبك.

لوبكيت
06-05-2008, 18:30
الله يعطيك الف عافيه ياستاذي

اوكيه انا بنتظار جميع الاساتذة

لوبكيت
07-05-2008, 18:46
up

up

up

ahmed magdy
07-05-2008, 21:20
Create VLANs on the router.
Dell-6024> enable
Dell-6024# configure
Dell-6024(config)# vlan database
Dell-6024(config-vlan)# vlan 10
Dell-6024(config-vlan)# vlan 20
Dell-6024(config-vlan)# exit

2. Assign IP addresses to the each VLAN on the router.
Dell-6024(config)# interface vlan 10
Dell-6024(config-if)# ip address 10.10.0.1 /24
Dell-6024(config-if)# exit

Dell-6024(config)# interface vlan 20
Dell-6024(config-if)# ip address 10.20.0.1 /24
Dell-6024(config-if)# exit


3. Configure the router port connected to the switch as a VLAN trunk port. We use interface g24.


Dell-6024(config)# interface ethernet g(23-24)
Dell-6024(config-if)# switchport mode trunk
Dell-6024(config-if)# switchport trunk allowed vlan add 10,20
Dell-6024(config-if)# exit






انا لاحظت انك عامل اعدادات vlan على ال router , معلش ممكن تقول لي ازاي؟

لاني اعرف ان الvlan للسويتشلت فقط و اعدادتها تتم في ال router فقط.

ahmed magdy
07-05-2008, 21:21
و اعدادتها تتم في ال router فقط (جمله خاطئه)

اسف اعدادتها تتم في السويتش فقط

لوبكيت
08-05-2008, 18:19
لا ياستاذي ايضا تسويها في الراوتر

لانك قبل كل شي لازم تسوي في الراوتر subinterfase

seman
09-05-2008, 01:01
https://www.arabhardware.net/forum/showthread.php?t=82360

لوبكيت
10-05-2008, 00:45
خلا ص يعني نكنسل الموضوع مافي احد يفهم في cisco

one-zero
10-05-2008, 03:19
create your valn on your cat4507 switch by connecting to it by con0
give your switch ip address
dont forget to repat it on every switch
create your trunks
thats it
its easy man!!!!!!!!!!!!

لوبكيت
11-05-2008, 05:49
السلام عليكم

شكرا لك اخي على الرد علة موضوع vlan

بس اذا ممكن تضيفني على الماسنجر علشان نتناقش مع بعض اذا مافي مانع

تحياتي


abunowaf@hotmail.com