InterVlan
Routing
Intervlan
အေၾကာင္းမေျပားခင္ Vlan ပိုစ္႔တုန္းက က်န္ခဲ႔တဲ႔ Vlan ID Range ေလးကိုေျပားပါအံုးမယ္
ကြ်န္ေတာ္တို႔ Vlan ေတြခြဲးတုန္းက ID ေတြေပးက်ပါတယ္ အဲ႔ဒိ ID ေတြဟာ တကယ္ေတာ႔ Type ႏွစ္ခုရွိတယ္ဗ်။
၁.
Normal Vlan ID
၂.
Extended ID
Normal
Range ID ကေတာ႔ 1 to 1005 ေပါ႔
1 ,1002
1003, 1004,1005 တို႔က System Default ပါတဲ႔ဟာေတြပါ သူတို႔ကို ျပင္လို႔မရပါဘူး ။ သူကို
Flash Memory ထဲမွာ vlan.dat ဆိုတဲ႔ Format ကိုအသံုးျပဳျပီး Store လုပ္ေပးထားပါတယ္။
Extened
Range ID
သူကေတာ႔
1006 to 4096 သူကိုအသံုးျပဳတာက ISP ေတြအတြက္ျဖစ္ပါတယ္ သံုးမသံုးေတာ႔မသိပါ စာဖတ္ထားတာေတြကိုမွတ္မိတာေရးတာျဖစ္ပါတယ္
ခ္ခ္
အခုမွစပါမယ္
InterVlan Routing ဆိုတာကေတာ႔ ဘယ္လိုအလုပ္လုပ္လဲဆိုေတာ႔ ကြ်န္ေတာ္အရင္ပိုစ္႔မွာေရးထားခဲ႔တဲ႔
Vlan သင္ခန္းစာမွာ Vlan ေတြခြဲးတုန္းကေပါ႔ ID တူအခ်င္းခ်င္းပဲ communication ရွိျပီအျခား
Different ID ကို Communication လုပ္ပိုင္ခြင္႔မရွိတာေပါ႔ ။ဥပမာကြ်န္ေတာ္တို႔မွာ
Group Company တစ္ခုရွိတယ္ဗ် Company 5ခုေလာက္ရွိတယ္ေပါ႔
သေဘားတရားအေနနဲ႔ေျပားလိုက္မယ္
1.Air
Line
2.
Travel & Tour
3.Hotel
4.Phone
Company
5.Website
Company
အဲ႔ေတာ႔ကြ်န္ေတာ္တို႔
Vlan 5ခုခြဲးမယ္ Company အသီးသီးအတြက္ သူတို႔ကို မတူညီတဲ႔ Network ေတြကိုေပးထားမယ္
ျပီးေတာ႔ Company အခ်င္းခ်င္း
Communication ရွိရမယ္ ။ ဒီေနရာမွာေျပားခ်င္တာက
ကြ်န္ေတာ္တို႔ စဥ္စာစရာတစ္ခုရွိတာက Company တစ္ခုခ်င္းစီမွာ Router တစ္ခုခ်င္းစီထားျပီး
Routing Table နဲ႔ Static Route ,RIP ,EIGRP and OSPF ၾကိဳက္တာသံုးျပီး လုပ္ထားမယ္ဆိုလည္းရပါတယ္
ပစၥည္းဆံုးရွဳံးမွဳပိုမ်ားမွာေပါ႔ ။ကြ်န္ေတာ္က
Vlan ဆိုတဲ႔အတိုင္း Vlan နဲ႔ပတ္သတ္ျပီးလုပ္လို႔ရတာပဲ ေျပားေပးမွာပါ။ေအာက္ကပံုေလးကိုၾကည္႔ေပးပါ
ကြ်န္ေတာ္ Packet Tracer နဲ႔ပဲျပေတာ႔ပါမယ္ GNS 3 နဲ႔က လုပ္တာအဆင္မေျပေသးလို႔ပါ။ ေအာက္ပါပံုကေတာ႔
Diagram ပံုေလးျဖစ္ပါတယ္ Real Life မဆန္ေလာက္ဘူးလို႔ထင္ပါတယ္ ဒါေပမယ္႔ Inter Vlan
Routing ကိုေျပားတာျဖစ္လို႔ တခ်က္ေလာက္ၾကည္႔ေပးပါအံုး
အေပၚကပံုအတိုင္းကြ်န္ေတာ္တို႔
မွာရွိတဲ႔ Vlan အသီးသီးဟာ Communication ရွိျပီးေတာ႔ Web Server & File Server
ကို Access လုပ္နုိုင္မွာျဖစ္ပါတယ္ ။ကြ်န္ေတာ္ Company သံုးခုေလာက္နဲ႔ပဲ Example ျပလိုက္ပါတယ္။အခုသင္မယ္႔
သင္ခန္းစာကို Router on a stick လို႔လဲေခၚလို႔ရပါတယ္
အခုကြ်န္ေတာ္တို႔
Vlan ခြဲသြားတာကိုေတာ႔ကြ်န္ေတာ္ မေျပားေတာ႔ပါဘူး ကြ်န္ေတာ္ေရွမွေရးတဲ႔ Vlan ပိုစ္႔ေလးေတြကိုျပန္ဖတ္ေပးေစလိုပါ။အခုကြ်န္ေတာ္တို႔လုပ္ျပေပးမွာက
Router နဲ႔ Switch ၾကားပါပဲ Router နဲ႔ ခ်ိတ္ဆက္ထားတဲ႔ Switch ကိုပဲ ေဖာ္ျပေပးပါေတာ႔မယ္
အခုကေတာ႔
Router မွာ Configuration ပါ
Router#config
Configuring from terminal, memory,
or network [terminal]?
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from
console by console
c
% Ambiguous command: "c"
Router#config ter
Enter configuration commands, one
per line. End with CNTL/Z.
Router(config)#int gig0/1
Router(config-if)#ip address
192.168.0.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface
GigabitEthernet0/1, changed state to up
exit
Router(config)#int gig0/2
Router(config-if)#ip address
192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface
GigabitEthernet0/2, changed state to up
Router(config-if)#
အေပၚကဟာကေတာ႔
ရွင္းပါတယ္ ကြ်န္ေတာ္တို႔ Router ကိုခ်ိတ္ဆက္ထားတဲ႔ Port ေတြကို Ip address
assign
လုပ္တာျဖစ္ပါတယ္ အဲ႔ဒိမွာ ကြ်န္ေတာ္တို႔ Router to Switch ကိုခ်ိတ္ထားတဲ႔ဟာက
Gigabytes
0/0 ျဖစ္ပါတယ္ အဲ႔ဒါကိုကြ်န္ေတာ္တို႔က Encapsulation
လုပ္လိုက္မွာျဖစ္ပါတယ္ encapsulation
ဆိုတာကေတာ႔ Data ေတြကို ထုတ္ပိုးတာျဖစ္ပါတယ္
အသံုးျပဳတာကေတာ႔
အဲ႔ gig0/0 ေပၚမွာ Vlan ID Link ေတြကို ထုတ္ပိုးျပီး ျဖတ္သန္းမယ္လို႔ေၾကညာတာပါပဲ
Command
ေလးကေတာ႔ “interface gig0/0.100 အဲ႔ဒိေနရာမွာ 100ဆိုတာ Vlan ႈ ID ျဖစ္ပါတယ္
“encapsulation
dot1q 100”
Encapsulation
802dot1q 100 လို႔ေရးတာက Layer 3 Device
ေတြမွာ ISL or 802dot1q Trunking ဆိုတာေတြ Support လုပ္ၾကပါတယ္ အခုေခတ္မွာ Popular
ျဖစ္ေနတာကေတာ႔ 802.1q ျဖစ္ပါတယ္ အဲ႔ေၾကာင္႔မို႔အသံုးျပဳတာပါ အေသးစိတ္သိခ်င္ရင္ေတာ႔
Google မွာရွာဖတ္နိုင္ပါတယ္။
Ip address
ဆိုတာကေတာ႔ IP ေပးတာျဖစ္ပါတယ္။
Router(config)#
Router(config)#int gig0/0.200
Router(config-subif)#
%LINK-5-CHANGED: Interface
GigabitEthernet0/0.200, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface GigabitEthernet0/0.200, changed state to up
Router(config-subif)#encapsulation
dot1q 200
Router(config-subif)#ip address
195.0.0.1 255.255.255.0
Router(config-subif)#exit
Router(config)#
Router(config)#int gig0.0.300
^
% Invalid input detected at '^'
marker.
Router(config)#int gig0/0.300
Router(config-subif)#
%LINK-5-CHANGED: Interface
GigabitEthernet0/0.300, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface GigabitEthernet0/0.300, changed state to up
Router(config-subif)#encapsulation
dot1q 300
Router(config-subif)#ip address 10.10.10.1
255.0.0.0
Router(config-subif)#exit























