• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Giúp cấu hình Asa5505 và switch C3560

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Giúp cấu hình Asa5505 và switch C3560

    Nhờ mọi người giúp cấu hình kết nối firewall Asa5505 và switch cisco C3560. Cấu hình hiện tại của mình như sau:
    ASA:
    interface Vlan10
    description LAN
    nameif inside
    security-level 100
    ip address 192.168.1.1 255.255.255.0
    !
    interface Vlan20
    description connected to Outside
    nameif outside
    security-level 0
    ip address [public IP] 255.255.255.248
    !
    interface Vlan30
    nameif DMZ
    security-level 50
    no ip address
    !
    !
    interface Ethernet0/0
    switchport access vlan 20
    !
    interface Ethernet0/1
    switchport access vlan 10
    !
    interface Ethernet0/2
    switchport access vlan 10
    !
    interface Ethernet0/3
    switchport access vlan 30
    !
    interface Ethernet0/4
    switchport mode trunk
    switchport trunk allowed vlan 10,30
    !
    dhcpd address 192.168.1.6-192.168.1.105 inside
    dhcpd dns 210.245.1.254 8.8.8.8 interface inside
    dhcpd enable inside
    !

    cổng ethernet0/4 trên ASA này nối với cổng Gi0/48 của switch C3560 có config như sau:

    interface GigabitEthernet0/1
    switchport mode access
    switchport access vlan 10
    !
    interface GigabitEthernet0/2
    switchport mode access
    switchport access vlan 10
    !
    interface vlan 10
    ip address 192.168.1.2 255.255.255.0
    !
    interface GigabitEthernet0/48
    switchport trunk encapsulation dot1q
    switchport mode trunk
    !

    nhưng các máy cắm vào cổng 1 và 2 của switch không nhận được IP, nếu đặt IP tĩnh thì cũng không thể ping đến 192.168.1.1 được.
    Vậy mình đã làm sai ở đâu, sửa thế nào?





  • #2
    Em kiểm tra xem kết nối trunk giữa Switch và ASA có chạy chưa?
    Trên switch dùng lệnh
    #show int trunk

    Nếu trunk chưa chạy, em thử chỉ ra native vlan trên kết nối trunk giữa switch và ASA (mặc dù ko cần thiết).

    Ngoài ra, em cần up (enable, no shut) các interface vlan trên ASA, trên switch.

    Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

    Email : dangquangminh@vnpro.org
    https://www.facebook.com/groups/vietprofessional/

    Comment


    • #3
      Cảm ơn bác,
      Interface thì em có dùng lệnh no shutdown rồi. Native vlan thì chưa chỉ. Hôm nay nghỉ làm, đầu tuần sẽ dùng lệnh show int trunk xem nếu có gì lại nhờ bác giúp tiếp ạ.

      Comment


      • #4
        Cảm ơn bác Đặng Quang Minh, cho native vlan thì chạy rồi bác.

        Comment

        Working...
        X