Difference between revisions of "Cisco: Bridge - dengan NAT"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "==Konfigurasi== bridge irb !-- This command enables the IRB feature on this router. interface Ethernet1/0 no ip address no ip directed-broadcast bridge-group 1 no sh...")
 
Line 36: Line 36:
 
  interface BVI1
 
  interface BVI1
 
  ip address 10.10.10.1 255.255.255.0
 
  ip address 10.10.10.1 255.255.255.0
 +
ip nat inside
 
  !-- An ip address is assigned to the logical BVI for routing
 
  !-- An ip address is assigned to the logical BVI for routing
  

Revision as of 09:07, 24 December 2018

Konfigurasi

bridge irb
!-- This command enables the IRB feature on this router.

interface Ethernet1/0
no ip address
no ip directed-broadcast
bridge-group 1
no shutdown
!-- The interface E1/0 is in bridge-group 1.

Interface Ethernet1/1
no ip address
no ip directed-broadcast
bridge-group 1
no shutdown
!-- The interface E1/1 is in bridge-group 1.

interface Ethernet1/2
no ip address
no ip directed-broadcast
bridge-group 1
no shutdown
!-- The interface E1/2 is in bridge-group 1.
 
interface FastEthernet 0/0
 ip address 192.168.122.100 255.255.255.0
 ip address 192.168.122.101 255.255.255.0 secondary
 ip address 192.168.122.102 255.255.255.0 secondary
 ip nat outside
 no shutdown
ip route 0.0.0.0 0.0.0.0 192.168.122.1 

!
interface BVI1
ip address 10.10.10.1 255.255.255.0
ip nat inside
!-- An ip address is assigned to the logical BVI for routing
!
!
bridge 1 protocol ieee
!-- This command enables the bridging on this router.
bridge 1 route ip
!-- This command enable bridging as well routing for IP protocol.

end


Pranala Menarik