06-21-2023 04:21 AM - edited 06-21-2023 04:23 AM
interface Vlan170
ip address 172.23.7.1 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.17.17.1
ip http server
ip http secure-server
I created the Vlan recently, whenever I connect to that particular port which is an assigned under vlan 170 , i am not getting internet access? what is the reason and i am missing something here.Please help
when i am connecting i am not getting ip address from that particular port.
Solved! Go to Solution.
06-21-2023 04:51 AM
If DHCP is okay and the vlan 170 clients are getting proper IP, GW and DNS than NAT also can be an issue. if the new network is not NATed than Internet will not work. (whenever there is a limiting acl is on the router)
06-21-2023 05:10 AM
we had a firewall.
06-21-2023 05:11 AM
i think the DHCP is not ok because i will show you something.
CORE_SWITCH#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 172.17.17.1 to network 0.0.0.0
172.17.0.0/24 is subnetted, 6 subnets
C 172.17.26.0 is directly connected, Vlan150
C 172.17.21.0 is directly connected, Vlan110
C 172.17.20.0 is directly connected, Vlan140
C 172.17.23.0 is directly connected, Vlan100
C 172.17.22.0 is directly connected, Vlan160
C 172.17.17.0 is directly connected, Vlan130
172.20.0.0/24 is subnetted, 1 subnets
C 172.20.25.0 is directly connected, Vlan120
172.23.0.0/24 is subnetted, 1 subnets
C 172.23.7.0 is directly connected, Vlan170
S* 0.0.0.0/0 [1/0] via 172.17.17.1
CORE_SWITCH#
06-21-2023 06:23 AM
What is relate of dhcp with default route? Can you more elaborate
Thanks
MHM
06-22-2023 03:00 AM
In the ip route its showing s* , which means static , so I am puzzled
06-22-2023 03:47 AM
But I check SW config you share there is default route, so what you see correct.
06-22-2023 04:24 AM
noted
06-22-2023 03:52 AM
So this point os staitc route clear
Now
Add new vlan
There are some points must check
1-are host get correct İp from dhcp
2-are fw have route to this new vlan subnet
3-are fw include this new vlan subnet in it Nating acl
Only these points check and issue will solve
06-22-2023 05:52 AM
1-are host get correct İp from dhcp (not getting )
2-are fw have route to this new vlan subnet (firewall has new vlan subnet)
3-are fw include this new vlan subnet in it Nating acl (how to add this )
06-22-2023 06:50 AM
i haven't setup the routing inside the vlan
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