10-11-2022 04:49 AM - edited 10-11-2022 05:00 AM
Hi every one i make this topology i can ping from both ISP R1 and from R1 can ping every where, here my question from both PC i can ping only this ip address 172.16.0.0/24 and 172.16.1.0/24 i can't ping ISP ip add. this one my topology
config on ISP1
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Ethernet0/0
description TO-R1
ip address 10.10.10.1 255.255.255.0
duplex auto
!
interface Ethernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
config from ISP2
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Ethernet0/0
description To-R1
ip address 11.11.11.1 255.255.255.0
duplex auto
!
interface Ethernet0/1
ip address 192.168.1.2 255.255.255.0
duplex auto
config switch
interface Ethernet0/0
switchport trunk allowed vlan 101,102
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Ethernet0/1
switchport trunk allowed vlan 203,204
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Ethernet0/2
switchport access vlan 203
switchport mode access
!
interface Ethernet0/3
switchport access vlan 204
switchport mode access
!
interface Ethernet1/0
!
interface Ethernet1/1
!
interface Ethernet1/2
switchport access vlan 102
switchport mode access
!
interface Ethernet1/3
switchport access vlan 101
switchport mode access
config router
vrf definition ISP1
!
address-family ipv4
exit-address-family
vrf definition ISP2
!
address-family ipv4
exit-address-family
!
Solved! Go to Solution.
10-11-2022 09:10 PM
here i made mistake after this i able ping every where i delete my ip nat outside/inside and typed ip nat enable
``
interface Ethernet0/0.101
description TO-ISP1
encapsulation dot1Q 101
vrf forwarding ISP1
ip address 10.10.10.2 255.255.255.0
no ip redirects
ip nat outside [ip nat enable]
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
!
interface Ethernet0/0.102
description TO-ISP2
encapsulation dot1Q 102
vrf forwarding ISP2
ip address 11.11.11.2 255.255.255.0
no ip redirects
ip nat outside [ip nat enable]
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
!
interface Ethernet0/1
no ip address
no ip redirects
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
duplex auto
!
interface Ethernet0/1.203
description USER
encapsulation dot1Q 203
ip address 172.16.0.1 255.255.255.0
no ip redirects
ip nat inside [ip nat enable]
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
!
interface Ethernet0/1.204
description USER
encapsulation dot1Q 204
ip address 172.16.1.1 255.255.255.0
no ip redirects
ip nat inside [ip nat enable]
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
``
10-11-2022 05:05 AM
you config two VRF one for each ISP, and LAN is in GRT (global routing table)
so first you need static route between GRT and VRF
second I see track and I think also you config IP SLA so you also need IP SLA to be VRF aware.
10-11-2022 08:18 AM
so first you need static route between GRT and VRF
you mean i should configure static route between ISP and R1?
10-11-2022 06:14 AM
Hello
The rtr needs to be able to route between VRF tables and the GRT of the lan subnets, try the following:
ip route vrf ISP1 172.16.0.0 255.255.255.0 eth0/1.23 global
ip route vrf ISP1 172.16.1.0 255.255.255.0 eth0/1.24 global
ip route vrf ISP2 172.16.0.0 255.255.255.0 eth0/1.23 global
ip route vrf ISP2 172.16.1.0 255.255.255.0 eth0/1.24 global
10-11-2022 08:16 AM
i try your option, here mistake
R1(config)#ip route vrf ISP1 172.16.0.0 255.255.255.0 ethernet0/1.203
% For VPN or topology routes, must specify a next hop IP address if not a point-to-p
oint interface
R1(config)#
R1(config)#ip route vrf ISP1 172.16.1.0 255.255.255.0 ethernet 0/1.204 ?
<1-255> Distance metric for this route
A.B.C.D Forwarding router's address
DHCP Default Gateway obtained from DHCP
multicast multicast route
name Specify name of the next hop
permanent permanent route
tag Set tag for this route
track Install route depending on tracked item
<cr>
R1(config)#ip route vrf ISP1 172.16.1.0 255.255.255.0 ethernet 0/1.204 global
^
% Invalid input detected at '^' marker.
R1(config)#
10-11-2022 11:20 AM
Hello
I had a feeling the rtr would complain about no nexthop so specify host as next hop it should then be accepted
10-11-2022 08:51 AM
appropriate for your support i found solution tomorrow i will share
10-11-2022 08:23 AM - edited 10-11-2022 08:24 AM
I will check the config and send update
10-11-2022 08:30 AM
Router doesn't accept this command
10-11-2022 08:30 AM
by the way i have like this route on R1
ip route vrf ISP1 0.0.0.0 0.0.0.0 10.10.10.1
ip route vrf ISP2 0.0.0.0 0.0.0.0 11.11.11.1
10-11-2022 08:51 AM
appropriate for your support i found solution tomorrow i will share answer
10-11-2022 08:58 AM
glad your issue is solved.
good luck friend.
10-11-2022 09:10 PM
here i made mistake after this i able ping every where i delete my ip nat outside/inside and typed ip nat enable
``
interface Ethernet0/0.101
description TO-ISP1
encapsulation dot1Q 101
vrf forwarding ISP1
ip address 10.10.10.2 255.255.255.0
no ip redirects
ip nat outside [ip nat enable]
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
!
interface Ethernet0/0.102
description TO-ISP2
encapsulation dot1Q 102
vrf forwarding ISP2
ip address 11.11.11.2 255.255.255.0
no ip redirects
ip nat outside [ip nat enable]
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
!
interface Ethernet0/1
no ip address
no ip redirects
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
duplex auto
!
interface Ethernet0/1.203
description USER
encapsulation dot1Q 203
ip address 172.16.0.1 255.255.255.0
no ip redirects
ip nat inside [ip nat enable]
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
!
interface Ethernet0/1.204
description USER
encapsulation dot1Q 204
ip address 172.16.1.1 255.255.255.0
no ip redirects
ip nat inside [ip nat enable]
ip virtual-reassembly in drop-fragments
ip virtual-reassembly out drop-fragments
``
10-12-2022 12:12 AM
Hello
what you are using is NVI nat (domainless)
This is indeed is used for vrf nat - the nvi interface it creates is used for nat traffic as such no nat domains (inside:outside) or route leaking between vrf/grt is required
TBH i didn’t suggest this as the assumption was you were using PT simulation which i’m on the understanding it isnt supported - anyway thanks for sharing your solution.
10-12-2022 02:13 AM
yes i also read about it on internet
Kind Regards
Parvin
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide