• 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.

NVI0 interface, NAT khong chay theo interface thu 2

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

  • NVI0 interface, NAT khong chay theo interface thu 2

    Chao ae, toi co mo hinh the nay: Router 1840 noi voi 2 Leased line Fiber

    interface GigabitEthernet0/0
    description $ETH-WAN$
    ip address x.x.x.x 255.255.255.252
    ip access-group 101 in
    ip nat outside
    ip virtual-reassembly
    duplex auto
    speed auto

    interface FastEthernet0/0/0
    description $ETH-WAN$
    ip address a.b.c.d 255.255.255.252
    ip access-group 101 in
    ip nat outside
    ip virtual-reassembly
    duplex auto
    speed auto

    --------------

    ip nat inside source list 100 interface FastEthernet0/0/0 overload
    ip nat inside source list NAT interface GigabitEthernet0/0 overload

    ip route 0.0.0.0 0.0.0.0 Fast0/0/0
    ip route 0.0.0.0 0.0.0.0 Giga0/0 20


    Van de la binh thuong thi tracert goi tin van di qua Fast0/0/0, nhung bang thong di qua tren Giga0/0 la chu yeu
    Khi shutdown Giga0/0, thi tren router van tracert ra qua Fast, nhung tren PC thi khong ra internet duoc. Neu remove dong lenh ip nat inside source list NAT interface GigabitEthernet0/0 overload thi PC access internet binh thuong.

    Van de la khi sh ip int brie thi co them Interface NVI0, thong tin cu the nhu sau


    NVI0 is up, line protocol is up
    Hardware is NVI
    Interface is unnumbered. Using address of Giga0/0(x.x.x.x)
    MTU 1514 bytes, BW 10000000 Kbit/sec, DLY 0 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation UNKNOWN, loopback not set
    Last input never, output never, output hang never
    Last clearing of "show interface" counters 04:46:27
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    0 packets input, 0 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    0 packets output, 0 bytes, 0 underruns
    0 output errors, 0 collisions, 0 interface resets
    0 unknown protocol drops
    0 output buffer failures, 0 output buffers swapped out

    - Vay anh em nao co the cho biet NVI0 co vai tro gi trong truong hop nay, tai sao lai co them Int NVI0?

    - Lam sao de khi shutdown Giga0/0 (hoac ket noi nay down) thi traffic se di qua duong Fast0/0/0?lt

    Note: Mac du default oute qua interface Giga0/0 AD 20, nhung traffic van luon di qua duong nay nhieu hon.

    Cam on nhieu!
    Last edited by manhht; 21-06-2011, 06:39 PM.
    Ho Tuan Manh
    tuan_manh2001@yahoo.com

  • #2
    Chào bạn,

    Tham khảo thảo luận sau
    Phạm Minh Tuấn

    Email : phamminhtuan@vnpro.org
    Yahoo : phamminhtuan_vnpro
    -----------------------------------------------------------------------------------------------
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
Tel : (08) 35124257 (5 lines)
Fax: (08) 35124314

Home page: http://www.vnpro.vn
Support Forum: http://www.vnpro.org
- Chuyên đào tạo quản trị mạng và hạ tầng Internet
- Phát hành sách chuyên môn
- Tư vấn và tuyển dụng nhân sự IT
- Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

Network channel: http://www.dancisco.com
Blog: http://www.vnpro.org/blog

Comment


  • #3
    Chào a Tuấn,
    Cho tôi hỏi thêm 2 vấn đề:
    - Với cấu hình hiên tại thì vấn đề tôi gặp phải là traffic vẫn đi qua Giga0/0, vi nó map với NVI0, vậy khi chuyển qua NAT với Route-map thi NVI0 có shutdown hay không, và nếu không thì làm sao disable interface NVI0 này?
    - Tôi dùng leasedline cáp quang, khi quang rớt, thì vẫn Ping thấy đầu kết nối bên kia, vì lúc đó traffic sẽ chạy theo đường thư 2, vậy với cách kiểm tra track trong bài Lab, co giải quyết đựơc vấn đề này không?

    Cảm ơn!
    Ho Tuan Manh
    tuan_manh2001@yahoo.com

    Comment


    • #4
      NVI0 được tạo ra trên router dùng NAT, bạn không thể vào interface này,cũng ko thể shutdown được, NVI không support trong route-map.Bạn có thể nói rỏ hơn phần cấu hình default route và Nat ở trên ko.

      The NAT Virtual Interface feature allows all NAT traffic flows on the virtual interface, eliminating the need to specify inside and outside domains. When a domain is specified, the translation rules are applied either before or after route decisions depending on the traffic flow from inside to outside or outside to inside. The translation rules are applied only after the route decision for an NVI.

      When a NAT pool is shared for translating packets from multiple networks connected to a NAT router, an NVI is created and a static route is configured that forwards all packets addressed to the NAT pool to the NVI. The standard interfaces connected to various networks will be configured to identify that the traffic originating and receiving on the interfaces needs to be translated.

      Ban tham khao : http://www.cisco.com/en/US/docs/ios/...e/gtnatvi.html
      Hugo

      Comment


      • #5
        Cảm ơn thông tin của thanhnam.
        Sau khi doi Interface Giga / sang interface Fast, thi NVI0 không còn nữa. Vấn đề route qua đương còn lai khi môt đường down đang test (mot line bi down roi nen khong test dc)
        Ho Tuan Manh
        tuan_manh2001@yahoo.com

        Comment

        • Working...
          X