cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
214
Views
0
Helpful
2
Replies

Vlan to internet

KristinnGeir
Level 1
Level 1

Hi. I have Catalyst 3560 switch and I need to get from one vlan to the internet.

Router IP: 192.168.1.1 255.255.255.0

Vlan10: 192.168.0.0 255.255.255.0

Need computers on the 192.168.0.0 network to access internet. Thanks.

2 Replies 2

Dennis Mink
VIP Alumni
VIP Alumni

most definitely possible,  on the machines in VLAN 10, point to 192.168.1.1  as the default gateway  and perform NAT on the router  (so everything sourcing 192.168.1.0/24 will NAT into the public IP address of your router.

thats it really

Please remember to rate useful posts, by clicking on the stars below.

Shawnw4401
Level 1
Level 1

Kristinn,

It's possible. Here is an example of what the configuration should look like inside the router:

Interface GigabitEthernet 0/0: <--- facing WAN connectivity
ip address dhcp
ip nat outside 

Interface GigabitEthernet 0/1 <-- facing LAN connectivity
no ip address
ip nat inside
Interface GigabitEthernet 0/1.10
encapsulation dot1q 10
ip address 192.168.0.1 255.255.255.0
ip nat inside

access-list 10 permit 192.168.0.0 0.0.255.255
ip nat inside source list 10 interface GigabitEthernet 0/0 overload
ip route 0.0.0.0 0.0.0.0 dhcp

Review Cisco Networking for a $25 gift card