আপনার নেটওয়ার্কিং ক্যারিয়ার শুরু হোক BASIC NETWORKING AND MikroTik TRAINING কোর্সের মাধ্যমে। কোর্স ফি মাত্র ৫০০০ টাকা। ক্লাস শুরু আগামী ০৭ জুলাই ২০২৩। CCNA ও CCNP কোর্সের মাধ্যমে নেটওয়ার্কিং ক্যারিয়ার গড়ুন। কোর্স ফি: ১৫,০০০/- (ঈদের আগে এডমিশনে ১৩,০০০/-)। ক্লাস শুরু আগামী মাসের প্রথম শুক্রবার।
IT Bangladesh 1 IT Bangladesh 2 IT Bangladesh 3 IT Bangladesh 4 IT Bangladesh 5 IT Bangladesh 6 IT Bangladesh 7 IT Bangladesh 8 IT Bangladesh 9 IT Bangladesh 10 IT Bangladesh 11 IT Bangladesh 12 IT Bangladesh 13 IT Bangladesh 14 IT Bangladesh 15 IT Bangladesh 16 IT Bangladesh 17 IT Bangladesh 18 IT Bangladesh 19 IT Bangladesh 20 IT Bangladesh 21 IT Bangladesh 22 IT Bangladesh 23 IT Bangladesh 24 IT Bangladesh 25 IT Bangladesh 26 IT Bangladesh 27 IT Bangladesh 28 IT Bangladesh 29 IT Bangladesh 30 IT Bangladesh 31 IT Bangladesh 32 IT Bangladesh 33 IT Bangladesh 34 IT Bangladesh 35 IT Bangladesh 36 IT Bangladesh 37 IT Bangladesh 38 IT Bangladesh 39 IT Bangladesh 40 IT Bangladesh 41 IT Bangladesh 42 IT Bangladesh 43 IT Bangladesh 44 IT Bangladesh 45 IT Bangladesh 46 IT Bangladesh 47 IT Bangladesh 48 IT Bangladesh 49

LAB Practice: Internet Access with GRE Tunnel between HO and BR (Part-2)

 


In the previous part of this lab, we established a GRE tunnel between the Head Office (HO) and Branch Office (BR). In Part-2, we will extend the setup to provide Internet access to both offices through the GRE tunnel. This setup is essential for simulating real-world scenarios where branch offices access external resources through a central office.



Lab Objectives

1. Enable internet access for both HO and BR through GRE tunnel.


2. Configure routing to ensure traffic is properly forwarded to the Internet.


3. Test connectivity using ping and traceroute commands.





Network Topology

Here is the simplified network topology for this lab:

[HO Router] --------GRE Tunnel-------- [BR Router]
       |                                    |
    Internet                              Branch LAN

HO Router: Connected to Internet.

BR Router: Connected to Branch LAN, traffic routed via GRE tunnel to HO.




Configuration Steps

1. Configure NAT on HO Router

To allow the BR office to access the Internet, NAT (Network Address Translation) must be enabled on the HO router.

interface Gig0/0
 ip address 203.0.113.1 255.255.255.0
 ip nat outside

interface Tunnel0
 ip address 10.0.0.1 255.255.255.0
 ip nat inside

ip access-list standard NAT_ACL
 permit 10.0.0.0 0.0.0.255

ip nat inside source list NAT_ACL interface Gig0/0 overload

> Explanation:

ip nat inside is applied on tunnel interface.

ip nat outside is applied on the public interface connected to Internet.

overload allows multiple internal IPs to use a single public IP.






2. Configure Default Route on BR Router

The branch router must send all Internet-bound traffic through the GRE tunnel.

ip route 0.0.0.0 0.0.0.0 10.0.0.1

> Explanation:
All unknown traffic (0.0.0.0/0) from BR router will be forwarded to HO via the GRE tunnel.





3. Test Connectivity

After configuration, verify Internet access:

ping 8.8.8.8
traceroute 8.8.8.8

Successful ping confirms Internet connectivity.

Traceroute shows traffic passing through HO Router.




Troubleshooting Tips

1. Ping fails:

Check GRE tunnel status with show ip interface brief.

Verify NAT configuration on HO router.



2. Routing issues:

Ensure default route on BR points to GRE tunnel IP of HO.



3. Internet access slow or unstable:

Verify bandwidth and tunnel stability.



Conclusion

By completing Part-2 of this lab, we have successfully provided Internet access to branch office through a GRE tunnel. This is a common setup in enterprise networks where remote offices rely on central sites for external connectivity.

Next steps could include VPN encryption, advanced NAT policies, and dynamic routing protocols over the GRE tunnel for better scalability.






Tahasin Ahammed

একটি মন্তব্য পোস্ট করুন

নবীনতর পূর্বতন