I have configured BGP for routing and NAT for HQ and Branch. I can ping from windows / server to public IP and also Linux Mint ping to public IP. but, I cannot ping / communicate between network HQ to Branch and Branch cannot ping / communicate to network HQ. Is it necessary to configure something in R2 / R3 or may it be necessary to configure R1.
Btw, for the NAT I follow https://www.geeksforgeeks.org/types-of-network-address-translation-nat/ for PAT configuration. Thank you.
Windows Server: DHCP server
Ubuntu: Web Server
R2/HQ Router:
interface FastEthernet0/0
no ip address
speed auto
duplex full
!
interface FastEthernet0/0.22
encapsulation dot1Q 22
ip address 192.168.27.129 255.255.255.248
ip nat inside
!
interface FastEthernet0/0.100
encapsulation dot1Q 100
ip address 192.168.27.1 255.255.255.192
ip helper-address 192.168.27.130
ip helper-address 192.168.27.131
ip nat inside
!
interface FastEthernet0/1
no ip address
shutdown
speed auto
duplex auto
!
interface Serial1/0
ip address 200.200.10.2 255.255.255.0
ip nat outside
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 3001
bgp router-id 2.2.2.2
bgp log-neighbor-changes
network 192.168.27.0 mask 255.255.255.192
network 192.168.27.128 mask 255.255.255.248
network 200.200.10.0
neighbor 200.200.10.1 remote-as 3000
!
ip nat inside source list 1 interface Serial1/0 overload
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
access-list 1 permit 192.168.27.0 0.0.0.63
access-list 1 permit 192.168.27.128 0.0.0.7
R3/Branch Router
interface FastEthernet0/0
no ip address
speed auto
duplex full
!
interface FastEthernet0/0.200
encapsulation dot1Q 200
ip address 192.168.27.65 255.255.255.192
ip helper-address 192.168.27.130
ip helper-address 192.168.27.131
ip nat inside
!
interface FastEthernet0/1
no ip address
shutdown
speed auto
duplex auto
!
interface Serial1/0
ip address 200.200.20.2 255.255.255.0
ip nat outside
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 3002
bgp router-id 3.3.3.3
bgp log-neighbor-changes
network 192.168.27.64 mask 255.255.255.192
network 200.200.20.0
neighbor 200.200.20.1 remote-as 3000
!
ip nat inside source list 1 interface Serial1/0 overload
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
access-list 1 permit 192.168.27.64 0.0.0.63
R1/ISP Router
interface Serial1/0
ip address 200.200.10.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/1
ip address 200.200.20.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 3000
bgp router-id 1.1.1.1
bgp log-neighbor-changes
network 200.200.10.0
network 200.200.20.0
neighbor 200.200.10.2 remote-as 3001
neighbor 200.200.20.2 remote-as 3002