cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1128
Views
15
Helpful
6
Replies

Connecting BGP network to internet (Require Help)

Ardhiannash
Level 1
Level 1

Hi,

im trying to make WAN simulation on GNS3 and connecting the network to internet.

 

Takoken..jpg

 

 

On R1 im using eBGP to connecting AS100 to AS200, and 

OSPF to connect all PC to router on AS100.

im using Overload NAT on R1 but the only one who get the internet is R1.

there is no problem with connecting AS100 to AS200.

here's R1 current config

int fa0/0 to AS200 -> 192.168.10.1/30

int fa1/0 to R2 -> 192.168.20.1/30

int fa2/0 to internet -> DHCP/24

 

R1

R1(config)#int fa2/0
R1(config-if)#ip nat outside

*Mar 1 00:01:01.407: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up
R1(config-if)#exit
R1(config)#int fa1/0
R1(config-if)#ip nat inside
R1(config-if)#exit

R1(config)#ip nat pool Nat1 192.168.137.2 192.168.137.2 prefix-length 24

R1(config)#ip nat source list 7 pool nat1 overload
R1(config)#access-list 7 permit 192.168.20.0
R1(config)#access-list 7 permit 192.168.137.0

 

is there any problem with my NAT config? please help me on this problem.

PC1 cant connect to internet.

1 Accepted Solution

Accepted Solutions

Hi all,

In addition to Deepak's comment, here is my observation: The NAT configuration uses ip nat inside and ip nat outside which is the classic form of NAT configuration, yet the translation rule is configured with ip nat source command that is used with a different type of NAT (NVI NAT). That is why NAT does not work here.

Correctly, the translation rule should be configured with ip nat inside source ... command. This will definitely need to be corrected. Try it out! :)

Best regards,
Peter

View solution in original post

6 Replies 6

Deepak Kumar
VIP Alumni
VIP Alumni
Can you share the R1 routing table?

Regards,
Deepak Kumar
Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hi,

Here's my routing table on R1.

Thanks in advance.

takoken2.jpg

HI,
check your nat acl (7). Remove the entry "permit ip 192.168.37.0" and add the new entry with subnet of pc1, pc2. Here you made the mistake in acl configuration.

Regards,
Deepak Kumar
Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hi all,

In addition to Deepak's comment, here is my observation: The NAT configuration uses ip nat inside and ip nat outside which is the classic form of NAT configuration, yet the translation rule is configured with ip nat source command that is used with a different type of NAT (NVI NAT). That is why NAT does not work here.

Correctly, the translation rule should be configured with ip nat inside source ... command. This will definitely need to be corrected. Try it out! :)

Best regards,
Peter

i tried the IP nat inside source.....

and it's works. PC1 now can connect to internet without any problem.

Thanks you.

Jose Lopez
Level 1
Level 1

change that   R1(config)#ip nat source list 7 pool nat1 overload

For this   R1(config)#ip nat inside source list 7 pool Nat1 overload

 

 

Review Cisco Networking for a $25 gift card