VLAN 간의 라우팅1
2023. 8. 30. 11:29ㆍ네트워크
실습 토폴로지

기본 설정
vlan10 : S1 10.1.10.1/24 vlan20 : S2 10.1.20.1/24 vlan30 : S3 10.1.30.1/24 vlan40 : S4 10.1.40.1/24 vlan50 : S5 10.1.50.1/24 |
B1,2,3_DSW : SVI 처리 S1,2,3,4,5 : default 처리 |
S1 int fa 0/0 no shut ip add 10.1.10.1 255.255.255.0 exi ip route 0.0.0.0 0.0.0.0 10.1.10.254 |
S2 int fa 0/0 no shut ip add 10.1.20.1 255.255.255.0 exi ip route 0.0.0.0 0.0.0.0 10.1.20.254 |
S3 int fa 0/0 no shut ip add 10.1.30.1 255.255.255.0 exi ip route 0.0.0.0 0.0.0.0 10.1.30.254 |
S4 int fa 0/0 no shut ip add 10.1.40.1 255.255.255.0 exi ip route 0.0.0.0 0.0.0.0 10.1.40.254 |
S5 int fa 0/0 no shut ip add 10.1.50.1 255.255.255.0 exi ip route 0.0.0.0 0.0.0.0 10.1.50.254 |
ASW 설정 [access port설정, trunk port설정]
B1ASW1F vlan 10 exi int fa 1/1 sw mo a sw a v 10 exi int fa 1/2 sw t e d sw m t |
B1ASW2F vlan 20 exi int fa 1/2 sw mo a sw a v 20 exi int fa 1/1 sw t e d sw m t |
B2ASW1F vlan 30 exi int fa 1/3 sw mo a sw a v 30 exi int fa 1/2 sw t e d sw m t |
B2ASW2F vlan 40 exi int fa 1/4 sw mo a sw a v 40 exi int fa 1/3 sw t e d sw m t |
B3ASW3F vlan 50 exi int fa 1/5 sw mo a sw a v 50 exi int fa 1/4 sw t e d sw m t |
show int status show mac dynamic show vlan(-sw) brief show int trunk show cdp nei |
* sw trunk all vlan 1,[1|2|3|4|5]0,1002-1005
DSW 설정 [trunk 설정, SVI 설정]
B1DSW ip routing vlan 10,20,100 exi int vlan 10 no shut ip add 10.1.10.254 255.255.255.0 exi int vlan 20 no shut ip add 10.1.20.254 255.255.255.0 exi int rang fa 1/1 - 4 sw t e d sw m t exi int vlan 100 no shut ip add 10.1.100.1 255.255.255.0 exi router rip ver 2 no auto net 10.0.0.0 tim bas 1 6 0 8 exi |
B2DSW ip routing vlan 30,40,100 exi int vlan 30 no shut ip add 10.1.30.254 255.255.255.0 exi int vlan 40 no shut ip add 10.1.40.254 255.255.255.0 exi int rang fa 1/2 - 5 sw t e d sw m t exi int vlan 100 no shut ip add 10.1.100.2 255.255.255.0 exi router rip ver 2 no auto net 10.0.0.0 tim bas 1 6 0 8 exi |
B3DSW ip routing vlan 50,100 exi int vlan 50 no shut ip add 10.1.50.254 255.255.255.0 exi int rang fa 1/3 - 5 sw t e d sw m t exi int vlan 100 no shut ip add 10.1.100.3 255.255.255.0 exi router rip ver 2 no auto net 10.0.0.0 tim bas 1 6 0 8 exi |
확인작업
B1DSW#show ip route rip 10.0.0.0/24 is subnetted, 6 subnets R 10.1.10.0 [120/1] via 10.1.100.1, 00:00:00, Vlan100 R 10.1.20.0 [120/1] via 10.1.100.1, 00:00:00, Vlan100 R 10.1.50.0 [120/1] via 10.1.100.3, 00:00:00, Vlan100 |
B2DSW#show ip route rip 10.0.0.0/24 is subnetted, 6 subnets R 10.1.30.0 [120/1] via 10.1.100.2, 00:00:00, Vlan100 R 10.1.40.0 [120/1] via 10.1.100.2, 00:00:00, Vlan100 R 10.1.50.0 [120/1] via 10.1.100.3, 00:00:00, Vlan100 |
B3DSW#show ip route rip 10.0.0.0/24 is subnetted, 6 subnets R 10.1.10.0 [120/1] via 10.1.100.1, 00:00:00, Vlan100 R 10.1.30.0 [120/1] via 10.1.100.2, 00:00:00, Vlan100 R 10.1.20.0 [120/1] via 10.1.100.1, 00:00:00, Vlan100 R 10.1.40.0 [120/1] via 10.1.100.2, 00:00:00, Vlan100 |
'네트워크' 카테고리의 다른 글
BPDU guard (0) | 2023.08.31 |
---|---|
VLAN 간의 라우팅2 (0) | 2023.08.30 |
SVI (0) | 2023.08.29 |
VLAN (0) | 2023.08.29 |
Switch 기본 설정 (0) | 2023.08.29 |