مشکل در ارتباط بین Vlan ها با Inter-Vlan
با سلام وخسته نباشید
تو شرکت ما نیاز داشتیم که بین دو vlan ار تباط داشته باشیم که برای همین اومدم با یه روتر عمل Inter-Vlan انجام دادم و تا جایی که اطلاعات دارم تنظیمات درسته ولی هنوز vlan ها هم دیگر را نمیبینند ( فقط VLAN 2 را میتونم ببینم و VLAN 1 حتی با سابت خودش هم ارتباط نداره )
این تنظیمات روتر :
لینک Fastethernet0/0 متصله به یک سوئیچ که ترانک شده و تنظیم خاص دیگه ای روی اون پورت نیست
تا یادم نرفته بگم که روتر مدل 2620 هستش . ممنون میشم بهم کمک کنید تا متوجه بشم مشکل از کجا میتونه باشه .
10 پاسخ
VLAN1 فعال هستش ؟ Show run رو اینجا بزارین کامل با شکل شبکتون
والا تمام اعضای شرکت تو vlan 1 هستند و دارند فعالیت میکنند و عکسی که گذاشتم با تلنت به یه آی پی تو رنج 1 متصل شدم و عکس گرفتم
vlan 2 مربوط به DMZ و vlan3 مربوط به server ها است
اینم عکس vlan ها و پورتهای ترانک ( روتر به پورت شماره سه متصله )
سلام دوست عزیز شما دستور ip routing رو وارد نکردید در ابتدا باید دستور رو تایپ کنید . بعد پورت هاتون رو هم no shutdown کنید.
IT pro برند ماست
کانفیکت درسته فقط تنها چیزی که میمونه اینه:
1. vlan 1 به طور پیشفرض shut هست تو سوئیچ.باید اول noshut کنی بعد ارتباط برقرار میشه.
2. پورتها رو درست تو سوئیچ عضو Vlan کردی و باید noshut باشن. چک کن.
مرسی آقای ویسی از راهنماییتون
اما تمام پورتها در وضعیت UP UP قرار دارند ، بعدشم این که دستور IP routing را مگه فقط تو سوئیچ لایه سه واسه لایه سه شدن دیوایس نمیزنند ؟ اینجا دیگه واسه چی زده میشه ؟
سلام
اي كاش مدل شبكه با كانفيگ سوييچ رو هم ميزاشتي تا راحت تر بتونن كمكت كنن
من خودم يه سناريو برات انجام دادم شايد مشكلت رو حل كنه
اين احتمالن مدل شبكتون باشه كه كانفيگش رو براتون ميزارم
كانفيگ سوئيچ
كانفيگ روتر
اميدوارم كه كمكتون كرده باشه
دوست یه show vlan brief بگیر عکسش رو بذاز ببینیم چیکار کردی
نشد مهندس جان
طبق همین روال که فرمودید مجددا از اول شروع به کانفیگش کردم و یک vlan دیگه را هم اضافه کردم ولی vlan 2 و vlan 3 هم دیگه را میبنند راحت ولی هیچکدوم vlan 1 را نمیبینه وحتی خود سوئیچی هم که به صورت Point to point بهش وصله نمیتونه پینگی ازش داشته باشه .
آخه یعنی چی :-_-:
خواهش میکنم دوست عزیز این یه مثال کامل از یک inter vlan در یک روتر »:Router>enable
Router>#configure terminal
Router(config)#hostname COR
ISP(config)#interface serial 000
Moves to interface configuration mode.
CORP(config-if)#description link to ISP
Sets the locally significant interface description.
CORP(config-if)#ip address 192.31.7.6 255.255.255.252
Assigns IP address and netmask.
CORP(config-if)#no shutdown
Enables the interface.
CORP(config)#interface fastethernet 0/1
Moves to interface configuration mode.
CORP(config-if)#description link to 3560 Switch
Sets the locally significant interface description.
CORP(config-if)#ip address 172.31.1.5 255.255.255.252
Assigns the IP address and netmask.
CORP(config-if)#no shutdown
Enables the interface.
CORP(config-if)#exit
Returns to global configuration mode.
CORP(config)#interface fastethernet 0/0
Enters interface configuration mode.
CORP(config-if)#duplex full
Enables full-duplex operation to ensure trunking will take effect between here and L2Switch2.
CORP(config-if)#no shutdown
Enables the interface.
CORP(config-if)#interface fastethernet 0/0.1
Creates a virtual subinterface and moves to subinterface configuration mode.
CORP(config-subif)#description Management VLAN 1 – Native VLAN
Sets the locally significant interface description.
CORP(config-subif)#encapsulation dot1q 1 native
Assigns VLAN 1 to this subinterface. VLAN 1 is the native VLAN. This subinterface uses the 802.1Q trunking protocol.
CORP(config-subif)#ip address 192.168.1.1 255.255.255.0
Assigns the IP address and netmask.
CORP(config-subif)#interface fastethernet 0/0.10
Creates a virtual subinterface and moves to subinterface configuration mode.
CORP(config-subif)#description Sales VLAN 10
Sets the locally significant interface description.
CORP(config-subif)#encapsulation dot1q 10
Assigns VLAN 10 to this subinterface. This subinterface uses the 802.1Q trunking protocol.
CORP(config-subif)#ip address 192.168.10.1 255.255.255.0
Assigns the IP address and netmask.
CORP(config-subif)#interface fastethernet 0/0.20
Creates a virtual subinterface and moves to subinterface configuration mode.
CORP(config-subif)#description Engineering VLAN 20
Sets the locally significant interface description.
CORP(config-subif)#encapsulation dot1q 20
Assigns VLAN 20 to this subinterface. This subinterface uses the 802.1Q trunking protocol.
CORP(config-subif)#ip address 192.168.20.1 255.255.255.0
Assigns the IP address and netmask.
CORP(config-subif)#interface fastethernet 0/0.30
Creates a virtual subinterface and moves to subinterface configuration mode.
CORP(config-subif)#description Marketing VLAN 30
Sets the locally significant interface description.
CORP(config-subif)#encapsulation dot1q 30
Assigns VLAN 30 to this subinterface. This subinterface uses the 802.1Q trunking protocol.
CORP(config-subif)#ip add 192.168.30.1 255.255.255.0
Assigns the IP address and netmask.
CORP(config-subif)#exit
Returns to interface configuration mode.
CORP(config-if)#exit
Returns to global configuration mode.
CORP(config)#router eigrp 10
ی vlan غیر vlan 1 استفاده کن vlan 1معمولا native هست