cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
831
Views
0
Helpful
4
Replies

Vlan No Internet

elliotmollman
Level 1
Level 1

Hi, I have 2 vlans, vlan 1 (default) and vlan 2, each with a separate ethernet connection to a router. hat might sound strange but I'm not trunking today. vlan 1 has an ip of 192.168.1.160 and is connected directly to my home router 192.168.1.1.   Then my home router is connected to a secondary router on port 0/0 192.168.1.22.  Then, my 0/1 port on the secondary router has an ip of 192.168.100.1 and is connected to my vlan 2 on my switch. I gave the vlan an ip address of 192.168.100.3

After initial configuration, the secondary router can ping the main router, google.com, and both vlan ip's. The switch can also ping the secondary router. I created a access-list, and route table so that the switch's packets should be forwarded to the main router. Dhcp is also configured on both devices. I have not configured anything on my home router because of, violation of service? The switch is a layer 3 device. my vlan 1 is the default and has direct access to my main router and it has internet, but any pc on vlan 2 hooked up to my secondary router does not. 

The pc values for the ip scheme on vlan 2 are as follows; ip address 192.168.100.x, default gateway 192.168.100.1(the secondary router, and default mask is 255.255.255.0

I will try to give a good summary of the config I have, any help would be much appreciated. 

Switch config below:

elliotmollman_0-1699740442586.png

elliotmollman_1-1699740515150.png

 

Secondary router config below:

elliotmollman_2-1699740601899.pngelliotmollman_3-1699740650900.png

1 Accepted Solution

Accepted Solutions

Sorry, I forgot there was another switch after the router, so it only has 1 interface 192.168.1.0

elliotmollman_0-1699742869217.png

 

View solution in original post

4 Replies 4

Can you draw topolgy 

Thanks A Lot
MHM

Hope this helps

elliotmollman_0-1699742259204.png

 

Home router have two interface in same subnet 192.168.1.x 

That not work.

Sorry, I forgot there was another switch after the router, so it only has 1 interface 192.168.1.0

elliotmollman_0-1699742869217.png