OSPF dan NAT
15
Aug 2024
GATEWAY :
#host GATEAWY
#int e0/1
#no shutdwonn
#ip dhcp client
#int0/0
#no shutdown
#ip address 10.10.10.1 255.255.255.0
Default route
#ip route 0.0.0.0 0.0.0.0 10.0.137.1
#ip name-serves 8.8.8.8
#route ospf 10
#net 10.10.10.0 0.0.0.255 area 0
#redistribute static subnets
#redistribute conected
#default-information originate always
#access-list 1 pemit any
#ip nat inside source list 1 interface e1/1 overload
#int e1/1
#ip nat outside
#int e0/0
#ip nat inside
==========Masing-masing Router==========
- Konfig ip
- Konfig ospf
- Konfig dns : ip name-server 8.8.8.8
- Tidak menambahkan konfigurasi no ip domain-lookup
Pengecekan
- sh ip route >>> menampilkan table routing
- ping 8.8.8.8 >>> !!!!! menandakan sukses
Permasalahan
- Tidak dapat ip dhcp client >> matikan VM dan cek nat