โดย wattit เมื่อ พฤหัสฯ. 06 มิ.ย. 2013 6:05 pm
เพิ่มไปแล้วครับ จากตัวอย่างในรูปคำตอบที่ 3 router (192.168.0.6) ผมเปลี่ยนมาเป็น 192.168.9.29 รูปแนบ และ vlan 1 192.168.9.254
ผมมีข้อมูล config (ip vlan ต่างๆ ไม่ตรงคำถามนะครับ แต่ ต้องการ vlan 20,60,90 ออกnet) จะเอา default gateway ออก ก็ไม่มีผล
SG500#show running
config-file-header
SG500
v1.3.0.62 / R750_NIK_1_3_647_260
CLI v1.0
set system mode router queues-mode 4
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 20,60,90
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
bonjour interface range vlan 1
hostname SG500
clock timezone " " 7
clock source browser
ip name-server 192.168.9.29
ip domain polling-interval 18
!
interface vlan 1
ip address 192.168.9.254 255.255.255.0
no ip address dhcp
!
interface vlan 20
name Sales
ip address 192.168.20.254 255.255.255.0
!
interface vlan 60
name Accounting
ip address 192.168.60.254 255.255.255.0
!
interface vlan 90
name IT
ip address 192.168.90.254 255.255.255.0
!
interface gigabitethernet1/1/1
switchport trunk native vlan 20
!
interface gigabitethernet1/1/2
switchport trunk native vlan 20
!
interface gigabitethernet1/1/6
switchport trunk native vlan 60
!
interface gigabitethernet1/1/9
switchport trunk native vlan 90
!
interface gigabitethernet1/1/48
switchport trunk allowed vlan add 20,60,90
!
exit
ip default-gateway 192.168.9.29
SG500#
- แนบไฟล์
-
- route9.jpg (157.48 KiB) เปิดดู 7176 ครั้ง