cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
937
Views
0
Helpful
3
Replies

SF300-48 cant able to internet port

i have a Cisco SF300-48, i configured in L3,

 

i configure a vlan 5 (192.168.5.1 255.255.255.0)

and a vlan 10 (192.168.10.1 255.255.255.0)

 

Fasehternet 2 is a PC in vlan 10 whit access mode

and Gigabiteethernet 1 is the routher of internet, in mode trunk or access,

 

how i get internet in vlan 10??

 

dont work:

route 0.0.0.0 0.0.0.0 192.168.5.1

route 0.0.0.0 0.0.0.0 192.168.0.1 (enlace internet)

 

3 Replies 3

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

You need to configure Gi1 as:

!
int gi1
  switchport mode access
  switchport access vlan 10
!

Your PC connected on VLAN10 should have the following route configured (via DHCP?):

0.0.0.0 0.0.0.0 192.168.5.1

 

The problem you are going to encounter is getting the router to route packets back to VLAN5 via your SG300 (192.168.10.1) .

Since the SG does not do NAT, you will need to configure a static route on the router:

ip route 192.168.5.0 255.255.255.0 192.168.10.1

 

cheers,

Seb.

NAT es necesario para tener internet en cualquier vlan?

but when i run comand: 

ip route 192.168.5.0 255.255.255.0 192.168.10.1

 

The routher say: Gateway cannot be one of the addresses configured on this device.

same case on this comand: 

0.0.0.0 0.0.0.0 192.168.5.1

 

So, this device (SF300-48) cant have vlans able to internet?

Hi there,

The route command I provided was for the router connected to the internet.

 

As the SG300 can't do NAT, unless you can configure static routes on your internet router you will not be able to have any more subnets than 192.168.0.0/24 .

 

If you can't configure static routes then you will need another device (router of firewall) to provide the NAT function for VLANs 5 and 10.

 

cheers,

Seb.