cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3673
Views
7
Helpful
39
Replies

I created a Vlan. But its saying no internte access

Flebin joy
Level 1
Level 1

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. 

39 Replies 39

mr.richardb
Level 1
Level 1

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)

we had a firewall.

flebinjoy_1-1687349466071.png

 

 

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#

What is relate of dhcp with default route? Can you more elaborate 

Thanks 

MHM

In the ip route its showing s* , which means static , so I am puzzled

 

 

But I check SW config you share there is default route, so what you see correct. 

noted

 

 

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 

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 )

 

i haven't setup the routing inside the vlan